jan
jan copied to clipboard
bug: mcp server failed
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 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)
yes same model. I think it returns array [] instead {} in the top level.
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" } ] }