Skip to content

Which AI agent called your MCP server

MCP Tower labels every call that reaches your MCP server with the AI agent that made it: ChatGPT, Claude, Claude Code, Cursor and others. Measure uses that label for the AI agent filter and for every chart split by agent, such as Tool calls by AI agent.

No single signal is enough to tell agents apart, so the middleware checks several, strongest first, and keeps how far the label can be trusted. It decides after your server has answered, so the check never slows a call down.

AgentWhat it covers
ChatGPTChatGPT’s apps and connectors.
Claudeclaude.ai and Claude Desktop, as one label (see below).
Claude CodeAnthropic’s coding agent, running on the user’s machine.
CursorCursor.
VS CodeVS Code, including GitHub Copilot.
OpenAI CodexOpenAI’s coding agent.
Gemini CLIGoogle’s command-line agent.
PerplexityPerplexity.
Meta MuseMeta’s agent, recognized from Meta’s network only.
OtherAnything MCP Tower can’t attribute to one of the above.

Charts give the first eight agents a color of their own, the same on every chart. Meta Muse, Other and any agent without a color are drawn in gray, and a chart that has several of them folds them into one Other series. The AI agent filter still lists each one.

Calls recorded before agent detection existed may carry the name of the app or SDK that made them, such as Python SDK or MCP Inspector.

The middleware tries each kind of evidence in this order and stops at the first that names an agent. The tier says how much that evidence is worth.

TierEvidence
VerifiedCryptographic proof: a valid signature on the request from keys an agent publishes, or a client certificate known to belong to the agent.
StrongYour server’s OAuth token, checked against your authorization server’s published keys, was issued to a known agent’s client, and the call came from that agent’s network.
DeclaredThe agent named itself: its client name in the MCP request, its _meta fields, or its User-Agent header.
InferredThe agent named nothing, but the call came from a network that belongs to exactly one agent.
NoneNothing matched. The call is labeled Other.

A few rules sit on top of this order:

  • A mismatch is flagged. When the evidence names an agent but the call comes from outside that agent’s network, the call is marked as a mismatch, a sign that something may be claiming to be that agent. This applies to an OAuth client from the wrong network, and to a call that says it is Claude without coming from Anthropic’s network. The label stays, at the declared tier.
  • A network alone never goes above inferred. Vendors’ published address lists lag behind their real traffic, so a network on its own only ever infers.
  • Meta Muse is inferred only for bare clients. Muse writes its own MCP client with a standard SDK, so it is recognized from Meta’s network only when the call names no other app.

MCP Tower refreshes what the checks rely on every hour: the signing keys of the authorization servers your MCP servers use, the keys agents sign their requests with, and the address ranges vendors publish, such as OpenAI’s list for ChatGPT and Anthropic’s range for Claude. If a refresh fails, the last good copy stays in use.

The token, signature or certificate is never stored (see Privacy and data). Only the label, the tier, the kind of evidence and the mismatch flag are recorded with the call. So a label is decided once, when the call is made: improvements to detection apply to new calls, never to history.

Measure shows the label only. Every call counts under its agent whatever its tier, and the tier and mismatch flag are not shown on the page. Keep these points in mind:

  • Most labels are declared. Few agents sign their requests today, so most calls are labeled from what the agent says about itself, and any client can claim a name.
  • Signing in makes labels stronger. If your server uses OAuth with JWT access tokens, calls from ChatGPT and Claude can reach the strong tier from their OAuth client. With opaque tokens, MCP Tower can’t read the client.
  • Claude is one label. claude.ai and Claude Desktop call your server from Anthropic’s cloud with identical requests, so MCP Tower can’t tell them apart.
  • Country follows the agent. ChatGPT sends the user’s country. Agents that call from their vendor’s cloud, such as Claude, show the vendor’s location, not the user’s.
  • Other holds the unrecognized. Scripts, test clients and agents MCP Tower doesn’t know yet all land there. If the Other share is large, look into it with the AI agent filter.

Users and sessions take their agent from their calls, preferring the call with the highest tier. See Users and sessions.

To compare agents in a conversation, ask MCP Tower’s MCP server, for example “which tool fails in ChatGPT only?” See Use MCP Tower from your AI agent.