StackMCP

Monitoring & Observability Stack for Claude Code

Advanced5 servers48.4K tokens

Configuration

{
  "mcpServers": {
    "datadog-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "datadog-mcp-server"
      ],
      "env": {
        "DD_API_KEY": "YOUR_DD_API_KEY",
        "DD_APP_KEY": "YOUR_DD_APP_KEY"
      }
    },
    "grafana-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@leval/mcp-grafana"
      ],
      "env": {
        "GRAFANA_URL": "YOUR_GRAFANA_URL",
        "GRAFANA_API_KEY": "YOUR_GRAFANA_API_KEY"
      }
    },
    "sentry-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "sentry-mcp"
      ],
      "env": {
        "SENTRY_AUTH_TOKEN": "YOUR_SENTRY_AUTH_TOKEN"
      }
    },
    "github-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-github"
      ],
      "env": {
        "GITHUB_PERSONAL_ACCESS_TOKEN": "YOUR_GITHUB_PERSONAL_ACCESS_TOKEN"
      }
    },
    "slack-official-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-slack"
      ],
      "env": {
        "SLACK_BOT_TOKEN": "YOUR_SLACK_BOT_TOKEN",
        "SLACK_TEAM_ID": "YOUR_SLACK_TEAM_ID"
      }
    }
  }
}

CLI Commands

Alternatively, add each server via the Claude Code CLI:

claude mcp add datadog-mcp -e DD_API_KEY=YOUR_DD_API_KEY -e DD_APP_KEY=YOUR_DD_APP_KEY -- npx -y datadog-mcp-server
claude mcp add grafana-mcp -e GRAFANA_URL=YOUR_GRAFANA_URL -e GRAFANA_API_KEY=YOUR_GRAFANA_API_KEY -- npx -y @leval/mcp-grafana
claude mcp add sentry-mcp -e SENTRY_AUTH_TOKEN=YOUR_SENTRY_AUTH_TOKEN -- npx -y sentry-mcp
claude mcp add github-mcp -e GITHUB_PERSONAL_ACCESS_TOKEN=YOUR_GITHUB_PERSONAL_ACCESS_TOKEN -- npx -y @modelcontextprotocol/server-github
claude mcp add slack-official-mcp -e SLACK_BOT_TOKEN=YOUR_SLACK_BOT_TOKEN -e SLACK_TEAM_ID=YOUR_SLACK_TEAM_ID -- npx -y @modelcontextprotocol/server-slack

Where to save

Paste the config above into:

~/.claude.json

Environment Variables

Replace the YOUR_ placeholders with your actual values.

DD_API_KEYrequired

Datadog API key

Used by: Datadog MCP

DD_APP_KEYrequired

Datadog application key

Used by: Datadog MCP

GRAFANA_URLrequired

Grafana instance URL

Used by: Grafana MCP

GRAFANA_API_KEYrequired

Grafana API key or service account token

Used by: Grafana MCP

SENTRY_AUTH_TOKENrequired

Sentry auth token

Used by: Sentry MCP

GITHUB_PERSONAL_ACCESS_TOKENrequired

GitHub personal access token

Used by: GitHub MCP

SLACK_BOT_TOKENrequired

Slack bot token (xoxb-...)

Used by: Slack MCP (Official)

SLACK_TEAM_IDrequired

Slack team/workspace ID

Used by: Slack MCP (Official)

What’s in this stack

Datadog MCP15 tools

Access Datadog monitoring data including dashboards, metrics, logs, events, incidents, and monitors from your AI editor.

Collect and analyze infrastructure metrics, application traces, and logs from every layer of your stack in one unified platform.

Grafana MCP43 tools

Search dashboards, query datasources, manage alerts, view incidents, and interact with Grafana observability tools from your AI editor.

Build and manage custom dashboards, set up alert rules, and visualize time-series data from multiple data sources.

Sentry MCP8 tools

Query Sentry for error tracking, performance monitoring, and issue management directly from your AI editor.

Capture application errors with full stack traces and context, tracking error frequency and impact across releases.

GitHub MCP20 tools

Access the GitHub API to manage repositories, issues, pull requests, branches, and workflows directly from your AI editor.

Link incidents to code changes, create post-mortem issues, and trigger automated rollbacks through CI/CD integration.

Official MCP server for Slack. Send and read messages, manage channels, and search conversations from your AI editor.

Route alerts and incident notifications to the right team channels, enabling fast coordination during outages.

Other editors