StackMCP

Microservices Stack for Cursor

Advanced6 servers39.7K tokens

Configuration

{
  "mcpServers": {
    "kubernetes-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-server-kubernetes"
      ]
    },
    "docker-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "docker-mcp"
      ]
    },
    "postgres-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-postgres",
        "postgresql://localhost/mydb"
      ],
      "env": {
        "POSTGRES_CONNECTION_STRING": "YOUR_POSTGRES_CONNECTION_STRING"
      }
    },
    "redis-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "redis-mcp"
      ],
      "env": {
        "REDIS_URL": "YOUR_REDIS_URL"
      }
    },
    "datadog-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "datadog-mcp-server"
      ],
      "env": {
        "DD_API_KEY": "YOUR_DD_API_KEY",
        "DD_APP_KEY": "YOUR_DD_APP_KEY"
      }
    },
    "github-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-github"
      ],
      "env": {
        "GITHUB_PERSONAL_ACCESS_TOKEN": "YOUR_GITHUB_PERSONAL_ACCESS_TOKEN"
      }
    }
  }
}

Where to save

Paste the config above into:

.cursor/mcp.json

Environment Variables

Replace the YOUR_ placeholders with your actual values.

POSTGRES_CONNECTION_STRINGrequired

PostgreSQL connection string (e.g. postgresql://user:pass@localhost:5432/mydb)

Used by: PostgreSQL MCP

REDIS_URLrequired

Redis connection URL

Used by: Redis MCP

DD_API_KEYrequired

Datadog API key

Used by: Datadog MCP

DD_APP_KEYrequired

Datadog application key

Used by: Datadog MCP

GITHUB_PERSONAL_ACCESS_TOKENrequired

GitHub personal access token

Used by: GitHub MCP

What’s in this stack

Interact with Kubernetes clusters via kubectl. Manage pods, deployments, services, and configurations from your AI editor.

Manage pods, services, and deployments across clusters — the orchestration backbone for running microservices at scale.

Docker MCP14 tools

Manage Docker containers, images, volumes, and networks. Run, stop, inspect, and monitor containers from your AI editor.

Build and manage container images for each service, ensuring consistent environments from development to production.

Query and interact with PostgreSQL databases, inspect schemas, and run SQL directly from your AI editor.

Provision and query per-service databases, manage schemas, and handle data migrations across your service boundaries.

Redis MCP8 tools

Interact with Redis databases. Get, set, and manage keys, run commands, and monitor your Redis instances from your AI editor.

Add high-performance caching, message queuing, and session storage to reduce inter-service latency and database load.

Datadog MCP15 tools

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

Monitor distributed traces, service health metrics, and logs across all microservices to pinpoint bottlenecks and failures.

GitHub MCP20 tools

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

Manage multi-repo or monorepo codebases with pull requests, CI/CD pipelines, and automated releases for each service.

Other editors