VictoriaTraces

VictoriaTraces

Provides access to your VictoriaTraces instance and seamless integration with VictoriaTraces APIs and documentation. It can give you a comprehensive interface for tracing, observability, and debugging tasks related to your VictoriaTraces instances, enable advanced automation and interaction capabilities for engineers and tools.

6 Tools

Requires Configuration
Requires Secrets
Add to Docker Desktop

Version 4.43 or later needs to be installed to add the server automatically

About

VictoriaTraces MCP Server

Provides access to your VictoriaTraces instance and seamless integration with VictoriaTraces APIs and documentation. It can give you a comprehensive interface for tracing, observability, and debugging tasks related to your VictoriaTraces instances, enable advanced automation and interaction capabilities for engineers and tools.

What is an MCP Server?

MCP Info

Image Building Info

AttributeDetails
Dockerfilehttps://github.com/VictoriaMetrics-Community/mcp-victoriatraces/blob/19e84f1819a03e4ea6af971d04e7f0f669a98d9e/Dockerfile
Commit19e84f1819a03e4ea6af971d04e7f0f669a98d9e
Docker Image built byVictoriaMetrics-Community
Docker Scout Health ScoreNot available
Verify SignatureNot available
LicenceApache License 2.0

Available Tools (6)

Tools provided by this ServerShort Description
dependenciesService dependency graph
documentationSearch documentation resources
service_operationsList of span names (operations) of a service
servicesList of all services
traceTrace information
tracesQuery traces

Tools Details

Tool: dependencies

Query the service dependency graph. This tools uses /select/jaeger/api/dependencies endpoint of VictoriaTraces API.

ParametersTypeDescription
endTsnumberoptionalThe end timestamp in unix milliseconds. Current timestamp will be used if empty.
lookbacknumberoptionalthe lookbehind window duration in milliseconds (i.e. start-time + lookback = endTs). Default to 1h if empty.
tenantstringoptionalName of the tenant for which the data will be displayed (format AccountID:ProjectID)

This tool is read-only. It does not modify its environment.

This tool interacts with external entities.


Tool: documentation

Search documentation resources for the given search query, returning the URIs of the resources that match the search criteria sorted by relevance. This tool can help to get context for any VictoriaTraces related question.

ParametersTypeDescription
querystringQuery for search (for example, list of keywords)
limitnumberoptionalMaximum number of results to return

This tool is read-only. It does not modify its environment.


Tool: service_operations

Get all the span names (operations) of a service. This tool uses /select/jaeger/api/services/{service_name}/operations endpoint of VictoriaTraces API.

ParametersTypeDescription
service_namestringService name
tenantstringoptionalName of the tenant for which the data will be displayed (format AccountID:ProjectID)

This tool is read-only. It does not modify its environment.

This tool interacts with external entities.


Tool: services

List of all traced services. This tools uses /select/jaeger/api/services endpoint of VictoriaTraces API.

ParametersTypeDescription
tenantstringoptionalName of the tenant for which the data will be displayed (format AccountID:ProjectID)

This tool is read-only. It does not modify its environment.

This tool interacts with external entities.


Tool: trace

Get trace info by trace ID. This tool uses /select/jaeger/api/traces/{trace_id} endpoint of VictoriaTraces API.

ParametersTypeDescription
trace_idstringTrace ID
tenantstringoptionalName of the tenant for which the data will be displayed (format AccountID:ProjectID)

This tool is read-only. It does not modify its environment.

This tool interacts with external entities.


Tool: traces

Query traces. This tool uses /select/jaeger/api/traces endpoint of VictoriaTraces API.

ParametersTypeDescription
limitnumberThe maximum number of traces in query results, default 20.
servicestringService name
endnumberoptionalEnd timestamp in unix milliseconds.
maxDurationstringoptionalThe maximum duration of the span, with units: ns, us, ms, s, m, or h.
minDurationstringoptionalThe minimum duration of the span, with units: ns, us, ms, s, m, or h.
operationstringoptionalThe span name (also known as the operation name in Jaeger)
startnumberoptionalStart timestamp in unix milliseconds.
tenantstringoptionalName of the tenant for which the data will be displayed (format AccountID:ProjectID)

This tool is read-only. It does not modify its environment.

This tool interacts with external entities.


Use this MCP Server

{
  "mcpServers": {
    "victoriatraces": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "VT_INSTANCE_ENTRYPOINT",
        "-e",
        "VT_INSTANCE_HEADERS",
        "-e",
        "MCP_SERVER_MODE",
        "-e",
        "MCP_LISTEN_ADDR",
        "-e",
        "MCP_DISABLED_TOOLS",
        "-e",
        "MCP_HEARTBEAT_INTERVAL",
        "-e",
        "VT_INSTANCE_BEARER_TOKEN",
        "ghcr.io/victoriametrics-community/mcp-victoriatraces"
      ],
      "env": {
        "VT_INSTANCE_ENTRYPOINT": "https://play-vtraces.sandbox.victoriametrics.com",
        "VT_INSTANCE_HEADERS": "HEADER2=HEADER_VALUE,HEADER2=HEADER_VALUE_2",
        "MCP_SERVER_MODE": "stdio",
        "MCP_LISTEN_ADDR": ":8081",
        "MCP_DISABLED_TOOLS": "hits,facets",
        "MCP_HEARTBEAT_INTERVAL": "30s",
        "VT_INSTANCE_BEARER_TOKEN": "<instance_bearer_token_for_authentication>"
      }
    }
  }
}

Why is it safer to run MCP Servers with Docker?

Related servers