MCP servers for Claude Code
Claude Code adds an MCP server with one command: claude mcp add. Run the command from a terminal; add --scope user if you want a server available in every project rather than just the current one. Hosted servers (marked with a URL below) use --transport http instead of a local process and open a browser tab for OAuth on first use.

claude mcp add context7 -- npx -y @upstash/context7-mcp
Works unauthenticated on a low rate limit. Add --api-key <key> (free, from context7.com/dashboard) for higher limits.

claude mcp add supabase -e SUPABASE_ACCESS_TOKEN=<token> -- npx -y @supabase/mcp-server-supabase@latest --read-only --project-ref=<project-ref>
Needs a Supabase personal access token. Drop --read-only only once you actually want the agent applying migrations.
claude mcp add --transport http posthog https://mcp.posthog.com/mcp
Hosted by PostHog. It asks for a PostHog personal API key the first time a tool call runs.

claude mcp add brave-search -e BRAVE_API_KEY=<key> -- npx -y @brave/brave-search-mcp-server
Needs a Brave Search API key. Brave removed the always-free tier in 2026; a new key starts on metered billing.

claude mcp add filesystem -- npx -y @modelcontextprotocol/server-filesystem /path/to/allowed/directory
Every path you list becomes readable and writable by the agent. Only list directories you mean to hand over.
claude mcp add github -e GITHUB_PERSONAL_ACCESS_TOKEN=<token> -- docker run -i --rm -e GITHUB_PERSONAL_ACCESS_TOKEN ghcr.io/github/github-mcp-server
Needs Docker running locally and a GitHub personal access token with repo scope.

claude mcp add playwright -- npx @playwright/mcp@latest
First run downloads a Chromium build via Playwright. No API key.
claude mcp add postgres -e DATABASE_URI=<connection-string> -- uvx postgres-mcp --access-mode=restricted
Needs uv/uvx installed and a Postgres connection string. --access-mode=unrestricted allows writes; restricted is read-only.

claude mcp add --transport http sentry https://mcp.sentry.dev/mcp
Hosted by Sentry. First use opens a browser tab for OAuth; no local process to run.

claude mcp add --transport http slack https://mcp.slack.com/mcp
Hosted by Slack, GA since February 2026. A workspace admin has to approve the connection before it works.