Microservices Stack for VS Code
Configuration
{
"servers": {
"kubernetes-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"mcp-server-kubernetes"
]
},
"docker-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"docker-mcp"
]
},
"postgres-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-postgres",
"postgresql://localhost/mydb"
],
"env": {
"POSTGRES_CONNECTION_STRING": "YOUR_POSTGRES_CONNECTION_STRING"
}
},
"redis-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"redis-mcp"
],
"env": {
"REDIS_URL": "YOUR_REDIS_URL"
}
},
"datadog-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"datadog-mcp-server"
],
"env": {
"DD_API_KEY": "YOUR_DD_API_KEY",
"DD_APP_KEY": "YOUR_DD_APP_KEY"
}
},
"github-mcp": {
"type": "stdio",
"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:
.vscode/settings.json → mcp sectionEnvironment Variables
Replace the YOUR_ placeholders with your actual values.
POSTGRES_CONNECTION_STRINGrequiredPostgreSQL connection string (e.g. postgresql://user:pass@localhost:5432/mydb)
Used by: PostgreSQL MCP
REDIS_URLrequiredRedis connection URL
Used by: Redis MCP
DD_API_KEYrequiredDatadog API key
Used by: Datadog MCP
DD_APP_KEYrequiredDatadog application key
Used by: Datadog MCP
GITHUB_PERSONAL_ACCESS_TOKENrequiredGitHub 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.
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.
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.
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.
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.