Model Context Protocol (MCP) Guides
Connect Claude Code to every service your team uses. Databases, cloud providers, SaaS APIs, communication platforms, dev tools, and more — 108 production-tested MCP integrations with auth setup, security notes, and real-world usage.
What is MCP (Model Context Protocol)?
MCP — the Model Context Protocol — is an open standard, originally introduced by Anthropic in late 2024, for connecting AI applications (like Claude Code, Claude Desktop, Cursor, and others) to external systems (databases, APIs, cloud providers, dev tools) in a uniform, reusable way. Think of it as USB-C for AI tools: one plug shape that lets any compatible LLM talk to any compatible service.
Before MCP, every AI application had to invent its own way to expose your database, your GitHub, your Slack, or your files. Each one had a bespoke integration, a bespoke auth flow, and a bespoke schema for tool inputs. MCP replaces that mess with a shared protocol: an MCP server (which exposes a specific system, e.g., Postgres) can be consumed by any MCP client (Claude Code, Claude Desktop, Cursor, Cline, and dozens more).
The MCP architecture in three parts
Every MCP interaction has three pieces:
- MCP Server — a program that exposes a specific system: Postgres, GitHub, Stripe, Slack, filesystem, etc. Runs as a subprocess (stdio) or remote HTTP endpoint.
- MCP Client — the AI app that connects to servers. Claude Code is a client. So is Claude Desktop, Cursor, Cline, Continue, Windsurf, and many others.
- Transport — how they talk. Two options:
stdio(local subprocess, JSON-RPC over stdin/stdout) orhttp(streamable HTTP with SSE for remote servers).
The client discovers what the server can do, and the LLM decides which tools/resources to use based on the ongoing conversation.
What an MCP server can expose
- Tools — actions the LLM can invoke.
execute_sql,create_github_issue,send_slack_message. Tools have JSON schemas for inputs and typed outputs. - Resources — readable data the LLM can access. A file, a table's schema, a config document. Resources have URIs and can be watched for updates.
- Prompts — reusable prompt templates the user can invoke. Similar to slash commands but coming from the server.
Adding an MCP server to Claude Code
Two ways: the interactive command, or direct settings.json editing. Both produce the same result.
Or edit .claude/settings.json directly for team sharing:
Commit that file to git, and every teammate gets the same MCP setup on next pull. Environment variables like ${GH_TOKEN} stay in each developer's shell, so no secrets are committed.
Why MCP is a big deal (and why every serious Claude Code user runs 5+ MCP servers)
- One integration, many clients. The Postgres MCP server works identically in Claude Code, Claude Desktop, Cursor, Cline, Windsurf, and any other MCP client. Build once, use everywhere.
- Community ecosystem. There are hundreds of open-source MCP servers — databases, SaaS APIs, cloud providers, design tools, communication platforms. The catalog grows every week.
- First-party servers from major vendors. GitHub, Linear, Notion, Sentry, Cloudflare, Anthropic, and others ship their own MCP servers. Not community wrappers — official.
- Separation of concerns. The MCP server handles auth, rate limits, and API quirks. Claude just calls tools. Your codebase stays clean of API integration cruft.
- Remote or local.
stdiotransport for local process servers.http(streamable HTTP + SSE) for remote hosted servers — useful when the server needs cloud infrastructure (e.g., LLM-heavy servers). - Standard auth patterns. OAuth 2.1 and PAT patterns are standardized. Your Linear MCP server sets up the same way as your Notion one.
MCP tools vs Claude Code's built-in tools
Claude Code has built-in tools (Read, Write, Edit, Bash, Grep, Glob) that operate on your local filesystem. MCP tools extend that reach to any system your MCP servers connect to:
- Read your Postgres schema? MCP.
- Create a GitHub issue? MCP.
- Look up a Linear ticket? MCP.
- Check Sentry for the latest error? MCP.
- Read a Notion page? MCP.
- Deploy to Cloudflare Workers? MCP.
Every MCP tool you add is one more system Claude can operate in. That's the whole game — giving Claude Code the same reach as a human developer with all their tabs open.
MCP vs hooks vs subagents
These three shape Claude Code in different ways:
- MCP = extending reach. Adds tools/resources that let Claude operate on external systems. Use when Claude needs to talk to something outside your filesystem.
- Hooks = enforcing policy. Runs shell commands at lifecycle events to gate, log, or observe. Use for security and standards. See hooks hub.
- Subagents = specialized delegation. Purpose-built configs with their own context. Use for role-based work. See agents hub.
They compose beautifully: a security-reviewer subagent reads your database schema via a Postgres MCP server, with all its tool calls audit-logged by a PostToolUse hook.
10 categories covering every serious integration surface
Each sub-category page has the complete listing with real settings.json snippets, auth setup, and safety notes for production use.
Read schemas, run queries, manage migrations. Postgres, MySQL, MongoDB, Redis, Supabase, and more.
- postgres
- mysql
- mongodb
- redis
- supabase
Stripe, Linear, Notion, Asana, Jira, Trello, HubSpot, Airtable, Zapier, SendGrid, and more.
- stripe
- linear
- notion
- hubspot
- asana
AWS (S3, Lambda, RDS), GCP, Azure, Cloudflare, Vercel, Netlify, Railway, Fly.io.
- aws
- gcp
- azure
- cloudflare
- vercel
Slack, Discord, Microsoft Teams, Gmail, Outlook, Telegram, WhatsApp, Zoom, Calendly.
- slack
- discord
- gmail
- outlook
- teams
Figma, Canva, Framer, Webflow, Google Docs, Google Sheets, Drive, Dropbox, OneDrive.
- figma
- google-docs
- google-sheets
- drive
- canva
GitHub, GitLab, Bitbucket, Docker, Kubernetes, Terraform, Sentry, Datadog, PostHog.
- github
- gitlab
- sentry
- docker
- kubernetes
Anthropic, OpenAI, HuggingFace, Pinecone, Weaviate, Chroma, Snowflake, BigQuery, Databricks.
- pinecone
- weaviate
- huggingface
- snowflake
- bigquery
Shopify, WooCommerce, BigCommerce, Amazon Seller, Etsy, Square, PayPal, Razorpay.
- shopify
- woocommerce
- bigcommerce
- square
- paypal
Mailchimp, ConvertKit, Beehiiv, Ahrefs, SEMrush, Google Ads, Meta Ads, GA, Plausible.
- mailchimp
- beehiiv
- ahrefs
- google-ads
- plausible
Filesystem, Web Search, Web Fetch, Puppeteer, Playwright, PDF, Image, Video handlers.
- filesystem
- web-search
- puppeteer
- playwright
40 most-installed MCP servers right now
The servers devs install first, based on newsletter downloads, waitlist survey data, and MCP registry stars. Click any to see the full setup guide.
How to add an MCP server in 5 steps
From finding the right server to sharing it with your team.
Pick or find an MCP server
Browse this hub's 10 categories or the MCP Picker tool to find the right server for your target system. Most popular services (Postgres, GitHub, Stripe, Linear, Notion, Slack) have official first-party MCP servers.
Understand its auth model
Read the server's docs for the auth requirements. Options include: connection strings (Postgres), personal access tokens (GitHub), OAuth flows (Google, Notion), or API keys (Stripe). Note which environment variables the server expects.
Add it to settings.json
Add an entry under mcpServers in .claude/settings.json (team) or ~/.claude/settings.json (personal). Specify the transport (stdio or http), command, args, and env vars. Reference secrets via ${VAR_NAME} so they stay out of git.
Restart Claude Code and verify
Claude Code loads MCP servers on session start. Restart, then check the server appears in /mcp (list command). Try a simple prompt like "read the users table schema" for a Postgres MCP or "list open issues" for a GitHub MCP.
Share with your team
Commit .claude/settings.json. Teammates set their own env vars in their shell (or an .env.local that's gitignored). Everyone gets the same MCP servers with their own credentials. Zero-config onboarding.
Related long-form guides
In-depth reference material for when you need more than a snippet.
MCP Explained for Developers
What MCP actually is, how it differs from OpenAI functions and LangChain tools, and when it's the right choice.
TutorialHow to Build Custom MCP Servers
End-to-end: scaffold, auth, tools, resources, distribution. Ships with working Node.js and Python starters.
SetupThe Complete Claude Code Setup Guide
From npm install to production-ready. Where MCP servers fit in the setup order and configuration hierarchy.
AnalysisThe Real Cost of Running Custom MCP Servers
30 days of running 5 popular MCP servers in production. Real infrastructure costs and what to expect.
Free tools for mcp guides
Generators, builders, and analyzers — no signup, no account needed.
MCP Server Picker
Filter 108+ MCP servers by use case, auth type, and hosting model. Find your match fast.
Free ToolMCP OAuth Setup Helper
Walks you through OAuth setup for any MCP server. Handles the annoying redirect URI dance.
Free ToolRepo → MCP Recommendations
Paste a GitHub URL, get a tailored list of MCP servers to install for that stack.
Free ToolClaude Code Setup Score
Grade your Claude Code setup on best practices, including MCP coverage for your stack.
🐛 Hit an error while using mcp guides?
Our sister site AI Error Hub covers Claude Code errors, MCP connection failures, and stack traces — cross-referenced with everything on this site.
Frequently asked questions
The questions developers ask most about mcp guides.
MCP is an open standard, introduced by Anthropic in late 2024, for connecting AI applications to external systems.
An MCP server exposes a specific system (Postgres, GitHub, Slack, etc.) via a standardized protocol. Any MCP-compatible client (Claude Code, Claude Desktop, Cursor, Cline, Windsurf) can use any MCP server without a bespoke integration.
Three things:
- Tools — actions the LLM can invoke (
execute_sql,create_github_issue) with typed inputs and outputs. - Resources — readable data with URIs (files, schemas, documents).
- Prompts — reusable prompt templates.
Claude Code discovers all three when it connects and makes them available to the model.
Two transports:
stdio— local subprocess with JSON-RPC over stdin/stdout. Default for local servers like Postgres, filesystem, or GitHub.http— streamable HTTP with Server-Sent Events for remote hosted servers.
Use http when the server runs remotely, needs heavy infrastructure, or is provided as a hosted service (e.g., mcp.linear.app/sse).
Two ways:
- Interactive:
claude mcp add postgres --transport stdio -- npx -y @modelcontextprotocol/server-postgres $DATABASE_URL - Direct edit: add an entry under
mcpServersin.claude/settings.json.
For team-wide setups, prefer settings.json — commit it to git and every teammate gets the same servers.
Yes, and they matter. An MCP server runs with your credentials (database URL, GitHub PAT, cloud keys).
Best practices:
- Only install servers you trust. Review source or vendor.
- Prefer first-party official servers over community wrappers when both exist.
- Use read-only credentials where possible.
- For write-capable servers (deploy, delete), pair them with a
PreToolUsehook to gate destructive operations.
MCP is a wire-level standard, not just an interface pattern.
- Function calling defines an API surface between one app and one model.
- LangChain tools define a Python interface.
- MCP defines a protocol that any client and any server implement.
Portability is the point — a Postgres MCP server works in Claude Code, Cursor, Cline, and any future MCP client without rewriting.
Commit .claude/settings.json to git. Reference secrets via ${VAR_NAME} so they stay out of git.
Teammates set their own credentials (DATABASE_URL, GH_TOKEN, etc.) in their shell or a gitignored .env.local. Everyone gets the same MCP servers with their own auth. Zero manual setup on onboarding — new devs just clone and add their env vars.
For most developers, five cover 80% of daily value:
- Postgres / MySQL — schema + query awareness.
- GitHub — issues, PRs, repo ops.
- Filesystem — cross-project file access.
- Sentry — error awareness.
- Slack / Discord — team notifications.
Add specialized servers (Stripe, Linear, Cloudflare) as your workflow demands them.
Yes. Anthropic ships official SDKs for TypeScript, Python, and other languages.
A minimal server is under 100 lines of code — declare tools with JSON schemas, implement handler functions, register the server. Our build guide covers scaffolding, auth, and distribution, with working Node.js and Python starters.
Yes, that's the whole point. Any MCP-compatible client can consume the same server. Confirmed clients include:
- Claude Code, Claude Desktop
- Cursor, Cline, Continue, Windsurf
- OpenAI's Agents SDK (via adapter)
- Growing weekly
If you build or install an MCP server, you can use it across every MCP-compatible AI tool you touch.
Get the weekly Claude Code digest
Every Tuesday: new mcp guides, Anthropic release recap, and the best community submission of the week. 13,000+ developers read it.