QuestionQ52

Tools and MCPs

You are deciding between STDIO-based and HTTP-based communication for an MCP server. The server will be started by a locally running Claude Code session. Which communication pattern should you use?

Explanation

STDIO is appropriate for a local, process-spawned MCP server: the client launches the server as a subprocess and exchanges JSON-RPC messages through standard input and output. This avoids the unnecessary network endpoint and configuration required by HTTP transport. MCP Transport Specification

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!