Omniscio

OmniscioGuidesClaude Code glossaryMCP

MCP in Claude Code: what it is and how to add a server

MCP is an open standard that lets Claude Code use tools served by other programs, on top of the tools it ships with. Anthropic describes it as connecting Claude Code to hundreds of external tools and data sources through an open-source standard for AI-tool integrations.

What MCP is

Anthropic's glossary: an open standard for connecting AI tools to external data sources and services. MCP servers give Claude new tools for Slack, Jira, databases, browsers and hundreds of other integrations.

An MCP server is the program on the other end: it gives Claude tools, prompts or resources over MCP. Anthropic's glossary names four common ways to add one: claude mcp add, a .mcp.json file, a plugin, or a claude.ai connector.

To Claude, what an MCP server adds is tools first, and it can also supply prompts and resources. Once one is connected, a request such as "find the open Jira tickets for this repo" is answered through the same gather-act-verify loop as any other work.

How to add a server

Remote servers

HTTP is Anthropic's recommended transport for remote servers, and the most widely supported one for cloud-based services. The command is one line:

claude mcp add --transport http notion https://mcp.notion.com/mcp

A server that needs a token takes a header: add --header "Authorization: Bearer your-token". The older SSE transport is deprecated in favour of HTTP.

Local servers

Stdio servers run as local processes on your machine, which suits tools that need direct system access or a custom script. Airtable, for example, needs its key in the environment:

claude mcp add --env AIRTABLE_API_KEY=YOUR_KEY --transport stdio airtable -- npx -y airtable-mcp-server

Shared with a team

A project-scoped server is written to .mcp.json at the repository root. Commit that file and everyone on the team gets the same servers; add one with --scope project.

After it is added

Inside Claude Code, /mcp shows server status, and it is also where you authenticate a remote server that uses OAuth. A remote server that has never been connected is not a broken tool, it is one waiting for that sign-in.

What MCP costs you in context

MCP tool search defers the tool schemas until they are needed. Only tool names and server instructions load at startup, and Claude fetches the full schema when it decides to use a specific tool, which keeps idle servers from consuming much context. It is on by default on supported models; older ones load the server's tools upfront.

A small example

The one line above adds Notion; the sign-in happens inside the session:

claude
/mcp

Complete the browser sign-in /mcp opens, then ask Claude to find a page by title. The server's tools appear in the request as normal tools, so nothing new needs learning at the prompt.

  • Tool: what an MCP server most often adds to a session.
  • Plugin: a bundle that can carry MCP servers with it.
  • Hook: your own handler that runs at a fixed point in Claude Code's lifecycle.
  • Back to the glossary.

The full guide to this term is how to add an MCP server to Claude Code: the scopes, the file format, and what to check when a server shows as failed.

See which tools each session has

The features page lists what Omniscio does with several Claude Code sessions at once, which is where one session missing a server is easiest to notice.