What MCP is
MCP is an open protocol that lets AI applications connect to external systems. An MCP server describes tools ("create an issue", "run an SQL query"), and Claude Code calls them just like built-in ones.
How to add a server
# a local server launched by a command claude mcp add playwright -- npx @playwright/mcp@latest # a remote server over HTTP claude mcp add --transport http notion https://mcp.notion.com/mcp # list servers and their status claude mcp list
In a session, /mcp shows servers and their tools and lets you authenticate where needed.
Scopes
| Scope | Stored in | Purpose |
|---|---|---|
| local | your settings for this project | experiments, personal tokens |
| project | .mcp.json in the repo | servers shared with the team |
| user | your settings for every project | tools you need everywhere |
Popular servers
- GitHub: issues, pull requests, comments.
- Databases: schema and queries against a test database.
- Notion, Linear, Jira: requirements and tasks.
- Playwright: browser control to check the UI.
- Sentry: production errors for bug fixes.
When you don’t need MCP
If a system has a good CLI, the agent will use it through Bash anyway: gh for GitHub, psql for a database. MCP helps when there is no CLI, OAuth is required, or tools need to be structured and safer than arbitrary commands.
Security
- Connect servers only from trusted sources: a server receives data from your session.
- Give minimal rights: a read-only token, a test database instead of production.
- Mind prompt injection: text from external systems may contain malicious instructions. The agent should treat it as data.
- Each server adds tool descriptions to context. Turn off the ones you don’t need.
12 servers with connection commands are in the article "Claude Code MCP Guide".
Today's task
Connect one MCP server your process really needs, with minimal rights. Give the agent a task where it uses it.