Skip to content

Demo MCP and others are now failing for #163

@namin

Description

@namin

Describe the bug
I created the demo MCP as in the README, and installed it with mcp install server.py. When I open Claude Desktop, I get the error messages:

2025-01-23T03:49:07.394Z [info] Connected to MCP server Demo!
2025-01-23T03:49:07.764Z [error] Error in MCP connection to server io.livecode.ch: SyntaxError: Unexpected token 'E', "Error: typ"... is not valid JSON
2025-01-23T03:49:07.818Z [error] Error in MCP connection to server Demo: SyntaxError: Unexpected token 'E', "Error: typ"... is not valid JSON
2025-01-23T03:49:07.848Z [info] MCP server Demo disconnected. For troubleshooting guidance, please visit our [debugging documentation](https://modelcontextprotocol.io/docs/tools/debugging)

To Reproduce
Follow the steps in the README for the Demo example. It works perfectly in the inspector but doesn't initialize in Claude.

Desktop:

  • OS: Mac OS X

Additional context
The MCPs based on docker work perfectly and those based on this SDK seem to fail for me.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions