Skip to main content
Glama
WhaTap MCP Server

WhaTap MCP Server

Official
by whatap

WhaTap MCP Server

Connect your AI assistant to WhaTap monitoring. Query server, APM, Kubernetes, database, and log metrics through natural language.

Zero dependencies. Just Node.js and your WhaTap API token.


Setup (4 steps)

Step 1. Install Node.js

Check if you already have it:

node --version

If it prints v18.x.x or later, skip to Step 2.

If not installed, pick your OS:

brew install node

Don't have Homebrew? Install it from https://brew.sh, or download Node.js directly from https://nodejs.org

winget install OpenJS.NodeJS.LTS

Or download the installer from https://nodejs.org (LTS version). After install, open a new terminal.

curl -fsSL https://deb.nodesource.com/setup_22.x | sudo -E bash -
sudo apt install -y nodejs

The default apt install nodejs gives an old version. Use NodeSource for v18+.

sudo dnf install -y nodejs npm
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash
source ~/.bashrc
nvm install --lts

Step 2. Get your WhaTap API token

  1. Log in to WhaTap Console

  2. Click your profile icon (top-right) → Account Management

  3. Scroll to API Token → copy the token

Step 3. Connect to your AI client

Pick your client and run one command:

Claude Desktop — edit claude_desktop_config.json:

{
  "mcpServers": {
    "whatap": {
      "command": "npx",
      "args": ["-y", "whatap-mcp"],
      "env": {
        "WHATAP_API_TOKEN": "YOUR_TOKEN_HERE"
      }
    }
  }
}

Config file location: ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) · %APPDATA%\Claude\claude_desktop_config.json (Windows)

Claude Code — one command:

claude mcp add whatap \
  -e WHATAP_API_TOKEN=YOUR_TOKEN_HERE \
  -- npx -y github:whatap/whatap-open-mcp

Codex CLI — one command:

codex mcp add whatap \
  --env WHATAP_API_TOKEN=YOUR_TOKEN_HERE \
  -- npx -y github:whatap/whatap-open-mcp

Gemini CLI — one command:

gemini mcp -s user add whatap \
  -e WHATAP_API_TOKEN=YOUR_TOKEN_HERE \
  npx -- -y github:whatap/whatap-open-mcp

Step 4. Try it

Open your AI client and type:

List all my WhaTap projects

You should see your projects with their codes, names, and platforms. If you see them, setup is complete.


Related MCP server: Datadog MCP Server

What you can ask

"Show CPU usage for project 12345 over the last hour"
"What's the TPS trend for my Java APM project?"
"Are there any anomalies in project 12345?"
"What data is available for project 12345?"
"Show Kubernetes pod status for my cluster"
"Generate a JVM heap report for the last week"
"Detect performance bottlenecks between services"

How it works

You → AI Assistant → whatap-mcp → WhaTap API → monitoring data

The server provides 8 tools to your AI assistant:

Tool

What it does

whatap_list_projects

List all your monitoring projects

whatap_project_info

Get project details

whatap_list_agents

List servers/instances in a project

whatap_data_availability

Browse 640 available queries with semantic badges

whatap_describe_mxql

Understand a query before running it

whatap_query_mxql

Run a query — returns data with context, units, and thresholds

whatap_apm_anomaly

Detect APM performance anomalies

whatap_service_topology

Map service connections and bottlenecks

Your AI assistant picks the right tools automatically. You just ask questions in plain language.

Configuration

Variable

Required

Default

WHATAP_API_TOKEN

Yes

—

WHATAP_API_URL

No

https://api.whatap.io

Override WHATAP_API_URL only for government or on-premises installations.

Troubleshooting

"WHATAP_API_TOKEN environment variable is required" → Token not set. Re-run Step 3 with your actual token.

"No API token found for project XXXXX" → Project code doesn't exist or isn't accessible. Ask: List all my WhaTap projects

"npx: command not found" → Node.js not installed. Go back to Step 1.

Tools don't appear in AI client → Restart the AI client after Step 3. For Claude Desktop, fully quit and reopen.

Documentation

  • User Manual — detailed setup for all AI clients with regional configuration

  • Tool Reports — per-tool test reports and analysis

For developers

npm install        # Install dev dependencies
npm run build      # Build
npm run dev        # Dev mode (needs WHATAP_API_TOKEN env var)
npx @modelcontextprotocol/inspector node dist/index.js   # Test with MCP Inspector

License

MIT

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables AI assistants to interact with Datadog's observability platform via natural language, covering metrics, logs, APM, monitors, dashboards, incidents, and infrastructure.
      1
      MIT
    • A
      license
      B
      quality
      C
      maintenance
      Enables AI assistants to query application projects directly for logs, metrics, incidents, and semantic search through read-only tools.
      17
      274 npm
      1
      MIT
    • -
      license
      Not graded
      quality
      Not graded
      maintenance
      Enables AI assistants to query and manage monitoring data through structured tools, covering alerts, devices, metrics, dashboards, reports, remediation workflows, and optional AI/ML analysis integrations.
      -