Skip to main content
Glama
parkavenue9639

jaeger-mcp

jaeger-mcp

Read-only MCP server for querying Jaeger environments from Codex.

The server talks to Jaeger Query API over HTTP and returns compact, sanitized summaries instead of raw traces. This is important because production spans can contain sensitive values such as rpc.request.params, user text, emails, SQL text, headers, and provider payloads.

Environments

This repository does not ship real Jaeger URLs. Configure them locally through environment variables.

Logical environments:

  • dev

  • test

  • preview

  • prod

When two logical environments share the same Jaeger Query endpoint, use grouped URL variables:

export JAEGER_DEV_TEST_URL="<dev-test-jaeger-query-url>"
export JAEGER_PREVIEW_PROD_URL="<preview-prod-jaeger-query-url>"
export JAEGER_DEFAULT_ENV="dev"
export JAEGER_TIMEOUT_SECONDS="20"

JAEGER_DEV_TEST_URL configures both dev and test. JAEGER_PREVIEW_PROD_URL configures both preview and prod.

Explicit per-environment variables override grouped variables:

export JAEGER_DEV_URL="<dev-jaeger-query-url>"
export JAEGER_TEST_URL="<test-jaeger-query-url>"
export JAEGER_PREVIEW_URL="<preview-jaeger-query-url>"
export JAEGER_PROD_URL="<prod-jaeger-query-url>"

For custom environments:

export JAEGER_ENVIRONMENTS='{"dev":"<dev-jaeger-query-url>","prod":"<prod-jaeger-query-url>"}'

For headers:

export JAEGER_HEADERS='{"X-Debug":"1"}'
export JAEGER_PROD_HEADERS='{"Authorization":"Bearer ..."}'

Related MCP server: jaeger-mcp

Run

From this repository:

python3 -m jaeger_mcp.server

For Codex MCP configuration, point the command at the source tree without installing:

{
  "mcpServers": {
    "jaeger": {
      "command": "python3",
      "args": ["-m", "jaeger_mcp.server"],
      "env": {
        "PYTHONPATH": "/path/to/jaeger-mcp/src"
      }
    }
  }
}

Replace /path/to/jaeger-mcp with the local checkout path on the machine running Codex.

Tools

  • jaeger_list_services(env?)

  • jaeger_list_operations(env?, service, span_kind?)

  • jaeger_search_traces(env?, service, operation?, lookback?, start_us?, end_us?, min_duration?, max_duration?, limit?, tags?)

  • jaeger_search_error_traces(env?, service, operation?, lookback?, limit?)

  • jaeger_get_trace_summary(env?, trace_id, max_error_spans?, max_slow_spans?)

  • jaeger_find_error_spans(env?, trace_id, max_spans?, include_logs?)

  • jaeger_get_span_detail(env?, trace_id, span_id, include_logs?)

Design boundaries

  • Read-only only.

  • Default output is JSON text suitable for Codex reasoning.

  • Raw tags are not returned wholesale.

  • Sensitive keys are redacted or omitted.

  • Long strings are truncated.

  • Trace search is capped by JAEGER_MAX_LIMIT with a default cap of 50.

Code layout

  • server.py: stdio entrypoint.

  • rpc.py: JSON-RPC request handling.

  • tools.py: MCP tool schemas and dispatch.

  • client.py: Jaeger Query API client and tool implementations.

  • trace_analysis.py: span classification, summaries, and trace URLs.

  • redaction.py: sensitive-key detection and output sanitization.

  • config.py: local environment-variable configuration.

Local tests

python3 -B -m unittest discover -s tests
F
license - not found
-
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    B
    quality
    C
    maintenance
    A read-only MCP server for OpenObserve Community Edition that works over the REST API. Provides tools for searching logs, traces, stream schemas, and dashboards - no Enterprise license required.
    Last updated
    8
    14
    GPL 3.0
  • A
    license
    A
    quality
    A
    maintenance
    Provides read-only access to Jaeger distributed tracing data through the Model Context Protocol. Enables Claude and other MCP-capable agents to search traces, inspect spans, and analyze service dependencies directly within conversations.
    Last updated
    12
    1
    MIT
  • A
    license
    -
    quality
    D
    maintenance
    Enables to interact with Jaeger distributed tracing system through the MCP protocol. Supports querying traces, services, and operations via natural language.
    Last updated
    103
    18
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    MCP server that gives AI agents access to your application's OpenTelemetry traces for querying, analysis, and debugging.
    Last updated
    5
    33
    2
    MIT

View all related MCP servers

Related MCP Connectors

  • Agent-native MCP server over the public saagarpatel.dev corpus. Read-only, stateless.

  • Federated commerce search across independent WooCommerce merchants. Keyless, read-only MCP server.

  • Remote MCP for GenAI span mapping, provider normalization, dashboard schemas, and receipts.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/parkavenue9639/jaeger-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server