How to add an MCP server to Claude Code, Cursor, or Codex
To add an MCP server to Claude Code, Cursor, or Codex, start from a trusted registry, check what it can access, paste its config, and restart. Skills and plugins follow the same trust rule: only load what you would give a shell on your machine. Short answer: 5 steps. 1) Find the server in a registry; 2) Read what it can access; 3) Add it with your tool's config; 4) Restart and confirm it loaded; 5) Test with a harmless request.
Last updated: · This page is the decision checklist; the tools list for “Add MCP servers and skills to your agent” is a separate URL.
How do I add an MCP server to Claude Code, Cursor, or Codex?
Find the server in a registry
Start from the official MCP Registry or a known directory, and prefer servers published by the company whose product it connects to.
Read what it can access
Check the README for the permissions and API keys it needs. An MCP server runs with whatever access you give it.
Add it with your tool's config
Claude Code: the claude mcp add command. Cursor: an mcp.json file in settings. Codex: its config file. Copy the exact snippet from the server's README for your tool.
Restart and confirm it loaded
Restart the agent, then list available tools (e.g. /mcp in Claude Code) to check the server shows up and connects.
Test with a harmless request
Ask for a read-only action first, like listing items, before letting it create, change or delete anything.
Which tools are best to add MCP servers and skills to your agent?
Official MCP Registry
The canonical registry other MCP directories read from.
Smithery
Browse and install hosted or local MCP servers.
mcp.so
Large community directory of MCP servers.
mcpservers.org
Curated MCP server directory.
Open: 1 spot per week
One labeled sponsor for this topic each week; this week's spot is open. See open weeks →
All tools for “Add MCP servers and skills to your agent” →
Related fixes
- Stop a Cursor agent loopHow to fix a Cursor agent loop (same edit, or work after Stop)Fix →
- Claude Code vs Codex vs Cursor ~$20 plansClaude Code vs Codex vs Cursor $20 plan limits: how to pick without burning the weekFix →
- Scan a vibe-coded app for leaked API keysCheck a vibe-coded app for leaked API keys before you share itFix →
- Stop purple-gradient AI UI defaultsAI keeps making purple gradient UI — how to fix the generic lookFix →
See also AI tools launched today on the daily board.
NewAIToolsToday Daily
Top 3 AI launches, one model or news item that matters, and one simple fix. A 5-minute read, every weekday.