MCP server monitoring for the servers your agents depend on.

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.

An agent is only as reliable as the tools it calls.

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.

What goes wrong, and what it looks like

  • A server gets slow. A search tool that took 200ms now takes four seconds. Every run that uses it is slower, and the agent's own latency chart moves without saying why.
  • A tool starts returning errors. The request succeeds and the result says isError. The agent reads the error as text and carries on, usually to a worse answer.
  • One server is shared by many agents. Three agents call the same CRM server. When it degrades, you see three unrelated agents get worse and have to work out the common cause yourself.
  • A third-party server changes. You do not deploy it and you do not get its logs. The only evidence is in the calls your agents made.

Why server-side logs are not enough

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.

What Agent Ping shows for each server.

Every MCP server your agents call appears under Dependencies, with its numbers for the range you pick.

  • Calls, failure rate and p95 latency. Per server, for the last 24 hours, 7, 30 or 90 days, or a custom range. Servers with failures sort to the top.
  • Per-tool breakdown. The same three numbers for each tool on the server, so "the server is failing" becomes "search_docs fails 13% of the time and fetch_page is fine".
  • Which agents call it. Each calling agent with its own call count, failure rate and latency. A shared server that is hurting three agents shows all three in one place.
  • Calls over time. A bar per hour or day, failed calls marked, so you can see when a problem started.
  • Recent calls, linked to their runs. Every call opens the run it was made in, with the model calls around it, what the tool returned, and what the run cost. A filter shows failed calls only.
  • Each agent's dependencies. The agent page lists what that agent calls, with the agent's own numbers for each.

What it does not show

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.

How it works: from the spans you already have.

OpenTelemetry defines semantic conventions for MCP. An instrumented client emits one span per request. Agent Ping reads those attributes and does the grouping.

1. The agent emits a span per MCP request

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.

otelone MCP tool call span
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

2. Point the exporter at Agent Ping

Two environment variables on any OpenTelemetry SDK. There is no Agent Ping SDK to add for this.

bashany OpenTelemetry exporter
export OTEL_EXPORTER_OTLP_TRACES_ENDPOINT="https://eu.ingest.agentping.io/v1/traces"
export OTEL_EXPORTER_OTLP_TRACES_HEADERS="authorization=Bearer apk_eu_..."

3. Each server becomes a dependency

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.

Local stdio servers

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.

otelnaming a stdio server
mcp.method.name        tools/call
gen_ai.tool.name       read_file
agentping.mcp.server   filesystem

Without OpenTelemetry

If you report runs over the REST API, add a target to the tool call event. Everything above works the same way.

jsona tool_call event naming its server
{
  "type": "tool_call",
  "data": {
    "tool": "search_docs",
    "latency_ms": 182,
    "target": { "kind": "mcp_server", "name": "docs-search" }
  }
}

Two things called MCP here, in opposite directions.

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.

  • Monitoring MCP servers (this page). Your agents are the clients. Agent Ping records the calls they make and reports on each server.
  • The Agent Ping MCP server. An assistant such as Claude, ChatGPT or Cursor is the client. It connects to Agent Ping and asks about your runs, costs and incidents.

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.

What is MCP server monitoring?
MCP server monitoring is measuring the Model Context Protocol servers an AI agent calls: how many tool calls each server receives, how many fail, and how long they take. It is done from the calling side, by recording every tools/call request the agent makes, so it works for servers you run and for third-party servers you have no access to.
How do you monitor an MCP server you do not control?
From the client. Your agent is the MCP client, and every call it makes can be recorded as an OpenTelemetry span with the server address, the tool name, the duration and the outcome. Agent Ping groups those spans by server, so a third-party server shows its failure rate and latency as your agents experienced them, without anything installed on the server.
What counts as a failed MCP tool call?
Two things. A protocol failure: the request errored, timed out, or came back with a JSON-RPC error. And a tool failure: the request succeeded but the tool result has isError set, which the OpenTelemetry convention records as error.type tool_error. Agent Ping counts both, because an agent that receives an error result has not got what it asked for.
Does this need a new SDK or an agent on the server?
No. If your agent already exports OpenTelemetry traces that follow the MCP semantic conventions, point the exporter at Agent Ping and the servers appear on their own. If you report runs over the REST API, add a target object to each tool call event naming the server.
How are stdio MCP servers identified?
The OpenTelemetry convention identifies an MCP server by server.address, which a local stdio server does not have. Set the agentping.mcp.server attribute on the span to name it, for example filesystem or git, and the server is tracked under that name.
Is this the same as the Agent Ping MCP server?
No, it is the opposite direction. The Agent Ping MCP server lets an assistant such as Claude, ChatGPT or Cursor read your Agent Ping data. MCP server monitoring watches the MCP servers your own agents call while they work.

See which MCP server is slowing your agents today.

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 →