jaeger-mcp-server
Enables to interact with Jaeger distributed tracing system through the MCP protocol. Supports querying traces, services, and operations via natural language.
README
Jaeger MCP Server
MCP Server for Jaeger.
Prerequisites
- Node.js 18+
Quick Start
This MCP server (using STDIO transport) can be added to any MCP Client
like VS Code, Claude, Cursor, Windsurf Github Copilot via the jaeger-mcp-server NPM package.
VS Code
{
"servers": {
"jaeger-mcp-server": {
"command": "npx",
"args": ["-y", "jaeger-mcp-server"],
"envFile": "${workspaceFolder}/.env"
}
}
}
Claude Desktop
{
"mcpServers": {
"jaeger-mcp-server": {
"command": "npx",
"args": ["-y", "jaeger-mcp-server"],
"env": {
"JAEGER_URL": "<YOUR_JAEGER_HTTP_OR_GRPC_API_URL>"
}
}
}
}
Configuration
Environment Variables
JAEGER_URL: HTTP API (HTTP JSON(/api/v3/*)) or the gRPC API (gRPC/Protobuf(jaeger.api_v3.QueryService)) URL of the Jaeger instance to access.JAEGER_PORT: HTTP or gRPC API port of the Jaeger instance to access. The default value is16685for the gRPC API and16686for the HTTP API.JAEGER_AUTHORIZATION_HEADER:AuthorizationHTTP header to be added into the requests for querying traces over Jaeger API (for ex.Basic <Basic Auth Header>)JAEGER_PROTOCOL: API protocol of the Jaeger instance to access. Valid values areGRPCandHTTP. The default value isGRPC. Valid
Components
Tools
get-operations: Gets the operations as JSON array of object withnameandspanKindproperties. Supports the following input parameters:service:Mandatory:trueType:stringDescription: Filters operations by service name
spanKind:Mandatory:falseType:stringDescription: Filters operations by OpenTelemetry span kind (server,client,producer,consumer,internal)
get-services: Gets the service names as JSON array of string. No input parameter supported.get-trace: Gets the spans by the given trace by ID as JSON array of object in the OpenTelemetry resource spans format.traceId:Mandatory:trueType:stringDescription: Filters spans by OpenTelemetry compatible trace id in 32-character hexadecimal string format
startTime:Mandatory:falseType:stringDescription: The start time to filter spans in the RFC 3339, section 5.6 format, (e.g.,2017-07-21T17:32:28Z)
endTime:Mandatory:falseType:stringDescription: The end time to filter spans in the RFC 3339, section 5.6 format, (e.g.,2017-07-21T17:32:28Z)
find-traces: Searches the spans as JSON array of object in the OpenTelemetry resource spans format.serviceName:Mandatory:trueType:stringDescription: Filters spans by OpenTelemetry compatible trace id in 32-character hexadecimal string format
operationName:Mandatory:falseType:stringDescription: The start time to filter spans in the RFC 3339, section 5.6 format, (e.g.,2017-07-21T17:32:28Z)
attributes:-
Mandatory:false -
Type:map<string, string | number | boolean> -
Description: Filters spans by span attributes. Attributes can be passed in key/value format in JSON where keys can be string and values can be string, number (integer or double) or boolean. For example{ "stringAttribute": "str", "integerAttribute": 123, "doubleAttribute": 123.456, "booleanAttribute": true, }
-
startTimeMin:Mandatory:trueType:stringDescription: Start of the time interval (inclusive) in the RFC 3339, section 5.6 format, (e.g.,2017-07-21T17:32:28Z) for the query. Only traces with spans that started on or after this time will be returned.
startTimeMax:Mandatory:trueType:stringDescription: End of the time interval (exclusive) in the RFC 3339, section 5.6 format, (e.g.,2017-07-21T17:32:28Z) for the query. Only traces with spans that started before this time will be returned.
durationMin:Mandatory:falseType:stringDescription: Minimum duration of a span in milliseconds in the trace. Only traces with spans that lasted at least this long will be returned.
durationMax:Mandatory:falseType:stringDescription: Maximum duration of a span in milliseconds in the trace. Only traces with spans that lasted at most this long will be returned.
searchDepth:Mandatory:falseType:numberDescription: Defines the maximum search depth. Depending on the backend storage implementation, this may behave like an SQLLIMITclause. However, some implementations might not support precise limits and a larger value generally results in more traces being returned.
Resources
N/A
Roadmap
- Support
HTTP Streamtransport protocol (SSEtransport protocol is deprecated in favor of it) to be able to use the MCP server from remote. - Support more tools which are not directly available over Jaeger API (orchestrating and pipelining multiple API endpoints)
Issues and Feedback
Please use GitHub Issues for any bug report, feature request and support.
Contribution
If you would like to contribute, please
- Fork the repository on GitHub and clone your fork.
- Create a branch for your changes and make your changes on it.
- Send a pull request by explaining clearly what is your contribution.
Tip: Please check the existing pull requests for similar contributions and consider submit an issue to discuss the proposed feature before writing code.
License
Licensed under MIT.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。