Happy Dussehra! May good always win. Merry Christmas! Warm wishes from Vizag. Happy New Year! Here’s to a great year ahead.

DevOps · CNCF daily

Model Context Protocol (MCP): A Standard Way for AI Agents to Call Your Tools

NON CNCF, listed in the CNCF Landscape under AI Agent › Protocol. MCP is an open JSON-RPC protocol that lets an AI application discover and call tools, read resources and use prompts from a server, so ERP functions can be exposed to a copilot once, with scopes.

14 min read

NON CNCF

  • Model Context Protocol
  • JSON-RPC
  • Streamable HTTP
  • OAuth
  • Python
  • TypeScript
CNCF Landscape page

A copilot is only useful if it can do things: look up an invoice, check stock, raise a purchase request. The old way was to write a custom connector for each model and each application, so ten tools and three agents meant thirty small integrations. The Model Context Protocol (MCP) replaces that with one standard. A tool author writes an MCP server that describes its tools; any MCP client, whether a copilot, an IDE or an agent framework, can connect, list the tools and call them. The CNCF Landscape lists it under AI Agent › Protocol as the “Specification and documentation for the Model Context Protocol”. It is a NON CNCF item: an open protocol with a specification and SDKs, not a piece of infrastructure you install. The agentgateway brief covers the gateway that sits in front of MCP servers.

CNCF daily · Sprint 6, post 22 of 26 · AI Agent (Protocol) · NON CNCF

At a glance

Category AI Agent › Protocol (Landscape)
CNCF status NON CNCF, listed in the CNCF Landscape
What it is An open JSON-RPC protocol between AI applications (clients) and servers that expose tools, resources and prompts
Repository github.com/modelcontextprotocol/modelcontextprotocol; site modelcontextprotocol.io
Spec revisions seen 2025-11-25 and 2026-07-28; the changelog for 2026-07-28 lists breaking changes to the HTTP transport
Transports stdio for local servers, and Streamable HTTP for remote ones; the old HTTP+SSE transport is deprecated
Server features Tools (functions to execute), resources (data and context) and prompts (templated messages)
Client features Elicitation; the 2026-07-28 draft marks sampling and roots as deprecated
Authorization An authorization framework based on OAuth for HTTP servers
SDKs Official SDKs exist for several languages; check the site for the current list

The problem MCP solves

Question Custom connectors MCP
Ten tools, three agents Up to thirty integrations Ten servers, three clients, one protocol
Tool discovery Hard-coded in each agent The client asks the server for its tool list
Describing arguments Different for each framework JSON Schema in the tool definition
Reuse Rewrite for each model Same server for any client
Access control Each connector invents its own Scopes and tokens through the protocol’s authorization
Remote tools Custom APIs Streamable HTTP, so a server can be a normal service

Key concepts

Term Meaning
Host and client The AI application, and the connector inside it that talks to one server
Server A service that exposes tools, resources and prompts
Tool A function the model can ask to run, with a name, description and JSON Schema for the arguments
Resource Read-only data a server offers, identified by a URI
Prompt A reusable message template the server offers
tools/list and tools/call The two requests that discover and run tools
Streamable HTTP The remote transport: HTTP POST requests, with streamed responses when needed
stdio The local transport: the client starts the server as a subprocess
Stateless protocol In the 2026-07-28 text, each request carries what the server needs, so any server instance can handle it
Elicitation A server asking the user for more input, such as an approval

Architecture

Model Context Protocol architecture: the copilot is the MCP client and sends tools/call requests through agentgateway, which authenticates with a token from the identity provider and forwards to the ERP MCP server. The server checks scopes per tool, reads resources and prompts, and runs functions in the ERP services such as orders, invoices and stock.

Blue is the client, identity and ERP, grey is the gateway and scope check and teal is the MCP server and its context. Open the zoomable diagram, or download it as SVG or PNG.

Component Responsibility
Copilot (MCP client) Lists the tools, lets the model pick one and sends the call.
Identity provider Issues a token that carries the user and the scopes.
agentgateway Authenticates, limits and audits the call before the server sees it.
ERP MCP server Describes the tools and runs them.
Scope check Allows read tools broadly and write tools only with the right scope.
Resources and prompts Documents and templates the server offers.
ERP services The real systems behind the tools.

One tool call

Model Context Protocol tool call flow in five steps: the client lists the available tools and their schemas; the model chooses a tool and arguments; the client sends a tools/call request carrying a token; the server checks scopes and runs the ERP function; and the result returns to the model, which uses it to write the answer to the user.

  1. Schemas. The client lists the tools and their schemas.
  2. Decide. The model picks a tool and arguments.
  3. Request. The client sends tools/call with a token.
  4. Result. The server checks scopes, runs the function and returns the result.
  5. Context. The model uses the result to answer.

Open the zoomable flow diagram, or download it as SVG or PNG.

Real world: asking “which invoices are overdue for this vendor?”

A finance user asks the copilot about a vendor. The copilot has no database access. It has a connection to the ERP MCP server, which offers search_invoices and get_vendor. The model picks search_invoices with the vendor and a status filter, the client sends the call with the user’s token, and the server checks that the token has the read scope for invoices before querying the ERP. The result comes back as structured data, and the model writes the answer. Later, a create_payment_request tool is added with its own write scope, and only the accounts-payable role receives that scope.

Install and run an MCP server

MCP is a protocol, so there is nothing to install on the cluster itself; you build or deploy servers. I did not run any of the steps below for this post.

  • Try a server locally. A third-party SDK page lists npx @modelcontextprotocol/inspector as a way to connect to a Streamable HTTP server for testing, and claude mcp add --transport http my-server http://localhost:3000/mcp as a way to add one to Claude Code. Confirm both commands against the official docs for your version.
  • Pick an SDK. Use an official SDK for your language from modelcontextprotocol.io, and pin its version, because the 2026-07-28 revision changed the HTTP transport.
  • Deploy on Kubernetes. A remote server is an ordinary HTTP service: a container, a Deployment and a Service. Put it behind agentgateway and an ingress with TLS.
# Typical shape of an MCP server on Kubernetes (illustrative)
apiVersion: apps/v1
kind: Deployment
metadata: { name: erp-mcp, namespace: erp }
spec:
  replicas: 2                      # the 2026-07-28 text says any instance can handle a request
  selector: { matchLabels: { app: erp-mcp } }
  template:
    metadata: { labels: { app: erp-mcp } }
    spec:
      containers:
      - name: server
        image: registry.example.com/erp-mcp:<pinned-tag>
        ports: [{ containerPort: 8080 }]
---
apiVersion: v1
kind: Service
metadata: { name: erp-mcp, namespace: erp }
spec:
  selector: { app: erp-mcp }
  ports: [{ port: 80, targetPort: 8080 }]

Try it

On the wire, a tool call over Streamable HTTP is an HTTP POST with a JSON-RPC body. This is the shape shown in the MCP blog post for the 2026-07-28 revision; earlier revisions differ (they used initialisation and session headers), so match your server’s version.

curl -X POST https://erp-mcp.example.com/mcp \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $TOKEN" \
  -H "MCP-Protocol-Version: 2026-07-28" \
  -H "Mcp-Method: tools/call" \
  -H "Mcp-Name: search_invoices" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call",
       "params":{"name":"search_invoices",
                 "arguments":{"vendor":"ACME","status":"overdue"},
                 "_meta":{"io.modelcontextprotocol/clientInfo":{"name":"test","version":"1.0"}}}}'

The tool name search_invoices and its arguments are made up for the ERP example. The Authorization header follows the protocol’s OAuth-based approach; the exact flow is in the authorization section of the spec. I have not run this request.

Production reference design

  1. Few, clear tools. Name tools after business actions, write short descriptions, and keep schemas strict; the model chooses tools from those words.
  2. Read and write split. Give read tools and write tools different scopes, and require stronger scopes for anything that changes data.
  3. Real authorization. Use OAuth tokens from your identity provider, check scopes in the server for every call, and carry the tenant in the token.
  4. Gateway in front. Route all calls through agentgateway for authentication, limits and audit, and block direct access to the server.
  5. Validate everything. Treat tool arguments as untrusted input, even though a model wrote them.
  6. Stateless servers. Keep servers stateless so replicas scale behind a plain load balancer, as the 2026-07-28 text allows.
  7. Confirm risky actions. Use elicitation or an approval step in the application before a write that costs money or cannot be undone.
  8. Pin the protocol version. Support the revision your clients use, test upgrades, and read the changelog for breaking changes.
  9. Test with real prompts. Run golden questions through the whole path, using DeepEval to check that the right tool is chosen.
  10. Document tools like APIs. Version them, review changes and retire old ones.

Security

  • Tool descriptions are part of the prompt. A malicious or compromised server can put instructions in a tool description or result; connect only to servers you trust and review their tools.
  • Prompt injection through results. Data returned by a tool, such as an invoice text, can contain instructions; the model may follow them, so keep write tools behind scopes and approvals.
  • Origin checks. The Streamable HTTP section of the spec says servers must validate the Origin header to prevent DNS rebinding attacks.
  • Token handling. Do not pass tokens through to downstream systems without checking their audience, and do not log them.
  • Over-broad scopes. A single “admin” scope for all tools defeats the point; issue the smallest scope per role.
  • Local servers. stdio servers run as the user on a machine; treat installing one like installing a program.
  • Audit. Record who called which tool with which arguments, with sensitive values masked.

Troubleshooting

This table is built from the specification pages and common integration problems. I did not run an MCP server for this post, so check each entry in your environment.

Symptom Likely cause How to check Fix
Client cannot connect Wrong URL, or the server only supports the old HTTP+SSE transport The server’s docs and the client’s error Use Streamable HTTP; the spec marks HTTP+SSE as deprecated
400 Bad Request on a call Missing or mismatched MCP-Protocol-Version header Compare the header with _meta in the body The 2026-07-28 text says the header must match the body value
UnsupportedProtocolVersionError Client and server support different revisions The error and both sides’ versions Upgrade one side, or support both revisions
403 Forbidden Origin header not allowed, or token lacks scope Server logs Allow the right origin, or issue the right scope
Old client breaks after a server upgrade Revision 2026-07-28 removed protocol sessions and the GET stream The changelog Update the client SDK, or keep a compatibility endpoint
Model never calls a tool Poor tool names or descriptions tools/list output Rewrite names and descriptions; fewer, clearer tools
Model calls the wrong tool Overlapping tools Test prompts and traces Merge or rename tools, add examples to descriptions
Tool arguments rejected Schema stricter than the model’s output Server validation error Loosen types, add defaults, return clear error messages
Stale tool list Client cached the list The ttlMs and cacheScope fields in list results (2026-07-28) Set sensible freshness hints on the server
Calls fail only through the gateway Gateway policy or auth blocks them Gateway logs Fix the policy, token audience or route

Usage cases

  • Business tools for a copilot. ERP lookups and actions exposed once and used by any client.
  • Developer tools. IDE assistants calling repository, ticket and build tools.
  • Knowledge access. Resources that expose documents and records to an agent.
  • Platform operations. Agents calling cluster and monitoring tools; the Landscape lists an MCP-based Kubernetes management tool with more than 220 tools.
  • Multi-agent systems. Agents sharing the same tool servers.
  • In the Sprint 6 project. The copilot’s ERP functions are MCP tools with read and write scopes, reached through agentgateway.

Operational considerations

  • Fast-moving spec. The 2026-07-28 revision changed the HTTP transport and removed sessions; plan for upgrades and pin SDK versions.
  • Tool sprawl. Too many tools confuse models and widen risk; review the tool list regularly.
  • Ownership. Each server needs an owner, a changelog and a deprecation process.
  • Latency and cost. Each tool call adds a round trip and tokens; measure both.
  • Not CNCF. It is an open specification, and its governance and release process are separate from the CNCF; follow its own changelog.
  • A2A is different. Agent-to-agent communication is a separate protocol and a separate brief later in this sprint; MCP is for agent-to-tool.

Adoption

The Landscape lists MCP with its specification repository, the changelog shows regular revisions, and the MCP blog says Cloudflare’s Agents SDK supported the 2026-07-28 revision from the day of release. I did not verify other named adopters for this post.

Alternatives

Solution Model Best suited to
Direct function calling Tools defined inside each model API call One application with a few tools
OpenAPI-based tools Describe REST APIs with a schema and let the framework call them Existing REST APIs with good specs
Agent2Agent (A2A) Protocol for agents talking to other agents, listed in the same Landscape group Multi-agent systems; covered later in this sprint
Framework tool wrappers Tools written in LangChain, LangGraph or similar Tools used only inside one framework
Plain REST or gRPC Your normal APIs, called by application code Fixed workflows where the model does not choose
Vendor plugin formats Product-specific extension systems Tools used in one vendor’s product only

Strengths and limitations

Strengths Limitations
One standard for many clients and many tools Not a CNCF project; specification still evolving
Tools described with JSON Schema Revisions have had breaking transport changes
Local and remote transports Security depends on your authorization and review
Tools, resources and prompts in one model Model quality decides whether tools are chosen well
Stateless HTTP in the newest revision, so replicas scale easily Client support differs between products and versions
Large ecosystem of servers and SDKs Untrusted servers are a prompt-injection risk

Recommendation

Adopt MCP as the interface between the copilot and ERP functions. Expose a small set of well-named read tools first, add write tools behind separate scopes and approvals, run servers as stateless services, and put agentgateway in front for authentication, limits and audit. Pin the protocol revision and SDK versions, and test tool selection with golden questions in CI. If you have a single application with two or three fixed functions and no other clients, direct function calling is simpler.

References: MCP specification: basic protocol · Transports: Streamable HTTP · Transports overview · Changelog for revision 2026-07-28 · MCP blog: 2026-07-28 release · Changelog for revision 2025-11-25 · MCP repository · CNCF Landscape

Spotted something wrong or out of date?Suggest a correction. I review every suggestion before changing the page.

EmailRSS