Hidden while we check this listing

Our automated checks found a problem, so this listing is out of search, browse and the API until it clears. It comes back on its own once the problem is fixed.

  • The install package comes from a different repo than this listing's
Own this project? Claim it
Byok Observability MCP logo

Byok Observability MCP

by alimuratkuslu

Local MCP server to query Grafana, Prometheus, Kafka UI, and Datadog with BYOK credentials in env vars.

Install Byok Observability MCP

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "alimuratkuslu-byok-observability-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "process"
      ],
      "env": {
        "GRAFANA_URL": "YOUR_VALUE_HERE",
        "GRAFANA_TOKEN": "YOUR_VALUE_HERE",
        "PROMETHEUS_URL": "YOUR_VALUE_HERE",
        "KAFKA_UI_URL": "YOUR_VALUE_HERE",
        "DD_API_KEY": "YOUR_VALUE_HERE",
        "DD_APP_KEY": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings β†’ Developer β†’ Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

We couldn’t confirm it starts correctly

The install command didn't complete successfully in our automated test.

npx -y process

npm ERR! could not determine executable to run npm ERR! A complete log of this run can be found in: /home/user/.npm/_logs/2026-10-01T13_01_33_567Z-debug-0.log

This is an experimental automated check and can have false negatives β€” missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

This MCP server enables querying observability tools like Grafana, Prometheus, Kafka UI, and Datadog from AI clients such as Claude Code or OpenAI Codex. It uses a Bring Your Own Key (BYOK) model where credentials remain securely in environment variables on your machine, ensuring no data leaves your environment. Configure only the backends you use, and the server exposes only those tools. It runs locally via npx without cloning or building.

Use cases

  • Query Grafana dashboards and alerts programmatically
  • Run Prometheus queries and retrieve metrics
  • Access Kafka UI information through AI agents
  • Fetch Datadog monitoring data securely
  • Perform unified health checks across observability backends

Key features

  • Supports Grafana, Prometheus, Kafka UI, and Datadog
  • BYOK model with credentials in environment variables
  • Partial setup exposing only configured backends
  • Unified health check tool across all configured services
  • Interactive CLI wizard for quick configuration
  • Compatible with Claude Code and OpenAI Codex clients

Security & health

What it can reach and how reliably it runs β€” from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

25/25 checks healthy over the last 107d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 4d ago via OSV.dev Β· process (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks β€” not a rating.

GitHub stars4Stargazers on the source repository.
Last commit7mo agoMost recent push to the default branch.
Install checkInconclusiveInstall command did not finish in our automated test.
Directory activity5 viewsConfig copies, upvotes, and views on AllMCPs.

From the project README

byok-observability-mcp

byok-observability-mcp

Query your observability stack from Claude Code, Codex, or any MCP client and no data leaves your machine.

npm version License: MIT Awesome MCP Servers Node β‰₯18 alimuratkuslu/byok-observability-mcp MCP server

Grafana Prometheus Kafka UI Datadog


Bring Your Own Keys β€” credentials stay in env vars on your machine. No clone, no build, runs via npx.

Partial setup β€” configure only the backends you use. Tools for unconfigured backends are never exposed.

Quick Start Β· Tools Β· Credentials Β· Configuration Β· Scheduled Reports Β· Examples Β· Security Β· Development


How it works

     πŸ€– Claude Code / Codex CLI      
                 β”‚                   
                 β–Ό                   
     ⚑ byok-observability-mcp       
        (Local npx process)          
                 β”‚                   
  πŸ”’ env vars never leave your machine 
                 β”‚                   
                 β–Ό                   
 β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” 
 β”‚  πŸ“Š Grafana     πŸ”₯ Prometheus   β”‚ 
 β”‚  πŸ›Ά Kafka UI    🐢 Datadog      β”‚ 
 β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ 

⚑ Quick Start

Option A β€” Interactive wizard (recommended)

Run once, answer a few questions, get a ready-made .mcp.json:

Terminal
npx byok-observability-mcp --init

The wizard will:

  • Let you pick which backends to configure
  • Ask for credentials per service
  • Test connectivity with your real endpoints before writing anything
  • Write .mcp.json to your project root or ~/.claude/ β€” your choice

Then just start Claude Code:

bash
claude

[!TIP] That's it. No clone, no build, no env file. Works in under 60 seconds.


Option B β€” Manual .mcp.json

Create .mcp.json in your project root. Include only the backends you need.

config.json
{
  "mcpServers": {
    "observability-mcp": {
      "command": "npx",
      "args": ["-y", "byok-observability-mcp"],
      "env": {
        "GRAFANA_URL":    "https://grafana.mycompany.internal",
        "GRAFANA_TOKEN":  "glsa_...",
        "PROMETHEUS_URL": "https://prometheus.mycompany.internal",
        "KAFKA_UI_URL":   "https://kafka-ui.mycompany.internal",
        "DD_API_KEY":     "your-datadog-api-key",
        "DD_APP_KEY":     "your-datadog-app-key"
      }
    }
  }
}

Credentials in git? Use the ${VAR} approach instead β€” see Configuration β†’ Method B.

Start Claude Code:

bash
claude

Claude Code reads .mcp.json automatically. No claude mcp add, no build step.

Verify by asking Claude:

Code
What observability tools do you have available?

🧩 Supported clients

ClientConfiguration
Claude Code.mcp.json in project root (recommended) or claude mcp add CLI
OpenAI Codex CLI.mcp.json in project root β€” same format as Claude Code

Both clients read .mcp.json automatically. The Quick Start above works for either.

Codex CLI example
bash
# Same .mcp.json as above works out of the box
codex

Or add via CLI:

bash
codex mcp add --transport stdio observability-mcp -- npx -y byok-observability-mcp

πŸ”§ Available tools

πŸ›°οΈ System β€” 1 tool

Always available. Checks connectivity across all configured backends.

ToolDescription
obs_health_checkUnified Health Check. Runs a parallel check on all backends and returns a status table.
Grafana Β 7 tools

Enabled when GRAFANA_URL + GRAFANA_TOKEN are set.

ToolDescription
grafana_healthCheck connectivity, version, and database status
grafana_list_datasourcesList all datasources (name, type, UID)
grafana_query_metricsRun a PromQL expression via a Grafana datasource
grafana_list_dashboardsSearch and list dashboards by name or tag
grafana_get_dashboardGet panels and metadata for a dashboard by UID
grafana_list_alertsList active alerts from Alertmanager (firing/pending)
grafana_get_alert_rulesList all configured alert rules across all folders
Prometheus Β 5 tools

Enabled when PROMETHEUS_URL is set.

ToolDescription
prometheus_healthCheck connectivity
prometheus_queryInstant PromQL query β€” current value of a metric
prometheus_query_rangeRange PromQL query β€” metric values over time
prometheus_list_metricsList all available metric names
prometheus_metric_metadataGet help text and type for a specific metric
Kafka UI Β 6 tools

Enabled when KAFKA_UI_URL is set.

ToolDescription
kafka_list_clustersList configured Kafka clusters and their status
kafka_list_topicsList topics in a cluster
kafka_describe_topicGet partition count, replication factor, and config
kafka_list_consumer_groupsList consumer groups and their state
kafka_consumer_group_lagGet per-partition lag for a consumer group
kafka_broker_healthBroker count and disk usage per broker
Datadog Β proxied via official server

Enabled when both DD_API_KEY and DD_APP_KEY are set. Proxies the official Datadog MCP server.

Default toolsets: core, apm, alerting. Set DD_TOOLSETS=all to load everything.

ToolsetCovers
coreMetrics, dashboards, monitors, infrastructure
apmAPM services, traces, service map
alertingMonitors, downtimes, alerts
logsLog search and analytics
incidentsIncident management
ddsqlSQL-style metric queries
securityCloud security posture
syntheticsSynthetic test results
networksNetwork performance monitoring
dbmDatabase monitoring
software-deliveryCI/CD pipelines
llm-obsLLM observability
casesCase management
feature-flagsFeature flag tracking

πŸ”‘ Getting credentials

Grafana Β Service account token
  1. Open Grafana β†’ Administration β†’ Users and access β†’ Service accounts
  2. Click Add service account β†’ set Role to Viewer β†’ Create
  3. On the service account page β†’ Add service account token β†’ Generate token
  4. Copy the token (starts with glsa_) β€” you won't see it again
Code
GRAFANA_URL=https://grafana.mycompany.internal
GRAFANA_TOKEN=glsa_xxxxxxxxxxxxxxxx

If your Grafana uses a self-signed certificate:

Code
GRAFANA_VERIFY_SSL=false
Prometheus Β URL (+ optional basic auth)

If Prometheus has no authentication:

Code
PROMETHEUS_URL=https://prometheus.mycompany.internal

If Prometheus uses basic auth:

Code
PROMETHEUS_URL=https://prometheus.mycompany.internal
PROMETHEUS_USERNAME=your-username
PROMETHEUS_PASSWORD=your-password
Kafka UI Β URL (+ optional login)

If Kafka UI has no authentication:

Code
KAFKA_UI_URL=https://kafka-ui.mycompany.internal

If Kafka UI requires a login:

Code
KAFKA_UI_URL=https://kafka-ui.mycompany.internal
KAFKA_UI_USERNAME=admin
KAFKA_UI_PASSWORD=your-password

Reviews

No reviews yet β€” be the first to share how it worked for you.

Frequently Asked Questions about Byok Observability MCP

Use the interactive wizard via 'npx byok-observability-mcp --init' or create a .mcp.json file with only the backends you use and their credentials in environment variables.

No, credentials are kept in environment variables on your local machine and never leave it.

Claude Code and OpenAI Codex CLI are supported and automatically read the .mcp.json configuration.

Yes, you only configure the backends you use; tools for unconfigured backends are not exposed.

Ask your AI client 'What observability tools do you have available?' or run the 'obs_health_check' tool.

Related MCP servers

Add a badge to your READMEShow it’s listed β€” live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewByok Observability MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/alimuratkuslu-byok-observability-mcp?style=directory)](https://allmcps.com/mcp/alimuratkuslu-byok-observability-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/alimuratkuslu-byok-observability-mcp"><img src="https://allmcps.com/api/badge/alimuratkuslu-byok-observability-mcp?style=directory" alt="Byok Observability MCP on AllMCPs" /></a>