Install
Add to ~/Library/Application Support/Claude/claude_desktop_config.json
Windows / Linux path
%APPDATA%\Claude\claude_desktop_config.json~/.config/Claude/claude_desktop_config.json{
"mcpServers": {
"io-github-tantiope-datadog-mcp": {
"command": "npx",
"args": [
"-y",
"datadog-mcp"
],
"env": {
"DD_API_KEY": "<YOUR_VALUE>",
"DD_APP_KEY": "<YOUR_VALUE>",
"DD_SITE": "datadoghq.com",
"MCP_HOST": "0.0.0.0",
"MCP_PORT": "3000",
"MCP_TRANSPORT": "stdio",
"MCP_DEFAULT_LIMIT": "50",
"MCP_DEFAULT_LOG_LINES": "200",
"MCP_DEFAULT_TIME_RANGE": "24",
"MCP_DEFAULT_METRIC_POINTS": "1000"
}
}
}
}
Restart Claude Desktop to activate the new server.
Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)
Windows / Linux path
.cursor\mcp.json (project) or %USERPROFILE%\.cursor\mcp.json (global).cursor/mcp.json (project) or ~/.cursor/mcp.json (global){
"mcpServers": {
"io-github-tantiope-datadog-mcp": {
"command": "npx",
"args": [
"-y",
"datadog-mcp"
],
"env": {
"DD_API_KEY": "<YOUR_VALUE>",
"DD_APP_KEY": "<YOUR_VALUE>",
"DD_SITE": "datadoghq.com",
"MCP_HOST": "0.0.0.0",
"MCP_PORT": "3000",
"MCP_TRANSPORT": "stdio",
"MCP_DEFAULT_LIMIT": "50",
"MCP_DEFAULT_LOG_LINES": "200",
"MCP_DEFAULT_TIME_RANGE": "24",
"MCP_DEFAULT_METRIC_POINTS": "1000"
}
}
}
}
Cursor usually picks up config changes automatically; if the server does not appear, reload the window.
Add to .mcp.json (project) or ~/.claude.json (global)
Windows / Linux path
.mcp.json (project) or %USERPROFILE%\.claude.json (global).mcp.json (project) or ~/.claude.json (global){
"mcpServers": {
"io-github-tantiope-datadog-mcp": {
"command": "npx",
"args": [
"-y",
"datadog-mcp"
],
"env": {
"DD_API_KEY": "<YOUR_VALUE>",
"DD_APP_KEY": "<YOUR_VALUE>",
"DD_SITE": "datadoghq.com",
"MCP_HOST": "0.0.0.0",
"MCP_PORT": "3000",
"MCP_TRANSPORT": "stdio",
"MCP_DEFAULT_LIMIT": "50",
"MCP_DEFAULT_LOG_LINES": "200",
"MCP_DEFAULT_TIME_RANGE": "24",
"MCP_DEFAULT_METRIC_POINTS": "1000"
}
}
}
}
The server will be available in the next Claude Code session.
Add to .vscode/mcp.json
Windows / Linux path
.vscode\mcp.json.vscode/mcp.json{
"servers": {
"io-github-tantiope-datadog-mcp": {
"command": "npx",
"args": [
"-y",
"datadog-mcp"
],
"env": {
"DD_API_KEY": "<YOUR_VALUE>",
"DD_APP_KEY": "<YOUR_VALUE>",
"DD_SITE": "datadoghq.com",
"MCP_HOST": "0.0.0.0",
"MCP_PORT": "3000",
"MCP_TRANSPORT": "stdio",
"MCP_DEFAULT_LIMIT": "50",
"MCP_DEFAULT_LOG_LINES": "200",
"MCP_DEFAULT_TIME_RANGE": "24",
"MCP_DEFAULT_METRIC_POINTS": "1000"
}
}
}
}
Reload the VS Code window to activate.
Add to ~/.codeium/windsurf/mcp_config.json
Windows / Linux path
%USERPROFILE%\.codeium\windsurf\mcp_config.json~/.codeium/windsurf/mcp_config.json{
"mcpServers": {
"io-github-tantiope-datadog-mcp": {
"command": "npx",
"args": [
"-y",
"datadog-mcp"
],
"env": {
"DD_API_KEY": "<YOUR_VALUE>",
"DD_APP_KEY": "<YOUR_VALUE>",
"DD_SITE": "datadoghq.com",
"MCP_HOST": "0.0.0.0",
"MCP_PORT": "3000",
"MCP_TRANSPORT": "stdio",
"MCP_DEFAULT_LIMIT": "50",
"MCP_DEFAULT_LOG_LINES": "200",
"MCP_DEFAULT_TIME_RANGE": "24",
"MCP_DEFAULT_METRIC_POINTS": "1000"
}
}
}
}
Restart Windsurf (or refresh its MCP servers panel) to activate the new server.
Windsurf Next uses ~/.codeium/windsurf-next/mcp_config.json. Devin Desktop (the Windsurf rebrand) uses ~/.config/devin/mcp_config.json and imports the Windsurf file.
Add to ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
Windows / Linux path
%APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json{
"mcpServers": {
"io-github-tantiope-datadog-mcp": {
"command": "npx",
"args": [
"-y",
"datadog-mcp"
],
"env": {
"DD_API_KEY": "<YOUR_VALUE>",
"DD_APP_KEY": "<YOUR_VALUE>",
"DD_SITE": "datadoghq.com",
"MCP_HOST": "0.0.0.0",
"MCP_PORT": "3000",
"MCP_TRANSPORT": "stdio",
"MCP_DEFAULT_LIMIT": "50",
"MCP_DEFAULT_LOG_LINES": "200",
"MCP_DEFAULT_TIME_RANGE": "24",
"MCP_DEFAULT_METRIC_POINTS": "1000"
}
}
}
}
Cline reloads cline_mcp_settings.json automatically; if the server does not appear, reload the VS Code window.
Open it from Cline's MCP Servers panel → Configure. Roo Code uses a different file and format.
Configuration
Environment variables this server reads. Secrets stay on your machine.
| Name | Required | Description |
|---|---|---|
| DD_API_KEY secret | Yes | Your Datadog API key |
| DD_APP_KEY secret | Yes | Your Datadog Application key |
| DD_SITE | No | Datadog site (default: datadoghq.com). Use datadoghq.eu for EU, etc. Default: datadoghq.com |
| MCP_HOST | No | HTTP host when using http transport (default: 0.0.0.0) Default: 0.0.0.0 |
| MCP_PORT | No | HTTP port when using http transport (default: 3000) Default: 3000 |
| MCP_TRANSPORT | No | Transport mode (stdio or http, default: stdio) Default: stdio |
| MCP_DEFAULT_LIMIT | No | General tools default limit (default: 50) Default: 50 |
| MCP_DEFAULT_LOG_LINES | No | Logs tool default limit (default: 200) Default: 200 |
| MCP_DEFAULT_TIME_RANGE | No | Default time range in hours (default: 24) Default: 24 |
| MCP_DEFAULT_METRIC_POINTS | No | Metrics timeseries data points (default: 1000) Default: 1000 |