This guide explains how to connect MCP servers to Claude Code, addressing common issues related to transport, scope, and configuration files. It details adding remote HTTP servers using commands like `claude mcp add --transport http <name> <url>`, and local stdio servers with commands such as `claude mcp add --transport stdio <name> -- <command>`. The post also covers choosing the correct scope (local, user, project) for server configurations and highlights a common pitfall with `.mcp.json` files where remote entries require a "type": "http" to be recognized. Finally, it provides methods to verify server connections using `claude mcp list` and `/mcp` commands within a session. AI
IMPACT Simplifies integration of external tools and services within the Claude Code development environment.
RANK_REASON How-to guide for integrating a specific tool (Claude Code) with a protocol (MCP).
AI-generated summary · Google Gemini · from 1 sources. How we write summaries →