Skip to content
Sign in

What is Model Context Protocol?

Also known as: MCP

Model Context Protocol (MCP) is a standardized way for AI agents to structure, exchange, and manage contextual information across model calls and tools.

MCP defines a lightweight message format and set of rules that let agents package relevant history, tool results, user state, and instructions into a consistent context object that any compliant model can read.

It separates transient working memory from long-term memory, supports selective compression, and includes versioning so agents can resume or hand off tasks without losing critical details.

By providing a common schema, MCP reduces prompt-engineering hacks and makes it easier to swap models or compose multi-agent systems while preserving shared understanding.

Example

An MCP-enabled travel agent packages the user's destination, budget, past flight preferences, and the result of a hotel search into one context packet; the next model call receives exactly that packet and can continue planning without re-reading the entire chat history.

Why it matters

As agents grow more complex and multi-model, a shared context protocol reduces errors, improves interoperability, and makes long-running tasks reliable.

Frequently asked questions

No, it is an emerging community proposal rather than a ratified standard like HTTP.