MCP (Model Context Protocol)
A USB port for connecting an AI model to whatever tool you actually need.
Intermediate
| Transport | When |
|---|---|
| HTTP | the default recommendation for remote servers — supports OAuth, works through firewalls |
| stdio | a local process Claude Code starts and talks to over stdin/stdout — no network involved |
| SSE | an older remote transport, deprecated in favor of HTTP where available |
| WebSocket | for a server that needs to push events to Claude unprompted, not just answer requests |
--scope flag controls where a server's configuration is stored, and
therefore who else picks it up:
| Scope | Stored where | Shared with |
|---|---|---|
| local (default) | your personal config | just you, this project |
| project | .mcp.json in the repo | everyone who clones the repo, once they approve it |
| user | your personal config | you, across every project |
.mcp.json shows as pending approval
for anyone new who opens the repo — Claude Code won't silently run a server someone else
added to a repo you just cloned.
| Need | Reach for |
|---|---|
| Reading/writing local files, running shell commands | Claude Code's built-in tools — no MCP server needed |
| Talking to a specific external service (a browser, a ticketing system, an internal API) | an MCP server for that service |
| A one-off API call your team doesn't have a standing integration for | usually still faster to just have Claude write and run the request directly, rather than standing up a server |