GitHub
server ทางการของ GitHub ให้ AI อ่านและจัดการโค้ด issue และ pull request ในบัญชีของคุณได้ ใช้ผ่านคลาวด์ของ GitHub หรือรันในเครื่องด้วย Docker ก็ได้
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Query OTel traces across Jaeger, Tempo, Traceloop, Datadog, Sentry, X-Ray, New Relic, Honeycomb.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
BACKEND_TYPE, BACKEND_URL, BACKEND_API_KEY, BACKEND_AWS_REGION, BACKEND_NEWRELIC_ACCOUNT_ID, BACKEND_HONEYCOMB_DATASET, BACKEND_APP_KEY, BACKEND_TEMPO_INSTANCE_ID, BACKEND_SENTRY_ORG, BACKEND_SENTRY_PROJECT, BACKEND_ENVIRONMENTS, BACKEND_TIMEOUT, BACKEND_MAX_RESPONSE_BYTES, LOG_LEVEL, MAX_TRACES_PER_QUERY, SLOW_REQUEST_THRESHOLD_MS, QUERY_CACHE_TTL_SECONDS, QUERY_CACHE_MAX_ENTRIES, OTEL_EXPORTER_OTLP_ENDPOINT, OTEL_SERVICE_NAME, MCP_INCLUDE_ARGS_IN_SPANSค่าที่ติดป้ายความลับคือกุญแจของบัญชีคุณ อย่าส่งให้ใคร และอย่าวางในแชต
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"tracehub": {
"command": "uvx",
"args": [
"tracehub-mcp"
],
"env": {
"BACKEND_TYPE": "ใส่ค่าของคุณ",
"BACKEND_URL": "ใส่ค่าของคุณ",
"BACKEND_API_KEY": "ใส่ค่าของคุณ",
"BACKEND_AWS_REGION": "ใส่ค่าของคุณ",
"BACKEND_NEWRELIC_ACCOUNT_ID": "ใส่ค่าของคุณ",
"BACKEND_HONEYCOMB_DATASET": "ใส่ค่าของคุณ",
"BACKEND_APP_KEY": "ใส่ค่าของคุณ",
"BACKEND_TEMPO_INSTANCE_ID": "ใส่ค่าของคุณ",
"BACKEND_SENTRY_ORG": "ใส่ค่าของคุณ",
"BACKEND_SENTRY_PROJECT": "ใส่ค่าของคุณ",
"BACKEND_ENVIRONMENTS": "ใส่ค่าของคุณ",
"BACKEND_TIMEOUT": "ใส่ค่าของคุณ",
"BACKEND_MAX_RESPONSE_BYTES": "ใส่ค่าของคุณ",
"LOG_LEVEL": "ใส่ค่าของคุณ",
"MAX_TRACES_PER_QUERY": "ใส่ค่าของคุณ",
"SLOW_REQUEST_THRESHOLD_MS": "ใส่ค่าของคุณ",
"QUERY_CACHE_TTL_SECONDS": "ใส่ค่าของคุณ",
"QUERY_CACHE_MAX_ENTRIES": "ใส่ค่าของคุณ",
"OTEL_EXPORTER_OTLP_ENDPOINT": "ใส่ค่าของคุณ",
"OTEL_SERVICE_NAME": "ใส่ค่าของคุณ",
"MCP_INCLUDE_ARGS_IN_SPANS": "ใส่ค่าของคุณ"
}
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add tracehub --env BACKEND_TYPE='ใส่ค่าของคุณ' --env BACKEND_URL='ใส่ค่าของคุณ' --env BACKEND_API_KEY='ใส่ค่าของคุณ' --env BACKEND_AWS_REGION='ใส่ค่าของคุณ' --env BACKEND_NEWRELIC_ACCOUNT_ID='ใส่ค่าของคุณ' --env BACKEND_HONEYCOMB_DATASET='ใส่ค่าของคุณ' --env BACKEND_APP_KEY='ใส่ค่าของคุณ' --env BACKEND_TEMPO_INSTANCE_ID='ใส่ค่าของคุณ' --env BACKEND_SENTRY_ORG='ใส่ค่าของคุณ' --env BACKEND_SENTRY_PROJECT='ใส่ค่าของคุณ' --env BACKEND_ENVIRONMENTS='ใส่ค่าของคุณ' --env BACKEND_TIMEOUT='ใส่ค่าของคุณ' --env BACKEND_MAX_RESPONSE_BYTES='ใส่ค่าของคุณ' --env LOG_LEVEL='ใส่ค่าของคุณ' --env MAX_TRACES_PER_QUERY='ใส่ค่าของคุณ' --env SLOW_REQUEST_THRESHOLD_MS='ใส่ค่าของคุณ' --env QUERY_CACHE_TTL_SECONDS='ใส่ค่าของคุณ' --env QUERY_CACHE_MAX_ENTRIES='ใส่ค่าของคุณ' --env OTEL_EXPORTER_OTLP_ENDPOINT='ใส่ค่าของคุณ' --env OTEL_SERVICE_NAME='ใส่ค่าของคุณ' --env MCP_INCLUDE_ARGS_IN_SPANS='ใส่ค่าของคุณ' -- uvx tracehub-mcpเติมค่าที่เว้นว่างไว้ก่อนรัน
วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"tracehub": {
"command": "uvx",
"args": [
"tracehub-mcp"
],
"env": {
"BACKEND_TYPE": "ใส่ค่าของคุณ",
"BACKEND_URL": "ใส่ค่าของคุณ",
"BACKEND_API_KEY": "ใส่ค่าของคุณ",
"BACKEND_AWS_REGION": "ใส่ค่าของคุณ",
"BACKEND_NEWRELIC_ACCOUNT_ID": "ใส่ค่าของคุณ",
"BACKEND_HONEYCOMB_DATASET": "ใส่ค่าของคุณ",
"BACKEND_APP_KEY": "ใส่ค่าของคุณ",
"BACKEND_TEMPO_INSTANCE_ID": "ใส่ค่าของคุณ",
"BACKEND_SENTRY_ORG": "ใส่ค่าของคุณ",
"BACKEND_SENTRY_PROJECT": "ใส่ค่าของคุณ",
"BACKEND_ENVIRONMENTS": "ใส่ค่าของคุณ",
"BACKEND_TIMEOUT": "ใส่ค่าของคุณ",
"BACKEND_MAX_RESPONSE_BYTES": "ใส่ค่าของคุณ",
"LOG_LEVEL": "ใส่ค่าของคุณ",
"MAX_TRACES_PER_QUERY": "ใส่ค่าของคุณ",
"SLOW_REQUEST_THRESHOLD_MS": "ใส่ค่าของคุณ",
"QUERY_CACHE_TTL_SECONDS": "ใส่ค่าของคุณ",
"QUERY_CACHE_MAX_ENTRIES": "ใส่ค่าของคุณ",
"OTEL_EXPORTER_OTLP_ENDPOINT": "ใส่ค่าของคุณ",
"OTEL_SERVICE_NAME": "ใส่ค่าของคุณ",
"MCP_INCLUDE_ARGS_IN_SPANS": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"tracehub": {
"type": "stdio",
"command": "uvx",
"args": [
"tracehub-mcp"
],
"env": {
"BACKEND_TYPE": "ใส่ค่าของคุณ",
"BACKEND_URL": "ใส่ค่าของคุณ",
"BACKEND_API_KEY": "ใส่ค่าของคุณ",
"BACKEND_AWS_REGION": "ใส่ค่าของคุณ",
"BACKEND_NEWRELIC_ACCOUNT_ID": "ใส่ค่าของคุณ",
"BACKEND_HONEYCOMB_DATASET": "ใส่ค่าของคุณ",
"BACKEND_APP_KEY": "ใส่ค่าของคุณ",
"BACKEND_TEMPO_INSTANCE_ID": "ใส่ค่าของคุณ",
"BACKEND_SENTRY_ORG": "ใส่ค่าของคุณ",
"BACKEND_SENTRY_PROJECT": "ใส่ค่าของคุณ",
"BACKEND_ENVIRONMENTS": "ใส่ค่าของคุณ",
"BACKEND_TIMEOUT": "ใส่ค่าของคุณ",
"BACKEND_MAX_RESPONSE_BYTES": "ใส่ค่าของคุณ",
"LOG_LEVEL": "ใส่ค่าของคุณ",
"MAX_TRACES_PER_QUERY": "ใส่ค่าของคุณ",
"SLOW_REQUEST_THRESHOLD_MS": "ใส่ค่าของคุณ",
"QUERY_CACHE_TTL_SECONDS": "ใส่ค่าของคุณ",
"QUERY_CACHE_MAX_ENTRIES": "ใส่ค่าของคุณ",
"OTEL_EXPORTER_OTLP_ENDPOINT": "ใส่ค่าของคุณ",
"OTEL_SERVICE_NAME": "ใส่ค่าของคุณ",
"MCP_INCLUDE_ARGS_IN_SPANS": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
BACKEND_AWS_REGION envBACKEND_NEWRELIC_ACCOUNT_ID envBACKEND_HONEYCOMB_DATASET envBACKEND_TEMPO_INSTANCE_ID envBACKEND_SENTRY_ORG envBACKEND_SENTRY_PROJECT envBACKEND_ENVIRONMENTS envBACKEND_TIMEOUT envBACKEND_MAX_RESPONSE_BYTES envLOG_LEVEL envMAX_TRACES_PER_QUERY envSLOW_REQUEST_THRESHOLD_MS envQUERY_CACHE_TTL_SECONDS envQUERY_CACHE_MAX_ENTRIES envOTEL_EXPORTER_OTLP_ENDPOINT envOTEL_SERVICE_NAME envMCP_INCLUDE_ARGS_IN_SPANS envค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 6 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub mcpsmiths ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
ต้องใส่ค่าเหล่านี้: BACKEND_TYPE, BACKEND_URL, BACKEND_API_KEY, BACKEND_APP_KEY
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.13.1) เข้า registry 6 วันที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Python (uv) ในเครื่องด้วย
ในหมวดเดียวกันมี GitHub, Desktop Commander, Cloudflare MCP
server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว
อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
server ทางการของ GitHub ให้ AI อ่านและจัดการโค้ด issue และ pull request ในบัญชีของคุณได้ ใช้ผ่านคลาวด์ของ GitHub หรือรันในเครื่องด้วย Docker ก็ได้
MCP server for terminal commands, file operations, and process management
Cloudflare MCP servers
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
Also listed on the official MCP registry as io.github.mcpsmiths/tracehub-mcp (the registry's own ?search= endpoint can surface an outdated version first; this exact-name endpoint always reflects the current isLatest release), and on mcprush.
Give your AI assistant a direct line into your observability backend. tracehub-mcp is an MCP (Model Context Protocol) server that lets Claude, Cursor, Windsurf, Gemini CLI, or any MCP client query OpenTelemetry traces from your LLM/GenAI application and reason about them — find expensive calls, debug errors, compare model performance, track token usage — without you copy-pasting trace JSON into a chat window.
It speaks OpenTelemetry's gen_ai.* semantic conventions natively, so it understands prompts, completions, token usage, and finish reasons as first-class concepts, not just generic span attributes.
tracehub-mcp started as a fork of traceloop/opentelemetry-mcp-server (Apache 2.0) — full attribution and fork history are in NOTICE. It's grown into an 8-backend, security-hardened server maintained independently under mcpsmiths; see What's Different From Upstream below for the parts that are new here.
tracehub-mcp is on PyPI. No install step needed — uvx fetches and runs it in one shot:
// claude_desktop_config.json
{ "mcpServers": { "tracehub-mcp": { "command": "uvx", "args": ["tracehub-mcp"], "env": { "BACKEND_TYPE": "jaeger", "BACKEND_URL": "http://localhost:16686" } } } }
Or from Claude Code directly:
claude mcp add tracehub-mcp -e BACKEND_TYPE=jaeger -e BACKEND_URL=http://localhost:16686 -- uvx tracehub-mcp
That's it. Ask your assistant: _"Show me traces with errors from the last hour."_
See MCP Client Setup for Cursor, Windsurf, VS Code, and Gemini CLI, and Installation for pip/pipx/from-source alternatives.
BACKEND_API_KEY; credentials embedded in BACKEND_URL are rejected).boto3, requires an AWS region and standard AWS credentials (not an API key). Because OTel span attributes land in unindexed X-Ray segment *metadata* by default (only *annotations* are queryable), native server-side filtering is narrower here than for the other backends — see the Backend Support Matrix.All eight implement the same BaseBackend interface, so every MCP tool works identically regardless of which one you point the server at. See Configuration for per-backend setup.
Upstream opentelemetry-mcp-server shipped Jaeger, Tempo, and Traceloop. tracehub-mcp adds Datadog and Sentry as full backends — not thin wrappers, but complete implementations of every tool (search, span search, trace hydration, service discovery, health checks). Along the way, all five backends — including the three inherited from upstream — were hardened to a consistent bar:
http:// URL, because their auth is a bearer token / API+App key pair that has no business going out over plaintext.filters parameter) are validated against an allowlist pattern before being spliced into the query string, closing off structural injection through a crafted field name.limit or when the backend stops returning a continuation cursor, whichever comes first, so a single tool call can't degrade into an unbounded crawl.now() for a missing timestamp or a literal "unknown" for a missing service_name/operation_name — since a fabricated value would silently corrupt trace ordering, duration aggregation, and any tool that groups by service or operation. (The three backends inherited from upstream — Jaeger, Tempo, Traceloop — predate this discipline and haven't been retrofitted; that's deliberate scope discipline, not an oversight, mirroring this project's own precedent of not reaching into shared/inherited code without full regression coverage for it.)All of this is backed by 458 passing tests (2 skipped, zero regressions), a clean ruff check and mypy --strict run, and two rounds of adversarial CodeRabbit review on the new backends.
tracehub-mcp is on PyPI. Pick whichever of these your workflow already uses — they're equivalent.
uvx (no install step)uvx tracehub-mcp --backend jaeger --url http://localhost:16686
This is what the Quick Start config above uses — uv fetches the package and runs the tracehub-mcp entry point in one shot, nothing left behind on disk between runs.
pip / pipxpipx install tracehub-mcp
tracehub-mcp --backend jaeger --url http://localhost:16686
git clone https://github.com/mcpsmiths/tracehub-mcp.git
cd tracehub-mcp uv sync
uv run tracehub-mcp --backend jaeger --url http://localhost:16686
Use this if you're developing locally, want to pin to a specific commit, or want the dev tooling installed (uv sync --group dev).
# The image's CMD binds 0.0.0.0 inside the container, so a caller token is
Authorization: Bearer $MCP_HTTP_BEARER_TOKEN.export MCP_HTTP_BEARER_TOKEN=$(openssl rand -hex 32) docker run --rm -p 8000:8000 \ -e BACKEND_TYPE=jaeger -e BACKEND_URL=http://host.docker.internal:16686 \ -e MCP_HTTP_BEARER_TOKEN \ -e MCP_ALLOWED_HOSTS=localhost \ ghcr.io/mcpsmiths/tracehub-mcp:latest
Backend responses are capped at BACKEND_MAX_RESPONSE_BYTES (64 MiB decoded by default) before they are buffered, but a container that serves many sessions still benefits from Docker's own guard rails: add --memory 1g --restart unless-stopped (or the Compose equivalents) so a process that does exhaust memory is contained and comes back without an operator.
Runs HTTP transport by default (the image's CMD) and refuses to start without MCP_HTTP_BEARER_TOKEN - or the explicit -e MCP_ALLOW_UNAUTHENTICATED_HTTP=true opt-out, which hands every peer that can reach the published port your backend's full read scope. Clients connect to http://localhost:8000/mcp with Authorization: Bearer ; /health and /ready (the image's HEALTHCHECK) never need the token. Because the CMD binds 0.0.0.0, the container validates the Host header only when MCP_ALLOWED_HOSTS is set - always set it to the hostnames clients use (localhost in the example above, the public name in a real deployment); * turns Host validation off and may not be mixed with names (the server refuses to start). This is also the form to use for MCP clients whose config takes a command/args pair pointing at docker directly (Cursor, Windsurf) instead of a local binary - pass the same -e MCP_HTTP_BEARER_TOKEN=... in args.
Prerequisites: Python 3.11+, plus uv for Options 1 and 3; Docker for Option 4.
Configuration comes from environment variables, CLI flags, or both. Precedence: CLI arguments > environment variables > defaults.
# .env (see .env.example)
BACKEND_TYPE=jaeger BACKEND_URL=http://localhost:16686
# Equivalent via CLI flags
tracehub-mcp --backend jaeger --url http://localhost:16686
| Variable | Type | Default | Description
ตัดมาแค่ช่วงต้น อ่านต่อใน repo