> ## Documentation Index
> Fetch the complete documentation index at: https://aivision.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Read the relevant procedure and prerequisites before suggesting commands. Cite the section and give an observable check. Treat sample data as illustrative. Report product actions and results only when verified in the user's environment.

# MCP Observability

> Inspect MCP calls by server, link configurations and tool catalogs, then return to the original trace to check arguments and errors.

Use this guide to find which MCP services an agent used, which calls failed, and what a specific tool call received and returned. First complete [agent onboarding](https://aivision.mintlify.site/en/web-quickstart.md) or [SDK integration](https://aivision.mintlify.site/en/integrations/langfuse.md), and confirm that you can see [traces](https://aivision.mintlify.site/en/guides/traces.md).

This guide is part of [Observability view enhancements](https://aivision.mintlify.site/en/guides/observability-enhancements.md). MCP summaries and call details within a Trace share a purple **Enhanced view** tag that opens this guide. The section overview lists all enhanced views.

> [!NOTE]
>
> After the Agent environment installs and calls an MCP service, use **Observation → MCP Observability** to review its records. A configuration saved in AI Vision links calls by server name. For clients such as Cursor and VS Code that need to search this site, use the [documentation MCP](https://aivision.mintlify.site/en/help/mcp.md).

MCP overview statistics currently come from the platform's native OTel / SigNoz trace data. MCP trace summaries and node cards also require native OTel / SigNoz trace details. External Langfuse data sources do not yet provide this aggregation or these cards. Reporting to the platform's native endpoint through the Langfuse SDK differs from connecting an external Langfuse data source; the agent name alone does not identify its data source.

If you have no MCP traffic yet, [try AI Vision with sample data](https://aivision.mintlify.site/en/try-sample.md) to inspect a recorded failure in the walkthrough.

## 1. See which servers were called

Open **Observation → MCP Observability** and check the space, Agent, and time range at the top. The overview shows servers, called tools, calls, error rate, and the highest per-server P95 and P50. Search, filters, and sorting apply to the full server list. Select **Show more** to see more results, or open a server card to load its configuration details.

[![MCP overview with server cards, call counts, and error rates](https://mintcdn.com/aivision/tGph-dPboVL9LWJg/assets/figures/trace-views/mcp-overview.en.light.jpg?fit=max\&auto=format\&n=tGph-dPboVL9LWJg\&q=85\&s=4e34c979dcbdeacfa0d4fd1273106464)](https://aivision.mintlify.site/assets/figures/trace-views/mcp-overview.en.light.jpg)

[![Dark MCP overview with server cards, call counts, and error rates](https://mintcdn.com/aivision/tGph-dPboVL9LWJg/assets/figures/trace-views/mcp-overview.en.dark.jpg?fit=max\&auto=format\&n=tGph-dPboVL9LWJg\&q=85\&s=fcab5434f3b1bff4699fd621f0a1c708)](https://aivision.mintlify.site/assets/figures/trace-views/mcp-overview.en.dark.jpg)

MCP overview: compare calls and errors by server · Demo data · Click to enlarge

Card health comes from observed call outcomes in the current window, not an active connectivity test. An imported configuration without calls has unknown health; calls with incomplete status coverage must not be treated as entirely successful.

Call outcomes distinguish **OK, Error and Status not reported**. Only explicit status or structured results establish success or failure; no error message does not mean success. Incomplete status coverage leaves error rate as **—**, with reported failures and coverage counts retained. Filter unreported calls in Recent calls and check the original results.

### Read P50, P95, and their scope

P50 and P95 are the 50th and 95th percentiles of counted call durations. The current nearest-rank method selects a recorded value; P50 for an even sample does not average the middle two values. See [Read P50 and P95](https://aivision.mintlify.site/en/guides/skill-observability.md#read-p50-and-p95) for definitions and a four-call example. With one call they are equal; with few calls P95 can equal the maximum.

A card's P95 uses that server's calls. The **Called tools** table shows **P50 / P95** on the left and right, calculated per tool. The overview's **Slowest P50 / P95** calculates each server's percentile first, then takes the maximum. It is not a pooled percentile across servers, and the two metrics can belong to different servers. The selected time range and Agent filter apply, including both successful and failed calls.

With no calls, error rate and duration show **—**. A reported **0 ms** may reflect rounding or reporting precision; it does not mean no call occurred. Deployments with complete pagination scan up to **10,000 candidate MCP Spans** in the selected window. Exceeding the limit or failing completeness checks raises an error rather than presenting partial results as complete statistics. The older first-500 truncation behavior is not the new full-window contract. Narrow the window on errors and check frontend, backend and SigNoz query capabilities.

## 2. Link an MCP configuration

A space administrator can select **Import config** to search for public services, paste an existing Agent configuration, or select local JSON files directly. Import links configuration to observability in AI Vision. Use the server names from actual calls. Saving a pasted or registry-generated configuration updates an existing entry with the same name.

### Search a registry and review the configuration

**1. Find a service in the Official MCP Registry**

Open **Import config → Search registry**. Under **Source**, select **Official MCP Registry**. Search by name or select **Browse**, then select **Configure** on the result. With **All sources**, results are grouped by source. Retry a failed source individually.

**2. Check the server name and transport**

Under **Configuration options**, choose a transport and complete the required fields. Match the **Server name** exactly to the server ID in a recorded call. Use letters, numbers, hyphens, or underscores.

**3. Preview and save**

Check **Configuration preview (secrets masked)** and select **Preview JSON import**. Check the recognized server names against the calls you want to associate and save the displayed number of configurations. To edit the read-only preview, return to **Search registry** and reconfigure the result.

<video controls playsInline preload="none" poster="/assets/walkthrough/en/mcp-registry.webp" src="https://mintcdn.com/aivision/ZEwXG9qC_6SHqrLa/assets/walkthrough/en/mcp-registry.mp4?fit=max&auto=format&n=ZEwXG9qC_6SHqrLa&q=85&s=08f5f8bf9956b275c39f3d03bd767d56" aria-label="Find Context7 in the Official MCP Registry, review the HTTP transport, and save the configuration · Chinese UI" />

Find Context7 in the Official MCP Registry, review the HTTP transport, and save the configuration · Chinese UI

The purple outline highlights the masked configuration and **Preview JSON import**. After saving, the overview card for `context7` shows the saved configuration and the observed call status for the selected window.

> [accordion] If the registry has no importable configuration
>
> **mcpservers.org** provides **View source details**. Follow the project’s instructions to get the Agent configuration, then use **Paste JSON**. Official MCP Registry can generate public HTTP/SSE configurations and pinned npm packages using `npx` over stdio. Set up other runtimes, arguments, or the full OAuth 2 authorization flow in the Agent environment using the source instructions.

### Paste an existing Agent configuration

Select **Paste JSON**, paste the Agent client's configuration into the editable **Config JSON** field, and check the recognized servers before saving. The following is a format example only; `example.invalid` is not a working MCP service.

```json theme={null}
{
  "mcpServers": {
    "docs-search": {
      "url": "https://example.invalid/mcp"
    }
  }
}
```

### Choose local JSON files and resolve conflicts

In the import dialog, select **Choose JSON files** and select one or more Agent configurations. The file preview opens under **Paste JSON**. On wide screens, the file button sits to the right of the tabs. On narrow screens, it sits below them. Select up to 100 JSON files and 8 MiB per selection, with a 1 MiB limit per file. Each selection can contain up to 500 server entries.

* The preview skips identical copies with the same name. If their settings differ, use **Choose source** to select one. The preview also shows repeated server names within a single JSON file. The number after the filename identifies each occurrence.
* If the space already has that name, **Keep existing** is the default. To update it, select **Replace existing**, then **Confirm replacement**. To keep both, select **Save as**, review or edit the suggested name, then select **Confirm name**.
* Review the preview and select **Save**. If a new name conflict appears during saving, use the actions shown in that row. Continuing sends only the pending changes. Canceling during a save stops batches that have yet to be sent. Saved configurations remain available.

[![MCP local file preview with a source selector, Confirm replacement, and Keep existing](https://mintcdn.com/aivision/oVxKZYXei3j3mi63/assets/figures/local-config-import/mcp-conflicts.en.light.png?fit=max\&auto=format\&n=oVxKZYXei3j3mi63\&q=85\&s=c3110d21334e2b2e09c715fcd78ea7e9)](https://aivision.mintlify.site/assets/figures/local-config-import/mcp-conflicts.en.light.png)

[![MCP local file preview with a source selector, Confirm replacement, and Keep existing](https://mintcdn.com/aivision/oVxKZYXei3j3mi63/assets/figures/local-config-import/mcp-conflicts.en.dark.png?fit=max\&auto=format\&n=oVxKZYXei3j3mi63\&q=85\&s=f85a9fb64118e870d1338be963245e98)](https://aivision.mintlify.site/assets/figures/local-config-import/mcp-conflicts.en.dark.png)

Review JSON sources and replacement choices · Demo files · Click to enlarge

After an HTTP/SSE configuration is saved, the platform attempts to sync its tool catalog automatically. Tool syncing for stdio is disabled by default. A deployment administrator must explicitly enable it before a space administrator can refresh it manually. The executable and environment available on the agent's machine may not exist on the platform backend.

Configuration JSON is parsed in the browser. Environment variables and headers retain only their names; arguments and URL parts that look like secrets are masked. Secret values entered in a registry form are also excluded from the generated JSON. Original HTTP/SSE header values are held only for the current import flow and used for the single `tools/list` sync after saving; they are not saved as configuration. Enter the headers again when a later sync requires authentication. Members can view configurations, calls, and existing tool snapshots; active syncing and configuration changes require administrator permissions.

[![MCP configuration showing the transport, import time, and server tool snapshot](https://mintcdn.com/aivision/tGph-dPboVL9LWJg/assets/figures/trace-views/mcp-config.en.light.jpg?fit=max\&auto=format\&n=tGph-dPboVL9LWJg\&q=85\&s=b3e4ddceeb79ab0005a7d4cc5b61e433)](https://aivision.mintlify.site/assets/figures/trace-views/mcp-config.en.light.jpg)

[![Dark MCP configuration showing the transport, import time, and server tool snapshot](https://mintcdn.com/aivision/tGph-dPboVL9LWJg/assets/figures/trace-views/mcp-config.en.dark.jpg?fit=max\&auto=format\&n=tGph-dPboVL9LWJg\&q=85\&s=135009c1593c713d9fbe47c77d0510fe)](https://aivision.mintlify.site/assets/figures/trace-views/mcp-config.en.dark.jpg)

Configuration: transport, sanitized settings, and the server tool catalog · Demo data · Click to enlarge

Saving a configuration and successfully syncing its tools are separate steps. If syncing fails for some servers, you do not need to import them again. Open each server's **Config** tab, select **Refresh**, and enter authentication headers again if needed. If reading the tool list fails, retry the read first; a loading error does not mean the catalog is empty.

To remove a configuration from the space, open its server card, choose **Remove config** on the **Config** tab, and confirm. Historical calls remain available.

## 3. Distinguish called tools from server tools

Open the server card and select **Tools**. In **Called tools**, compare call counts, error rates, and recent errors. Expand long descriptions with a pointer or keyboard.

[![MCP server drawer showing called-tool statistics and descriptions](https://mintcdn.com/aivision/tGph-dPboVL9LWJg/assets/figures/trace-views/mcp-tools.en.light.jpg?fit=max\&auto=format\&n=tGph-dPboVL9LWJg\&q=85\&s=136ca973b283fac76c7ed5a6bdddef2e)](https://aivision.mintlify.site/assets/figures/trace-views/mcp-tools.en.light.jpg)

[![Dark MCP server drawer showing called-tool statistics and descriptions](https://mintcdn.com/aivision/tGph-dPboVL9LWJg/assets/figures/trace-views/mcp-tools.en.dark.jpg?fit=max\&auto=format\&n=tGph-dPboVL9LWJg\&q=85\&s=c987bd161811bfb2dfa541646f3f2b24)](https://aivision.mintlify.site/assets/figures/trace-views/mcp-tools.en.dark.jpg)

Called tools: compare actual usage and recent errors · Demo data · Click to enlarge

**Called tools** includes only tools with collected calls in the query window. **Config → Server tools** is a catalog snapshot synced through the MCP protocol and may include tools that have never been called. Different counts are expected. Syncing a catalog does not create call records.

For calls recognized as memory, see [Memory Observability](https://aivision.mintlify.site/en/guides/memory-observability.md). Enhanced views classify ordinary MCP and memory per call; a catalog or configuration declaration does not establish execution. Use [Trace comparison](https://aivision.mintlify.site/en/guides/trace-compare.md) to inspect two task rounds.

## 4. Return to the original trace from a recent call

In **Recent calls**, check the time, tool, status, and duration, then open the corresponding trace. The link preserves the space, agent, and query range. Use the Trace ID and Span ID to confirm that you are inspecting the same call.

[![MCP recent calls showing successful and failed records with trace links](https://mintcdn.com/aivision/tGph-dPboVL9LWJg/assets/figures/trace-views/mcp-calls.en.light.jpg?fit=max\&auto=format\&n=tGph-dPboVL9LWJg\&q=85\&s=e3e9f36a73814f8d5be83ce357819da4)](https://aivision.mintlify.site/assets/figures/trace-views/mcp-calls.en.light.jpg)

[![Dark MCP recent calls showing successful and failed records with trace links](https://mintcdn.com/aivision/tGph-dPboVL9LWJg/assets/figures/trace-views/mcp-calls.en.dark.jpg?fit=max\&auto=format\&n=tGph-dPboVL9LWJg\&q=85\&s=700bc96a21ae216ba630e9d7600f312e)](https://aivision.mintlify.site/assets/figures/trace-views/mcp-calls.en.dark.jpg)

Recent calls: locate the original trace from a failed call · Demo data · Click to enlarge

The trace's Preview includes an **MCP calls in this trace** summary. Expand a server to select an individual call. Select an MCP node to see its server, tool, status, duration, collected arguments, tool description, and error in the right-hand card. Use Input / Output or the raw JSON to check the returned content.

[![Purple outline around storage\_policy, retrieve\_policy, and its description](https://mintcdn.com/aivision/qGp0V6y6p5Gih57B/assets/walkthrough/zh-CN/mcp-span-header.webp?fit=max\&auto=format\&n=qGp0V6y6p5Gih57B\&q=85\&s=94942e4bec38fcea590e6eaa9ee88bb3)](https://aivision.mintlify.site/assets/walkthrough/zh-CN/mcp-span-header.webp)

Check the server, tool, and description on the enhanced MCP card · Demo data · Chinese UI

The outlined header identifies server `storage_policy`, tool `retrieve_policy`, and its description. Continue down the card to inspect reported parameters and the result.

[![Trace call tree and MCP node card with arguments and error details](https://mintcdn.com/aivision/tGph-dPboVL9LWJg/assets/figures/trace-views/mcp-span.en.light.jpg?fit=max\&auto=format\&n=tGph-dPboVL9LWJg\&q=85\&s=87e021f6113f81e0190b5e703f171ac1)](https://aivision.mintlify.site/assets/figures/trace-views/mcp-span.en.light.jpg)

[![Dark trace call tree and MCP node card with arguments and error details](https://mintcdn.com/aivision/tGph-dPboVL9LWJg/assets/figures/trace-views/mcp-span.en.dark.jpg?fit=max\&auto=format\&n=tGph-dPboVL9LWJg\&q=85\&s=53eba5b686deb5b84f7744ef1b096f6e)](https://aivision.mintlify.site/assets/figures/trace-views/mcp-span.en.dark.jpg)

MCP calls within a trace: check arguments, status, and errors · Demo data · Click to enlarge

Recent calls displays at most the latest 200 records in the window. Load more progressively reveals the returned list without removing that limit. Status filters include success, failure and unreported outcomes. Full-window aggregate statistics are separate from this display limit.

## 5. Troubleshoot missing data or descriptions

| Symptom | Next step |
| - | - |
| A registry project has only a source link or no supported configuration options | mcpservers.org supplies directory links only; Official MCP Registry may also lack a supported configuration. Follow the source instructions, then use Paste JSON. Complete full OAuth authorization in the Agent environment. |
| A configuration exists, but there are no calls | Check the space, agent, and time range, then confirm that the client called the server and reported the call. |
| A tool call is missing from MCP Observability | Check for an MCP marker, such as `agentic.tool.type=mcp` or an `mcp__` tool name prefix. A regular tool call may not be recognized as MCP. |
| Calls exist, but configuration or tool descriptions are missing | Import the configuration under the same server name, then ask an administrator to sync the server tool catalog. |
| Tool catalog sync fails | Check the error, connection address, authentication, and deployment network. For stdio, also confirm that syncing is enabled and the command is available on the backend. |
| A scan fails or reaches its limit | Keep the existing configuration, narrow the time range, and retry. The statistics may not cover every call. |

Publicly shared traces show only call information contained in the shared data. They do not provide private MCP configuration management. For more model and tool context, see [Decision traces](https://aivision.mintlify.site/en/guides/decision-traces.md). For a complete guide to reading nodes, see [Agent traces](https://aivision.mintlify.site/en/guides/traces.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.