Otel MCP Server

Official Fastify OpenTelemetry Instrumentation

Local serverstdio

What is the Otel MCP Server?

Official Fastify OpenTelemetry Instrumentation

What the server does

@fastify/otel works as a metric creator as well as application performance monitor for your Fastify application.

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
onRequestpreParsing
preValidationpreHandler
preSerializationonSend
onResponseonError

How to install the Otel MCP Server

{
  "mcpServers": {
    "otel": {
      "command": "npx",
      "args": ["-y", "@fastify/otel"],
      "env": {
        "OTEL_SERVICE_NAME": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

VariableDescriptionRequired
OTEL_SERVICE_NAMEConfiguration value read at startup.Optional

Example prompts to try

  • “Use Otel to onRequest.”
  • “Use Otel to preValidation.”
  • “Use Otel to preSerialization.”

Frequently asked questions

Official Fastify OpenTelemetry Instrumentation Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.