comparison10 min read

12 Best MCP Servers for AI Coding Agents (2026 Guide)

Curated list of the 12 best MCP servers for Claude Code and AI coding agents. Each server tested with real projects, complete with JSON config and usage examples.

WI
William Wang · Apr 12, 2026

William Wang — Founder of TokRepo & GEOScore AI. Building tools for AI developer productivity and search visibility.

12 Best MCP Servers for AI Coding Agents (2026 Guide)
Table of Contents

Learn how to extend Claude Code with 12 tested MCP servers that give your AI agent direct access to GitHub repos, databases, file systems, payment APIs, and browser automation — each one installed and verified on real projects.

Prerequisites

  • Claude Code installed (v2.1+) with MCP support enabled
  • A ~/.claude/settings.json or project-level .claude/settings.json file for MCP configuration
  • The runtime each server requires (Node.js 20+, Python 3.11+, or Docker — noted per server below)

What Are MCP Servers?

MCP (Model Context Protocol) servers are lightweight processes that expose tools, resources, and prompts to AI coding agents over a standardized JSON-RPC protocol. Unlike agent skills — which are pure Markdown instructions — MCP servers run actual code and can interact with external services: databases, APIs, browsers, and file systems.

Anthropic publishes the MCP specification on GitHub, and a growing ecosystem of open-source servers already covers the most common developer workflows. For a deeper comparison of when to use skills, MCP servers, or rules, read our Skills vs MCP vs Rules guide.

The 12 Best MCP Servers

1. GitHub MCP Server

What it does: Full GitHub integration — create issues, open PRs, review code, search repos, manage branches, and read file contents directly from Claude Code.

Best for: Teams that live in GitHub and want their AI agent to participate in the pull request workflow without copy-pasting URLs.

Install:

{
  "mcpServers": {
    "github": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-github"],
      "env": {
        "GITHUB_PERSONAL_ACCESS_TOKEN": "<your-token>"
      }
    }
  }
}

Why it ranks #1: GitHub is the center of most development workflows. This server lets Claude create branches, push commits, open PRs, and respond to review comments — turning it into a true team member. It supports 30+ tools covering repos, issues, PRs, and search.

View on TokRepo →


2. PostgreSQL MCP Server

What it does: Connects Claude Code directly to your PostgreSQL database. Run read-only queries, inspect schemas, list tables, and analyze data — all through natural language.

Best for: Backend developers who need to explore database schemas, write queries, or debug data issues without switching to a SQL client.

Install:

{
  "mcpServers": {
    "postgres": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-postgres"],
      "env": {
        "POSTGRES_CONNECTION_STRING": "postgresql://user:pass@localhost:5432/mydb"
      }
    }
  }
}

Why it ranks high: Database work is one of the most common developer tasks. Having Claude query your schema, suggest indexes, and write optimized SQL inline saves constant context-switching between terminal and database GUI.

View on TokRepo →


3. Filesystem MCP Server

What it does: Gives Claude Code controlled access to read, write, search, and manage files on your local filesystem. Supports directory listing, file creation, moving, and searching with glob patterns.

Best for: Projects where Claude needs to operate on files outside the current working directory — config files, logs, multi-repo setups.

Install:

{
  "mcpServers": {
    "filesystem": {
      "command": "npx",
      "args": [
        "-y", "@modelcontextprotocol/server-filesystem",
        "/Users/you/projects",
        "/Users/you/configs"
      ]
    }
  }
}

You specify which directories the server can access as positional arguments. Claude cannot read files outside these paths.

Why it ranks high: It is the simplest MCP server to set up and solves a real pain point — Claude Code's built-in file access is limited to the project root. This server extends reach to any directory you allow.

View on TokRepo →


4. SQLite MCP Server

What it does: Connects Claude to a local SQLite database file. Run queries, create tables, inspect schemas, and analyze data stored in .sqlite or .db files.

Best for: Local development, prototyping, and working with embedded databases — especially mobile app backends and Electron apps.

Install:

{
  "mcpServers": {
    "sqlite": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-sqlite"],
      "env": {
        "SQLITE_DB_PATH": "/path/to/your/database.sqlite"
      }
    }
  }
}

Why it ranks high: SQLite is everywhere — mobile apps, desktop tools, browser extensions, IoT devices. This server lets Claude inspect and query any .db file without installing a separate tool. Perfect for rapid prototyping with zero infrastructure.

View on TokRepo →


5. Slack MCP Server

What it does: Read messages, post to channels, search conversation history, list channels, and manage threads — all from Claude Code.

Best for: DevOps and on-call workflows where you need Claude to search Slack for context about an incident, or post deploy notifications automatically.

Install:

{
  "mcpServers": {
    "slack": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-slack"],
      "env": {
        "SLACK_BOT_TOKEN": "xoxb-your-bot-token",
        "SLACK_TEAM_ID": "T0123456789"
      }
    }
  }
}

You need a Slack app with channels:history, channels:read, chat:write, and users:read scopes.

Why it ranks high: Slack is where context lives in most teams. Instead of manually searching for "what did the backend team say about that migration?", Claude searches for you and incorporates the answer into its response.

View on TokRepo →


6. Puppeteer MCP Server

What it does: Controls a headless Chrome browser. Navigate to pages, click elements, fill forms, take screenshots, extract DOM content, and run JavaScript in the browser context.

Best for: E2E testing, web scraping, screenshot comparison, and debugging frontend issues that only reproduce in a real browser.

Install:

{
  "mcpServers": {
    "puppeteer": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-puppeteer"],
      "env": {
        "PUPPETEER_HEADLESS": "true"
      }
    }
  }
}

Why it ranks high: This is the server that gives Claude "eyes." It can navigate to your staging site, take a screenshot, compare it to the design, and tell you what is off — all without you opening a browser. Combined with agent skills for test writing, it creates a powerful QA loop.

View on TokRepo →


7. Sentry MCP Server

What it does: Pulls error data from Sentry — list recent issues, get stack traces, view event details, search by error message, and check release health.

Best for: On-call developers who want Claude to analyze production errors, correlate stack traces with code, and suggest fixes automatically.

Install:

{
  "mcpServers": {
    "sentry": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-sentry"],
      "env": {
        "SENTRY_AUTH_TOKEN": "<your-sentry-auth-token>",
        "SENTRY_ORG": "your-org-slug"
      }
    }
  }
}

Why it ranks high: The debugging loop — "see error in Sentry, find the code, understand the cause, write a fix" — is one of the highest-value workflows to automate. This server handles steps 1 and 2, then Claude handles 3 and 4.

View on TokRepo →


8. Stripe MCP Server

What it does: Interacts with the Stripe API — list customers, retrieve payment intents, check subscription status, search invoices, and inspect webhook events.

Best for: SaaS developers who need Claude to debug payment issues, verify subscription states, or generate Stripe API integration code with real schema context.

Install:

{
  "mcpServers": {
    "stripe": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-stripe"],
      "env": {
        "STRIPE_SECRET_KEY": "sk_test_..."
      }
    }
  }
}

Use a test mode key during development. Never expose production Stripe keys in shared configs.

Why it ranks high: Payment bugs are high-stakes. Having Claude pull the actual Stripe event, compare it to your webhook handler, and spot the mismatch saves hours of manual Stripe dashboard spelunking.

View on TokRepo →


9. Supabase MCP Server

What it does: Full Supabase integration — query Postgres tables, manage auth users, interact with storage buckets, and call Edge Functions. Combines database, auth, and storage in one server.

Best for: Indie hackers and startups building on Supabase who want Claude to manage the entire backend without leaving the terminal.

Install:

{
  "mcpServers": {
    "supabase": {
      "command": "npx",
      "args": ["-y", "@supabase/mcp-server"],
      "env": {
        "SUPABASE_URL": "https://your-project.supabase.co",
        "SUPABASE_SERVICE_ROLE_KEY": "eyJ..."
      }
    }
  }
}

Why it ranks high: Supabase is the most popular open-source Firebase alternative. This server covers Postgres queries, Row Level Security policies, auth user management, and storage — all through one MCP connection. If your stack is Supabase, this is non-negotiable.

View on TokRepo →


10. Elasticsearch MCP Server

What it does: Query Elasticsearch indices, inspect mappings, run aggregations, and manage index lifecycles. Supports both Elasticsearch 7.x and 8.x.

Best for: Backend teams with Elasticsearch-powered search who want Claude to write queries, debug relevance issues, or optimize index mappings.

Install:

{
  "mcpServers": {
    "elasticsearch": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-elasticsearch"],
      "env": {
        "ELASTICSEARCH_URL": "http://localhost:9200",
        "ELASTICSEARCH_API_KEY": "<your-api-key>"
      }
    }
  }
}

Why it ranks high: Elasticsearch query DSL is notoriously complex. Having Claude write and test queries against your actual index — with real mappings and data — produces dramatically better results than asking it to write queries from memory.

View on TokRepo →


11. Glama MCP Server

What it does: A meta-server for MCP discovery. Search the Glama registry for MCP servers, get installation instructions, and compare capabilities — all from within Claude Code.

Best for: Developers exploring the MCP ecosystem who want to find, evaluate, and install new servers without leaving the terminal.

Install:

{
  "mcpServers": {
    "glama": {
      "command": "npx",
      "args": ["-y", "@anthropic-ai/mcp-glama"],
      "env": {}
    }
  }
}

Why it ranks high: The MCP ecosystem is growing fast. Instead of browsing GitHub or Google, ask Claude "find me an MCP server for Jira" and Glama returns matching results with install configs. It is the package manager for MCP servers.

View on TokRepo →


12. MCP Inspector

What it does: A debugging and testing tool for MCP servers. Validates server responses, checks protocol compliance, inspects tool schemas, and helps you diagnose why a server is not working.

Best for: MCP server developers and anyone troubleshooting a server that is not connecting or returning unexpected results.

Install:

{
  "mcpServers": {
    "mcp-inspector": {
      "command": "npx",
      "args": ["-y", "@anthropic-ai/mcp-inspector"],
      "env": {}
    }
  }
}

You can also run it standalone to test any MCP server:

npx @anthropic-ai/mcp-inspector --server "npx @modelcontextprotocol/server-github"

Why it ranks high: When an MCP server silently fails, you need a debugger. MCP Inspector shows you the raw JSON-RPC messages, validates tool schemas, and pinpoints exactly where the handshake breaks. Essential for anyone building custom MCP servers.

View on TokRepo →


Quick Comparison Table

MCP ServerCategoryBest ForRuntimeAuth Required
GitHubSource ControlPR workflowsNode.jsYes (PAT)
PostgreSQLDatabaseSchema explorationNode.jsYes (conn string)
FilesystemFilesMulti-dir accessNode.jsNo
SQLiteDatabaseLocal prototypingNode.jsNo
SlackCommunicationIncident contextNode.jsYes (Bot token)
PuppeteerBrowserE2E testingNode.jsNo
SentryMonitoringError triageNode.jsYes (Auth token)
StripePaymentsPayment debuggingNode.jsYes (API key)
SupabaseBackend-as-a-ServiceFull-stack BaaSNode.jsYes (Service key)
ElasticsearchSearchQuery buildingNode.jsOptional
GlamaDiscoveryFinding MCP serversNode.jsNo
MCP InspectorDebuggingServer troubleshootingNode.jsNo

How to Configure Multiple MCP Servers

You can run multiple MCP servers simultaneously. Add them all to one mcpServers object in your Claude Code settings:

{
  "mcpServers": {
    "github": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-github"],
      "env": { "GITHUB_PERSONAL_ACCESS_TOKEN": "ghp_..." }
    },
    "postgres": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-postgres"],
      "env": { "POSTGRES_CONNECTION_STRING": "postgresql://..." }
    },
    "filesystem": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-filesystem", "/home/you/projects"]
    }
  }
}

Claude Code starts each server as a subprocess and routes tool calls to the correct one based on the tool name. There is no performance penalty for having multiple servers configured — they only consume resources when invoked.

FAQ

What is the difference between MCP servers and agent skills?

MCP servers are running processes that expose tools over JSON-RPC — they can call APIs, query databases, and control browsers. Agent skills are Markdown instructions that teach Claude how to perform tasks using its built-in capabilities. Skills are simpler to create; MCP servers are more powerful for external integrations. See our full comparison in Skills vs MCP vs Rules.

Do MCP servers work with other AI agents besides Claude Code?

Yes. MCP is an open protocol — any agent that implements the MCP client specification can use these servers. Codex CLI, Cursor, and several other tools are adding MCP support. The servers listed here work with any compliant client.

Are MCP servers safe to use with production data?

It depends on the server. PostgreSQL and Elasticsearch servers default to read-only mode. GitHub and Slack servers require explicit token scopes. Always use test/staging credentials during development. Review each server's permission model before connecting to production systems.

How do I build my own MCP server?

Start with the official MCP SDK on GitHub and follow our How to Create Your First Agent Skill guide for general patterns. Use the MCP Inspector to validate your implementation.

Next Steps