pipe-cd / pipe-cd/docs-mcp-server

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

Open
#55 4 comments 1 reaction 1 assignee View on GitHub

@skmahe1077 is already working on this.

Since Apr 9, 2026.

Dominant language
TypeScript
Stars
7
Forks
4
Avg merge
2d 4h
Merged PRs (30d)
2

Description

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

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.