Skip to main content
SaaSCity.io
DirectoriesLive LaunchesBlogWrite for UsAdvertise
Submit
Home/Blog/Best MCP Servers for Claude Code in 2026 (+ Exact Setup Commands)
Back to Blog

Build with AI

Best MCP Servers for Claude Code in 2026 (+ Exact Setup Commands)

The MCP servers actually worth connecting to Claude Code — GitHub, Context7, Playwright, databases, and more — with the exact, docs-verified claude mcp commands to add them, a starter stack, and how to keep many servers without blowing up your context.

ghosty
ghosty
Founder, SaaSCity
June 16, 20265 min read
Best MCP Servers for Claude Code in 2026 (+ Exact Setup Commands)
Contents (8)
  1. Key Takeaways
  2. What MCP is (in one paragraph)
  3. The MCP servers worth connecting
  4. Exact setup — the verified commands
  5. Scopes — where the config lives
  6. Keeping many servers without context bloat
  7. Put it to use
  8. FAQ

Quick answer: The MCP servers worth connecting to Claude Code in 2026 are Filesystem, GitHub, Context7, and Playwright as the starter four, plus Supabase/Postgres if you have a database, and Sequential Thinking, Memory, Fetch and Sentry as situational additions. Remote servers install with claude mcp add --transport http <name> <url>; local ones with claude mcp add <name> -- npx -y <package>. Run 4 to 8 at a time, keep tokens in --env, and scope team servers to .mcp.json.

GitHub repository page for github/github-mcp-server, the official GitHub MCP server that gives Claude Code tools for pull requests, issues, code search and repo actions.

Skills make Claude Code consistent. MCP servers make it capable — they connect it to GitHub, your database, a browser, live docs, your error tracker. Connect a server whenever you catch yourself copying data into chat from another tool.

This is the servers-and-setup guide. For how skills and plugins work, see the skills & plugins guide; for project structure, the Claude Code projects hub.

Every claude mcp command below was verified against the official Claude Code MCP docs on 22 June 2026. Where a server's install varies (remote vs local, OAuth), I link its repo for the current exact line rather than risk a stale one.

Key Takeaways

  • Starter four: Filesystem, GitHub, Context7 and Playwright cover file edits, repo work, accurate library docs and real browser verification.
  • Two install shapes: Remote/HTTP uses claude mcp add --transport http <name> <url>; local/stdio uses claude mcp add <name> -- npx -y <package>.
  • Keep the count low: Start with 4 to 8 servers and connect only what you actually use, even though Tool Search lazy-loads tool definitions by default.
  • Scopes decide reach: --scope local is just you, --scope project writes a version-controlled .mcp.json that prompts each teammate for approval, --scope user applies across all your projects.
  • Secrets go in --env: Pass tokens with --env, keeping at least one option between --env and the server name because of a CLI quirk.
  • MCP is client-agnostic: The same server runs in Claude Code, Cursor and other MCP clients; only the registration command differs.
  • Check the source for GitHub and Supabase: Their install lines vary between remote, OAuth and local, so take the current one from github/github-mcp-server and supabase/mcp.

What MCP is (in one paragraph)

The Model Context Protocol is an open standard for connecting AI tools to external systems. An MCP server exposes a system (GitHub, Postgres, a browser) as tools Claude can call. It's client-agnostic — the same server works in Claude Code, Cursor, and other MCP clients. Skills are knowledge; MCP servers are reach.

The MCP servers worth connecting

GitHub repository page for upstash/context7, the MCP server that feeds Claude Code live version-specific library documentation to reduce hallucinated APIs, with its README setup section.

Curated and checked against live GitHub on 22 June 2026.

ServerWhat it doesRepo (stars)
FilesystemSandboxed read/write outside the working dirmodelcontextprotocol/servers (~88k)
GitHubPRs, issues, code search, repo actionsgithub/github-mcp-server (~31k)
Context7Live, version-specific library docs (less hallucination)upstash/context7 (~58k)
PlaywrightReal browser automation + E2E testingmicrosoft/playwright-mcp (~34k)
Supabase / PostgresQuery tables, inspect schema, run migrationssupabase/mcp (~3k)
Sequential ThinkingStructured multi-step reasoningmodelcontextprotocol/servers
MemoryPersistent knowledge graph across sessionsmodelcontextprotocol/servers
FetchLightweight web content fetchingmodelcontextprotocol/servers
SentryPull error stack traces into a sessiongetsentry/sentry-mcp

The honest starter four: Filesystem + GitHub + Context7 + Playwright covers most real coding work — edit files, manage your repo, get accurate library docs, and verify in a real browser. Add Supabase/Postgres if you have a database.

While you are here

Get your SaaS listed on SaaSCity

A permanent listing on the live city map, a DR 64+ dofollow backlink and a launch week in front of founders. Free with a badge, or skip the queue with Quick Pass — live within 24 hours.

Submit your SaaSWhat you get

Exact setup — the verified commands

GitHub repository page for microsoft/playwright-mcp, the Playwright MCP server that lets Claude Code drive a real browser for automation and end-to-end testing.

There are two shapes: remote (HTTP) and local (stdio).

Remote / HTTP server (then authenticate with /mcp if it uses OAuth):

claude mcp add --transport http <name> <url>
# real example from the docs:
claude mcp add --transport http stripe https://mcp.stripe.com

Local / stdio server — everything after -- is the command that runs the server:

# Context7 — live library docs
claude mcp add context7 -- npx -y @upstash/context7-mcp

# Filesystem — give it the path it may touch
claude mcp add filesystem -- npx -y @modelcontextprotocol/server-filesystem ~/projects

# Playwright — browser automation
claude mcp add playwright -- npx @playwright/mcp@latest

# Sequential thinking
claude mcp add sequential-thinking -- npx -y @modelcontextprotocol/server-sequential-thinking

Passing secrets — use --env, and keep at least one option between --env and the name (the CLI quirk):

claude mcp add --env SOME_TOKEN=xxxx --transport stdio myserver -- npx -y some-mcp-server

Complex config — add-json (the type accepts streamable-http as an alias for http):

claude mcp add-json context7 '{"type":"stdio","command":"npx","args":["-y","@upstash/context7-mcp"]}'

Manage them:

claude mcp list            # all servers + status
claude mcp get context7    # details (or ⏸ Pending approval / ✗ Rejected)
claude mcp remove context7

In a session, /mcp shows tool counts per server, lets you authenticate OAuth servers, and reconnects dropped ones (HTTP/SSE auto-reconnect with backoff; stdio doesn't).

For GitHub and Supabase specifically, the current install (remote, OAuth, or local) is best taken from the source — see github/github-mcp-server and supabase/mcp. The claude mcp add shape is the same; only the URL/package differs.

Scopes — where the config lives

  • --scope local (default) — just you, this project.
  • --scope project — writes to a version-controlled .mcp.json so your team gets it. Claude Code prompts each user for approval before using project servers (a security feature; reset with claude mcp reset-project-choices).
  • --scope user — available across all your projects.
claude mcp add --transport http stripe --scope project https://mcp.stripe.com

Keeping many servers without context bloat

  • Tool Search is on by default — Claude Code lazy-loads tool definitions instead of dumping them all into context, so a few servers cost far less than they used to. (Disable only if you must, via ENABLE_TOOL_SEARCH=false.)
  • Start with 4–8, not 20. Connect what you use.
  • Prefer read-only configs where a server supports it.
  • Keep tokens in --env, never in chat.
  • Scope deliberately — project servers for the team, user scope for your always-on tools.

Put it to use

  • Wire MCP into a properly structured project: the Claude Code projects hub.
  • Pair it with the right skills: the skills & plugins guide.
  • New to the tool? The beginner tutorial.
  • Built something with a slick MCP stack? List it free on SaaSCity.

FAQ

How do I add an MCP server? Remote: claude mcp add --transport http <name> <url>. Local: claude mcp add <name> -- npx -y <package>. Manage with claude mcp list/get/remove or /mcp.

How many should I run? 4–8 to start. Tool Search (default on) keeps the context cost low, but connect only what you use.

Are they safe? They access real systems — prefer read-only, trust the source, keep tokens in --env, and review project-scoped servers before approving.

Cross-client? Yes — MCP is an open standard; the same server works in Claude Code, Cursor, and other MCP clients.

Get your SaaS in front of founders

List your product on the SaaSCity live city map - a permanent listing, real discovery, and a backlink from a high-DR directory. Free to start; upgrade for a dofollow link and a building on the map.

Submit your SaaSSee pricing

Founder resources

Best SaaS directoriesBest AI directoriesFree dofollow directoriesHigh-DR directoriesFree DR checkerLive launchesAI SaaS boilerplate

Related articles

Claude Code Projects in 2026: Real Shipped Builds, Project Structure & the Shift to Agent Loops

Claude Code Projects in 2026: Real Shipped Builds, Project Structure & the Shift to Agent Loops

CLAUDE.md Templates & Examples That Actually Work in 2026 (Copy-Paste Starter, Rules & Auto Memory)

CLAUDE.md Templates & Examples That Actually Work in 2026 (Copy-Paste Starter, Rules & Auto Memory)

Claude Code Subagents, Background Agents & Agent Teams in 2026: The Real Multi-Agent Guide

Claude Code Subagents, Background Agents & Agent Teams in 2026: The Real Multi-Agent Guide

Contents

  1. Key Takeaways
  2. What MCP is (in one paragraph)
  3. The MCP servers worth connecting
  4. Exact setup — the verified commands
  5. Scopes — where the config lives
  6. Keeping many servers without context bloat
  7. Put it to use
  8. FAQ

List your SaaS

$19.99one-time
  • Dofollow DR 64+ backlink
  • Live within 24 hours, no queue
  • Permanent listing on the city map
Submit your SaaS

Or list free with our badge

City Sponsors

  • Nick LaunchesShip, launch, and get your product in front of real founders.
  • @peregrineintellPeregrine OS: pre-call intel for agency new business
  • Your product hereSlot open — 30 days, homepage + city
Become a sponsor
Write for this blog — from $99.99
SaaSCity.io

Directories are boring. We built a city instead. First isometric SaaS directory on the planet.

Platform
Submit SaaSLive LaunchesPricingBlogWrite for UsBacklink ExchangeMCP for AgentsAdvertise
Directories
Best SaaS DirectoriesBest AI DirectoriesBest Indie Hacker CommunitiesBest Subreddits for FoundersFree DR CheckerFree DR BadgeHow to Get SaaS Backlinks
SaaSCity Alternatives
All ComparisonsSaaSCity vs Nick LaunchesSaaSCity vs BetterLaunchSaaSCity vs PeerPushProduct Hunt AlternativesSaaSHub Alternatives
Legal
Privacy PolicyTerms of Service
Company
AboutghostyContact

© 2026 SaaSCity.io

llms.txt