otel-server
by cruz-andr·★ 0·Score 36
MCP server for Docker container inspection and OpenTelemetry trace querying via Jaeger with built-in security features.
Overview
The otel-server is an intelligent Model Context Protocol server that enables autonomous AI agents to function as Site Reliability Engineers. It bridges static code analysis with runtime observability by allowing LLMs to discover Docker containers, monitor resource utilization, tail logs, and explore OpenTelemetry distributed traces via Jaeger. The server includes robust security features like PII redaction, context window protection, and graceful degradation of API errors.
Try asking AI
After installing, here are 5 things you can ask your AI assistant:
When to choose this
Choose this server if you're managing Docker containers and distributed systems with OpenTelemetry and need an AI assistant to help with observability and troubleshooting.
When NOT to choose this
Don't choose this if you don't use Docker or OpenTelemetry, as its functionality is limited to these ecosystems.
Tools this server exposes
6 tools extracted from the READMElist_containersDiscovers local Docker containers by name or status.
get_container_statusReturns container state, health status, exit codes, and restart loops.
get_container_statsCaptures CPU, Memory, and I/O snapshots with warnings for high memory usage.
fetch_logsTails container logs with ANSI stripping, grep filtering, and time-range navigation.
search_error_tracesQueries Jaeger for traces flagged with errors within a specific timeframe.
get_trace_treeRecursively builds and formats a distributed trace into a readable Markdown list.
Comparable tools
Installation
Installation
Prerequisites
- Node.js v22 or higher
- Docker (running locally)
- Jaeger (optional, running locally or accessible via HTTP API)
Build Instructions
git clone https://github.com/cruz-andr/otel-server.git
cd otel-server
npm install
npm run buildConfiguration
Configure via environment variables by copying .env.example to .env or passing them through your MCP client.
Claude Desktop Configuration
{
"mcpServers": {
"otel-server": {
"command": "node",
"args": ["/absolute/path/to/otel-server/build/index.js"]
}
}
}Hosted Server
claude mcp add --transport http otel-server https://otel-server.fly.dev/mcpFAQ
- Does this server require local Docker installation?
- Yes, the server needs Docker running locally with socket access (default at /var/run/docker.sock).
- How does the server handle sensitive data?
- The server automatically redacts PII and credentials including JWTs, Bearer tokens, emails, and credit cards before returning data to the LLM.
Compare otel-server with
Last updated · Auto-generated from public README + GitHub signals.