MCP server monitoring is measuring the Model Context Protocol servers an AI agent calls: how many tool calls each one receives, how many fail, and how long they take. Agent Ping does it from the calling side, from the spans your agent already emits, so it covers the servers you run and the third-party ones you cannot see inside.
When an MCP server slows down or starts returning errors, nothing crashes. The agent retries, works around it, or answers without the data. The run still finishes, and the first report comes from a customer.
isError. The agent reads the error as text and carries on, usually to a worse answer.Logging inside the MCP server tells you what the server did. It cannot tell you about a server you do not run, a request that never arrived, or which of your agents was affected. Measuring at the client answers the question you are asked during an incident: which agents are hitting this, how often does it fail for them, and since when.
Every MCP server your agents call appears under Dependencies, with its numbers for the range you pick.
search_docs fails 13% of the time and fetch_page is fine".Cost. An MCP server does not report what a call cost it, so there is no cost column for a server. The model tokens your agent spent around the call are priced on the run as usual. And nothing here sees inside the server: this is the caller's view, which is the one you have for a server you do not own.
OpenTelemetry defines semantic conventions for MCP. An instrumented client emits one span per request. Agent Ping reads those attributes and does the grouping.
A tool call carries the method, the tool name and the server it went to. These are the attribute names from the OpenTelemetry MCP convention.
name: tools/call search_docs kind: CLIENT mcp.method.name tools/call gen_ai.operation.name execute_tool gen_ai.tool.name search_docs mcp.session.id sess-29b731 server.address mcp.docs.internal server.port 443 error.type tool_error # only when the call failed
Two environment variables on any OpenTelemetry SDK. There is no Agent Ping SDK to add for this.
export OTEL_EXPORTER_OTLP_TRACES_ENDPOINT="https://eu.ingest.agentping.io/v1/traces" export OTEL_EXPORTER_OTLP_TRACES_HEADERS="authorization=Bearer apk_eu_..."
The call is recorded as a tool call on the run, and the server it went to is listed under Dependencies by its address. When the client and the server both report into the same trace, the call is counted once, from the client's span. A span that sets error.type is a failed call even when the request itself returned normally.
The convention identifies a server by server.address, and a stdio server started as a subprocess has none. Set agentping.mcp.server on the span to name it, and it is tracked under that name.
mcp.method.name tools/call gen_ai.tool.name read_file agentping.mcp.server filesystem
If you report runs over the REST API, add a target to the tool call event. Everything above works the same way.
{
"type": "tool_call",
"data": {
"tool": "search_docs",
"latency_ms": 182,
"target": { "kind": "mcp_server", "name": "docs-search" }
}
}
This page is about the MCP servers your agents call. Agent Ping also runs an MCP server of its own, which is a different thing.
They work together. With both in place you can ask your assistant why an agent slowed down, and the run it reads will show which MCP server the slow call went to.
Point your OpenTelemetry exporter at Agent Ping and the servers your agents call are listed as soon as the first trace lands. The free plan has no card and no time limit.
Dependencies docs → OpenTelemetry setup → Multi-agent observability → A2A vs MCP →