MCP Configuration

The Model Context Protocol (MCP) lets Claude Code connect to external tools and data sources through lightweight servers. The team runs a standard set of MCP servers to extend what Claude can do during a session.

What is MCP

MCP servers expose tools (actions Claude can call) and resources (data Claude can read). They run as local processes or remote endpoints and communicate with Claude Code over stdio or HTTP.

Recommended servers

ServerPurposeInstall
@anthropic/mcp-filesystemRead and write files with permissionsnpm i -g @anthropic/mcp-filesystem
@anthropic/mcp-githubInteract with GitHub repos, PRs, issuesnpm i -g @anthropic/mcp-github
@anthropic/mcp-fetchMake HTTP requestsnpm i -g @anthropic/mcp-fetch
@anthropic/mcp-memoryPersistent key-value memorynpm i -g @anthropic/mcp-memory

Configuration file

MCP servers are declared in .claude/mcp.json at the project root or ~/.claude/mcp.json for global configuration.

{
  "mcpServers": {
    "filesystem": {
      "command": "npx",
      "args": ["-y", "@anthropic/mcp-filesystem", "--root", "."]
    },
    "github": {
      "command": "npx",
      "args": ["-y", "@anthropic/mcp-github"],
      "env": {
        "GITHUB_TOKEN": "${GITHUB_TOKEN}"
      }
    },
    "fetch": {
      "command": "npx",
      "args": ["-y", "@anthropic/mcp-fetch"]
    }
  }
}

Environment variables

Some servers need credentials passed through environment variables. Store tokens in your shell profile or .envrc (never commit them) and reference them with ${VAR} syntax in the config.

Troubleshooting

SymptomLikely causeFix
Server does not startMissing Node.js or npxEnsure Node 18+ is installed
"Permission denied" errorsFilesystem server root too narrowWiden the --root path
GitHub tools failInvalid or expired tokenRegenerate GITHUB_TOKEN
Slow responsesServer process crashed silentlyRestart Claude Code session

Tips

  • Start with the filesystem and GitHub servers — they cover most workflows.
  • Add servers incrementally; each one increases startup time slightly.
  • Use project-level config (.claude/mcp.json) so the setup is shared across the team.