# MCP

> A protocol for plugging external tool servers into a harness — how an agent gets tools beyond what the harness ships with.

**Model Context Protocol.** A protocol for plugging external tool servers into a [harness](https://ai9k.vercel.app/en/harness) — how an [agent](https://ai9k.vercel.app/en/agent) gets [tools](https://ai9k.vercel.app/en/tool) beyond what the harness ships with. The agent never "calls MCP"; it calls a tool, and the harness happens to have gotten that tool from an MCP server. Also exposes resources (read-only data) and prompts (reusable templates), but tool provision is the primary use.

The protocol solves an integration problem. Without a standard, every harness would need its own Linear integration, its own Slack integration, its own database integration — written and maintained separately for each. With MCP, the integration is written once as a server, and any MCP-compatible harness can use it. The harness connects to the server, the server advertises what tools it offers, and those tools become available to the agent alongside the built-in ones.

The cost is paid in [context](https://ai9k.vercel.app/en/context). Every tool a server advertises arrives as a definition — name, description, parameter schema — and the [model](https://ai9k.vercel.app/en/model) can only call tools it knows about. The naive approach loads every definition into the [context window](https://ai9k.vercel.app/en/context-window) up front: install a few generous servers and a [session](https://ai9k.vercel.app/en/session) starts with thousands of [tokens](https://ai9k.vercel.app/en/token) of tool schemas before you've typed anything, spending [attention budget](https://ai9k.vercel.app/en/attention-budget) on tools the task will never use.

Many harnesses now mitigate this with tool search: instead of the full definitions, the context holds a [context pointer](https://ai9k.vercel.app/en/context-pointer) to the available tools — the agent searches for a tool by name or purpose and loads its definition only when it needs it. If your harness doesn't do this, the up-front cost still applies, and it's worth enabling only the servers a project actually needs.

**Usage**

"The agent needs to read tickets from Linear."

"Configure the harness to use the Linear MCP server — it exposes the Linear API as tools the agent can call. Saves you writing custom tool wrappers."

---

- Section 3 — Tools & Environment · Term 30 of 72
- Page: https://ai9k.vercel.app/en/mcp
- Learn step by step: https://ai9k.vercel.app/en/learn#/mcp
- On the map: https://ai9k.vercel.app/en?term=mcp
- JSON: https://ai9k.vercel.app/data/terms/mcp.json
- Mentioned in: [Tool](https://ai9k.vercel.app/en/tool.md)
- Previous: [Tool result](https://ai9k.vercel.app/en/tool-result.md)
- Next: [Permission request](https://ai9k.vercel.app/en/permission-request.md)

Every term page has a markdown copy: add .md to its address.
