claude-code
Model Context Protocol (MCP) servers with Claude Code. These tools dramatically enhance Claude Code's capabilities, allowing it to interact with your filesystem, web browsers, and more.
claude mcp add --transport stdio zebbern-claude-code-mcp npx -y @anthropic-ai/claude-code
How to use
Claude Code MCP server enables Claude to connect to and manage additional capability servers at runtime. This server package acts as the host for MCP servers used by Claude Code, allowing you to expose tools such as filesystem access, GitHub integration, browser automation, database access, API fetching, search, messaging integrations, and more. You register individual MCP servers with Claude Code (for example filesystem, github, puppeteer, postgres, fetch, brave-search, slack, time, memory, thinking) and Claude can spin them up as needed via your configured command. When configured, Claude can issue tool calls through these MCP servers to perform actions like reading and writing local files, querying or updating remote services, automating browser tasks, or running small compute tasks, all within the scope you’ve defined (user, project, or local). The included quick-start examples demonstrate adding commonly used servers via npx commands and configuring environment variables as needed.
To use, install Claude Code globally, then add MCP servers using the claude mcp add commands or edit your .claude.json/.mcp.json project files. Once registered, Claude Code will manage starting and stopping the MCP servers automatically as your prompts require tool-assisted actions. The repository provides example configurations and a recommended set of servers to consider, along with troubleshooting tips for common integration issues.
How to install
Prerequisites:
- Node.js 18 or newer installed on your system
- NPM (comes with Node.js) or corepack enabled
Installation steps:
-
Install Claude Code globally: npm install -g @anthropic-ai/claude-code
-
Verify installation: claude-code --version
or ensure the claude code CLI is available via the claude helper
-
Add MCP servers (examples): claude mcp add filesystem -s user -- npx -y @modelcontextprotocol/server-filesystem ~/Documents ~/Projects claude mcp add github -s user -e GITHUB_TOKEN=your-token -- npx -y @modelcontextprotocol/server-github
-
If you prefer, edit your configuration file directly (e.g., ~/.claude.json or project .mcp.json) to define servers and environment variables, then restart Claude Code to apply changes.
-
Restart Claude Code to pick up new MCP server configurations.
Prerequisites for specific servers may include API keys or tokens; ensure you provide required env vars when configuring each server.
Additional notes
Tips and common considerations:
- Environment variables: Use the env section in your MCP configuration to store sensitive keys (e.g., GITHUB_TOKEN, API keys). Do not commit these to version control.
- Scopes: Choose Local, User, or Project scope when adding MCP servers to control accessibility (personal vs team-shared vs project-scoped tools).
- Protocol/version: If you encounter protocol version errors, ensure you’re using a compatible Claude Code version with the MCP server package and consider wrappers or updating to the latest release.
- Windows path handling: When specifying file paths for MCP servers, prefer forward slashes (C:/path/to/dir) or double backslashes (C:\path\to\dir).
- Debugging: Enable debug mode with claude --mcp-debug, check /mcp in Claude Code for status, and tail log files under your OS-specific log locations for detailed troubleshooting.
- If you encounter server not found errors, verify that the server is registered with Claude Code, that you’re in the correct directory for local scope, and that you have restarted Claude Code after configuration changes.
Related MCP Servers
pilot-shell
The professional development environment for Claude Code. Claude Code is powerful. Pilot Shell makes it reliable. Start a task, grab a coffee, come back to production-grade code. Tests enforced. Context preserved. Quality automated.
octocode
MCP server for semantic code research and context generation on real-time using LLM patterns | Search naturally across public & private repos based on your permissions | Transform any accessible codebase/s into AI-optimized knowledge on simple and complex flows | Find real implementations and live docs from anywhere
ios-simulator-skill
An IOS Simulator Skill for ClaudeCode. Use it to optimise Claude's ability to build, run and interact with your apps, without using up any of the available token/context budget.
claude-codex-settings
My personal Claude Code and OpenAI Codex setup with battle-tested skills, commands, hooks, agents and MCP servers that I use daily.
robloxstudio
Create agentic AI workflows in ROBLOX Studio
kindly-web-search
Kindly Web Search MCP Server: Web search + robust content retrieval for AI coding tools (Claude Code, Codex, Cursor, GitHub Copilot, Gemini, etc.) and AI agents (Claude Desktop, OpenClaw, etc.). Supports Serper, Tavily, and SearXNG.