Skip to content

mcp-server logs to stdout causing JSON parsing errors with MCP clients #46

@ChristianConato

Description

@ChristianConato

Hello cheqd team,

I am trying to use the mcp-toolkit with an MCP client (Anthropic's Claude) and I'm running into a communication issue. The mcp-server prints informational logs to stdout, which violates the MCP specification requiring stdout to be used exclusively for JSON-RPC messages. This causes the client to fail when trying to parse the non-JSON output.
I particular the error is:

Image

Environment

  • Operating System: Windows
  • Client: Anthropic Claude
  • mcp-toolkit version: Cloned from the main branch on 2025-06-22
  • I'm using the docker method

Steps to Reproduce:

  1. Clone the repository: git clone https://github.com/cheqd/mcp-toolkit.git
  2. Set up the claude_desktop_config.json for the client to run the server via Docker Compose using the following code fragment

"cheqd": { "command": "docker", "args": [ "compose", "-f", "/path/to/repo/mcp-toolkit/docker/docker-compose.yml", "run", "--rm", "-p", "3000:3000", "--name", "faber", "-T", "mcp-server" ] }

Thank you for your work on this great toolkit!

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions