Skip to main content

What are Traffic Logs?

Traffic Logs give you a real-time, per-request view of your server’s activity. Every MCP tool call is recorded with its full context: who called it, what parameters were passed, what was returned, how long it took, and what log output your code produced. You can access Traffic Logs from the dashboard sidebar under Observability → Traffic Logs, or from the Logs tab on any server detail page.
Traffic Logs list showing recent requests with status indicators

The log list

Each row in the log list shows:
ColumnDescription
StatusGreen for success, red for error
ToolThe tool name that was called
ServerWhich server received the request
Sourceai-client or dashboard-run
DurationExecution time in milliseconds
TimeTimestamp of the request
You can filter by server, tool, status (success/error), date range, and source.

Request detail

Click any log row to open the full request detail:
Traffic log detail modal showing input params, output, duration, and console logs

Input parameters

The exact JSON payload the AI client sent — the parameters your code received via params.
{
  "repo": "anthropics/anthropic-sdk-python"
}

Output

The return value your tool code produced — exactly what the AI received as the tool result.
{
  "stars": 3421,
  "forks": 312,
  "language": "Python"
}

Console logs

Any output from console.log(), console.info(), console.warn(), console.error(), or console.debug() in your tool code, in order:
[INFO]  Fetching repo: anthropics/anthropic-sdk-python
[INFO]  GitHub API responded in 143ms
[INFO]  Stars: 3421, Forks: 312

Execution metadata

  • Start time and end time
  • Duration (milliseconds)
  • Client IP (geo-resolved to country)
  • MCP session ID

What’s logged and what’s not

LoggedNot logged
Input params.* valuesSecret values (env.*) — always redacted
Return valueInternal MCPCore infrastructure details
Console outputRaw HTTP responses unless you log them
Error messages and stack tracesEncrypted credentials in request headers
Execution duration
Secret values are automatically redacted from all log output. You will never see a raw API key, password, or OAuth token in the logs — even if you accidentally call console.log(env.MY_SECRET).

Filtering and searching

Use the filter bar to narrow down logs:
  • Server — filter to a specific server
  • Tool — filter to a specific tool name
  • Status — All / Success / Error
  • Source — All / AI client / Dashboard run
  • Date range — Last hour, last 24h, last 7 days, custom
Traffic Logs filter bar

Retention

Traffic logs are retained for 30 days on the Free plan and 90 days on paid plans. Older logs are permanently deleted.

Common use cases

Debugging why a tool returned unexpected output: Open the log entry, check the input params (did the AI pass the right values?), check the console output (did the code execute the expected path?), and check the return value. Verifying a new tool works before connecting an AI client: Use the Run panel to fire test calls. These appear in Traffic Logs with source dashboard-run so you can compare the actual output against your expectations. Understanding which tools the AI calls most: Use the Analytics dashboard for aggregate call counts, or browse Traffic Logs sorted by tool name to see the call distribution.