Docs Cloud Agentic AI MCP Remote MCP Admin Guide Monitor Activity Monitor MCP Server Activity Page options Copy as Markdown Copied! View as plain text Ask AI about this topic Add MCP server to VS Code After creating an MCP server, you can monitor its activity using the execution log. After reading this page, you will be able to: Consume traces from the execution log Track tool invocations and measure performance Debug tool failures using trace data For conceptual background on traces, spans, and the trace data structure, see Execution log and observability. Prerequisites You must have an existing MCP server. If you do not have one, see Remote MCP Server Quickstart. Consume traces from the execution log MCP servers emit OpenTelemetry traces to the redpanda.otel_traces topic. You can consume these traces using any Kafka-compatible client or the Redpanda Cloud Console. Cloud Console rpk Data Plane API In the Redpanda Cloud Console, navigate to Topics. Select redpanda.otel_traces. Click Messages to view recent traces. Use filters to search for specific trace IDs, span names, or time ranges. Consume the most recent traces: rpk topic consume redpanda.otel_traces --offset end -n 10 Filter for specific MCP server activity by examining the span attributes. Use the Data Plane API to programmatically consume traces and integrate with your monitoring pipeline. Track tool invocations Monitor which tools are being called and how often: Consume traces from redpanda.otel_traces. Filter spans where instrumentationScope.name is rpcn-mcp. Examine the name field to see which tools are being invoked. Calculate frequency by counting spans per tool name over time windows. Example: To find all invocations of a specific tool, filter for spans where name matches your tool name (for example, weather, http_processor). Measure performance Analyze tool execution times: Find spans with instrumentationScope.name set to rpcn-mcp. Calculate duration: (endTimeUnixNano - startTimeUnixNano) / 1000000 (milliseconds). Track percentiles (p50, p95, p99) to identify performance issues. Set alerts for durations exceeding acceptable thresholds. Example: A span with startTimeUnixNano: "1765198415253280028" and endTimeUnixNano: "1765198424660663434" has a duration of 9407ms. Debug failures Investigate errors and failures: Filter spans where status.code is 2 (error). Examine status.message for error details. Check the events array for error events with timestamps. Use traceId to correlate related spans and understand the full error context. Follow parentSpanId relationships to trace the error back to the originating tool. Example: A span with status.code: 2 and status.message: "connection timeout" indicates the operation failed due to a timeout. Correlate distributed operations Link MCP server activity to downstream effects: Extract traceId from tool invocation spans. Search for the same traceId in other application logs or traces. Follow parentSpanId relationships to build complete operation timelines. Identify bottlenecks across your entire system. Integrate with observability platforms The redpanda.otel_traces topic stores trace data in OpenTelemetry format. Redpanda does not support direct export to platforms like Grafana Cloud and Datadog due to format compatibility limitations. Redpanda produces one span per topic message, whereas these platforms expect traces in batch format. You can consume traces directly from the redpanda.otel_traces topic using any Kafka-compatible consumer for custom analysis and processing. Next steps Execution logs: Learn how traces and spans work Troubleshoot Remote MCP Servers: Diagnose and fix common issues Manage Remote MCP Servers: Manage MCP server lifecycle Back to top × Simple online edits For simple changes, such as fixing a typo, you can edit the content directly on GitHub. Edit on GitHub Or, open an issue to let us know about something that you want us to change. Open an issue Contribution guide For extensive content updates, or if you prefer to work locally, read our contribution guide . Was this helpful? thumb_up thumb_down group Ask in the community mail Share your feedback group_add Make a contribution 🎉 Thanks for your feedback! Scale Resources Redpanda Cloud Management MCP Server