MCP Server

You can now connect your AI agents to Trace0 via our MCP server.

We’ve released our MCP server. This means you can now connect Claude Code, Cursor, and other MCP-compatible AI agents to Trace0 to investigate errors, analyze performance, and troubleshoot issues faster.

Claude Code

Authentication

The Trace0 MCP server uses OAuth for authentication. Simply add the server URL (https://app.trace0hq.com/api/mcp) to your MCP client, and you’ll be redirected to your browser to sign in to your Trace0 account and authorize access. See our docs for full instructions.

Tools

The Trace0 MCP server provides the following tools for querying your environments, services, transactions, logs, and metrics:

ToolDescription
get_environmentsReturns the names of all environments in the authenticated user’s Trace0 account.
get_servicesReturns the name and programming language of all services in the given environment.
get_transactionsReturns the summaries of transactions matching the specified filters.
get_transaction_detailReturns the transaction details for the given transaction ID.
get_log_countReturns the number of logs matching the specified filters, aggregated by service name, severity level and time bucket.
get_service_metric_summariesReturns metric summaries for all services in the given environment and time period.
get_service_metricsReturns detailed metrics for a specific service in the given environment and time period, aggregated by time bucket.

Fair Use Limits

The Trace0 MCP server comes with the following fair-use limits:

  • 50,000 monthly tool calls

Once a limit is exceeded, the MCP server will return an error describing the applicable restriction.

If you require higher limits, please contact us at hello@trace0hq.com to discuss.

Read more

More Filters for Transaction Search

You can now filter transactions by latency, HTTP Status code, endpoint name and additional log search — making it much faster to find the requests you care about.

We’ve shipped new transaction search functionality. You can now apply the following filters to your transaction search:

  • Latency — set a minimum or maximum duration in milliseconds or seconds to focus on slow or fast requests.

  • HTTP Status Code — filter to all 4xx errors, all 5xx errors, or a specific code like 404 or 503.

  • Endpoint — filter by the endpoint that handled the request.

  • Log Search — show only transactions where any of its log entries contain the search term.

How to use it

Open the Transactions screen and click the More Filters icon in the top right:

Transaction search with more filters

You can then add additional filters from the pop-up modal. Filters are combined using AND logic, so only transactions matching all applied filters are returned, including any already set in the Transactions screen, such as Service or Time Period.

More Filters modal
Read more