jan icon indicating copy to clipboard operation
jan copied to clipboard

bug: mcp server failed

Open zx9597446 opened this issue 1 month ago • 3 comments

Version: 0.7.1

Describe the Bug

I'm using https://github.com/ourongxing/newsnow mcp server:

{ "mcpServers": { "newsnow": { "command": "npx", "args": [ "-y", "newsnow-mcp-server" ], "env": { "BASE_URL": "https://newsnow.busiyi.world" } } } }

I've got error:

API request failed with status 500: {"error":{"code":500,"message":"JSON schema conversion failed:\nUnrecognized schema: {"default":10,"description":"count of news to return."}\nUnrecognized schema: {"default":10,"description":"count of news to return."}","type":"server_error"}}

this mcp server work perfect on lm studio with same settings.

Operating System

-Windows

zx9597446 avatar Oct 13 '25 08:10 zx9597446

@zx9597446 did you use the same model over on lm studio side also? It seems like an error caused by sending the wrong JSON format to the MCP (which could caused by model not outputting the correct format instead)

LazyYuuki avatar Oct 15 '25 02:10 LazyYuuki

yes same model. I think it returns array [] instead {} in the top level.

zx9597446 avatar Oct 16 '25 10:10 zx9597446

found response thru mcp-inspect:

{ "content": [ { "type": "text", "text": "Entire Linux Network stack diagram (2024)" }, { "type": "text", "text": "Introduction to reverse-engineering vintage synth firmware" }, { "type": "text", "text": "Novo Nordisk's Canadian Mistake" } ] }

zx9597446 avatar Oct 20 '25 05:10 zx9597446