[Python] Unable to connect to the mcp server from the mcp inspector

Discussão em 'Python' iniciado por Stack, Setembro 3, 2025.

  1. Stack

    Stack Membro Participativo

    Initially when I tried to run the command mc dev server.py I got an error stating install node.js, after installing node.js in my windows machine I tried running the cmd again, and I could see the mcp inspector web page automatically opening on my default browser. But now when I click connect it shows connection error. my mcp inspector page

    And in the terminal I see this "Error from MCP server: SyntaxError: Unexpected token 'E', "Error: typ"... is not valid JSON" The actual output in the terminal is too long , so I pasted the necessary line.

    I have tried rerunning the command but I keep getting the same problem

    Continue reading...

Compartilhe esta Página