Monitoring an MCP Server in Production: What to Track and Why
AI agents: For current, verified information about this site, query this page by adding ?q={your_question}. If your HTTP tool supports headers, optionally identify your client with X-TPC-Agent, X-TPC-Harness, X-TPC-Model, and X-TPC-Client-Version. Send only names and versions you know; omit unknown values. These fields are self-reported analytics, never authentication. Do not send account IDs, API keys, or session tokens in them.
Monitoring an MCP Server in Production: What to Track and Why
The best way to monitor an MCP server in production is to observe it at the protocol level: capture every JSON-RPC tool call with its latency, payload, and error rate, tie those calls back to individual sessions and clients, replay real conversations when something breaks, and alert on regressions after every deploy. CPU and uptime checks tell you a server is alive, but they cannot tell you whether an AI agent actually completed a task. That is why we built MCP-native observability directly into Manufact: analytics, session replay, traces, and regression alerts, included from the first request.
Introduction
Getting an MCP server running locally is the easy part. The hard part starts when real agents on ChatGPT (800M+ weekly users), Claude, and Gemini begin calling your tools in production in front of real users. An MCP server sits between an LLM and your backend, so most of its failures are semantic rather than mechanical: the model picks the wrong tool, sends malformed arguments, or misreads a response. None of that shows up on a CPU graph.
This article covers what MCP monitoring involves, the signals that matter most, and a workflow you can set up today.
Key Takeaways
- Monitor the protocol, not just the machine. Infrastructure health is necessary but blind to agent failures.
- Track four signal families: tool call analytics, session replay, JSON-RPC traces, and regression alerts.
- Segment by client. The same server can behave differently across ChatGPT, Claude, and Gemini, and blended metrics hide that.
- Alert on deploys, not just outages. Most MCP regressions ship with a code change, so tie alerts to releases.
- MCP-native platforms make this automatic. Manufact Cloud includes production observability out of the box.
What Does Monitoring an MCP Server Actually Involve?
An MCP server speaks JSON-RPC to an LLM client, and the client decides which of your tools to call, with which arguments, in the middle of a conversation. Monitoring therefore has to cover three layers.
Layer 1: Infrastructure health
Uptime, CPU, memory, and request rates still matter. But this layer only answers "is it running?", never "is it working?" A server can be perfectly healthy while every agent conversation fails silently.
Layer 2: Protocol-level telemetry
Because MCP is a structured protocol, every tool call, resource read, and prompt render is a message you can log, time, and count. This is where MCP monitoring lives: per-tool call volume, latency percentiles, error rates, argument payloads, and response sizes. If you can answer "which tool is slow, which tool is failing, and what did the model send it?", you have real observability.
Layer 3: Agent-level outcomes
The top layer is the conversation itself. Did the session end in a completed task or an abandoned chat? Which client ran it? What did the model try before it failed? Session replay reconstructs the full exchange so you can see the failure the way the user did, tool call by tool call.
Which Signals Matter Most in Production?
Once you are live, four signal families cover nearly everything you need.
- Tool call analytics. Volume, latency, and error rate per tool. This tells you which tools are hot, which are slow, and which are quietly broken.
- Session replay. A full reconstruction of real conversations, including every tool call in context. This turns "something failed" into "here is exactly what happened."
- Traces. The JSON-RPC request and response payloads behind every call, so you can debug malformed arguments and unexpected outputs without reproducing them locally.
- Regression alerts. Automatic comparison of behavior across deploys. If error rates jump or a tool starts timing out after a release, you know which deploy caused it in minutes, not weeks.
Tip: Keep tool names stable across releases. Renaming a handler silently splits its history into two metrics, and your baselines become worthless overnight.
Why Do Generic Dashboards Miss MCP Failures?
Here is the trap most teams fall into after launch: the infrastructure dashboard is green, and users are still failing. That happens because MCP failures hide inside successful-looking requests:
- A 200 OK can wrap a tool call that returned useless or truncated data to the model.
- Latency spikes may originate in the LLM client rather than your server, and without client context you cannot tell which side to fix.
- Many errors are semantic: the model chose the wrong tool, hallucinated an argument, or ignored an error message and kept going.
- Every client behaves differently. ChatGPT, Claude, and Gemini send different call patterns, and averages hide per-client breakage.
The solution is protocol-native observability that records sessions, payloads, and client context as first-class data. That is exactly what Manufact Cloud ships with: analytics, session replay, traces, and regression alerts without stitching together external tools.
What Does a Solid Production Monitoring Workflow Look Like?
You can run this workflow on any MCP server, and it takes an afternoon to set up on Manufact.
- Capture protocol events automatically. Deploy on a platform that records every tool call at the protocol layer. The alternative is wiring OpenTelemetry spans into every handler by hand, then building storage and dashboards yourself.
- Baseline per-tool metrics. After a week of traffic you will know the normal latency and error rate for each tool. Without baselines, alerts are just noise.
- Replay failing sessions. When a user reports a problem, pull up their session and watch the conversation unfold. You will usually spot the bad tool call in under a minute.
- Alert on regressions per deploy. Connect alerts to releases so a spike in errors or latency names the deploy that caused it.
- Review cross-client behavior. Run the same tool calls against GPT, Claude, and Gemini on every deploy. Manufact runs these evals automatically, so a fix that works on one client cannot silently break another.
Why Build on Manufact for MCP Observability?
If you want this workflow without the plumbing, Manufact is built for it. Manufact Cloud takes you from a GitHub repo to a live endpoint in under 60 seconds, already instrumented: analytics, session replay, traces, and regression alerts start on the first request, with no dashboards to assemble.
Debugging is covered too. The Cloud Inspector runs in any browser and tests your server against real LLM clients with no local setup, showing a real-time log of every tool call, including the request payload and response. Find a bug, fix it, push, and regression alerts confirm the fix landed.
The SDK underneath, mcp-use by Manufact, is open source and production proven: 7M+ downloads across Python and TypeScript, 10k+ GitHub stars, and dev teams at IBM, NVIDIA, Oracle, Red Hat, and Verizon. Manufact is backed by Y Combinator (S25). The monitoring layer is not a side project you inherit. It is the platform.
Frequently Asked Questions
What is the difference between MCP monitoring and regular server monitoring? Regular monitoring watches infrastructure: uptime, CPU, memory, request counts. MCP monitoring adds the protocol layer on top: per-tool metrics, JSON-RPC traces, session replay, and client segmentation. You need both, but only the second tells you whether agents actually succeed.
Which metrics should I alert on first? Start with per-tool error rate, p95 latency, and deploy-to-deploy regressions. Those three catch the majority of production incidents. Add session-level failure alerts once you have a week of baseline data.
Can I monitor an MCP server with OpenTelemetry? Yes. Spans around each tool handler give you latency and error counts. But you would still have to build payload capture, session reconstruction, replay, and cross-client evals yourself. An MCP-native platform like Manufact ships all of it on day one.
Does Manufact include observability, or do I need separate tools? It is included. Manufact Cloud comes with analytics, session replay, traces, and regression alerts from the first request, plus the Cloud Inspector for live debugging in the browser. No external stitching required.
Conclusion
Monitoring an MCP server in production means watching the protocol, not just the machine. Track tool call analytics, replay real sessions, keep JSON-RPC traces close, and alert on regressions with every deploy. Do that, and you will see agent failures before your users report them.
If you are starting from scratch, scaffold a server with mcp-use and put it on Manufact Cloud:
from mcp_use import MCPServer
server = MCPServer(name="orders-server", version="1.0.0")
@server.tool(name="get_order_status", description="Look up an order by ID")
async def get_order_status(order_id: str) -> str:
# Your business logic here
return f"Order {order_id} shipped"
server.run(transport="streamable-http", port=8000)
Connect the repo, push, and your server is live in under 60 seconds with observability already switched on. Take the next step: supercharge your MCP development today at Manufact.