Skip to content

Fix: console.info writes to stdout breaking MCP stdio transport #55

Description

@skmahe1077

The PipeCD Docs MCP Server currently doesn't work with Claude Desktop and VS Code due to console.info writing to stdout which is reserved for MCP JSON-RPC communication. A fix has been identified and a new release is needed

Problem
The server uses console.info in src/loader.ts (lines 28 and 39) which writes to stdout. Since MCP uses stdout for JSON-RPC communication, Claude Desktop and VS Code fail to connect with:

Unexpected token 'S', "Successful"... is not valid JSON

Image

Impact
Claude Desktop: Fails to connect (strict JSON parsing on stdout)
VS Code: Fails to connect (strict JSON parsing on stdout)
Cursor: Appears to work (likely ignores non-JSON stdout lines)

A new release is needed after the fix for npx @pipe-cd/docs-mcp-server@latest to work with Claude Desktop and VS Code

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions