Pi Plugin
MCP server by datadog-labs Verified · npm:@datadog
Pi Plugin gives the Pi coding agent a preconfigured Datadog MCP server. Developers can ask about logs, metrics, traces, dashboards, and monitors in plain conversation. It suits people who already use Datadog and Pi.
Install Pi Plugin
Built from the published package, never by AI.
claude mcp add pi-plugin -- npx -y @datadog/pi-pluginRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"pi-plugin": {
"args": [
"-y",
"@datadog/pi-plugin"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"pi-plugin": {
"args": [
"-y",
"@datadog/pi-plugin"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"pi-plugin": {
"args": [
"-y",
"@datadog/pi-plugin"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add pi-plugin -- npx -y @datadog/pi-plugin{
"mcpServers": {
"pi-plugin": {
"args": [
"-y",
"@datadog/pi-plugin"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add pi-plugin npx -y @datadog/pi-pluginGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the pi-plugin block.
About
Pi Plugin connects the Pi coding agent to Datadog through a preconfigured Datadog MCP server. After installing the npm package and signing in through the /datadog screen, users can ask about logs, metrics, traces, dashboards, and monitors. Sign-in uses the browser, and tokens refresh silently, so ordinary queries do not open a login.
The agent gets three tools: datadog, which discovers and invokes MCP tools, ddconfig, which reports connection state and switches between saved connections, and ddtoolsets, which manages toolsets. Several organizations can be saved and selected per Pi session. Charts in Pi's interactive terminal use a visualization panel on macOS 13 or later. The plugin is aimed at developers and operators who already use Datadog and Pi.
Written from the project's README and checked against it.
Tools it gives your assistant
datadogDiscovers and invokes MCP tools for the selected Datadog organization.ddconfigReports saved connection state, probes the server, and switches between saved connections.ddtoolsetsManages toolsets for the selected Datadog connection.
What you need
- A Datadog account or organization
- Pi coding agent
- Node.js and npm to install the package
- macOS 13 or later for the visualization panel (optional)
- Xcode Command Line Tools and Swift 5.7 or later for charts (optional)
Try asking
- Show me error logs for the checkout service from the last hour.
- Compare the checkout service across two saved Datadog organizations.
- Check whether my Datadog connection is working.
Good to know
- Credentials are file-backed, not encrypted or stored in the OS keychain.
- The visualization panel is supported on macOS only.
- Switching organizations applies only to the current Pi session.
- Signing out does not revoke the remote Datadog authorization.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to Pi Plugin
All alternatives →Azure MCP Server bundles all Azure MCP tools into one local MCP server. It connects AI agents to Azure services and can be used alone or with the GitHub Copilot for Azure extension in VS Code.
Manages monitors, status pages, incidents and maintenances in an openstatus workspace from Claude, ChatGPT, or Cursor. It suits teams that run uptime monitoring and status pages and want their AI assistant to update them.
SmartBear MCP gives AI assistants access to SmartBear's testing and monitoring tools, including BugSnag, Reflect, Swagger, PactFlow and QTM4J. It is aimed at teams that already use these products. Products are reached through remote servers or a local npm package.
Lets AI assistants manage Fettle uptime monitoring, including monitors, incidents, heartbeats, maintenance windows and status page incidents. Built for developers and operations teams who use Fettle and want to work from Claude, Cursor or Codex.
Superlog is an open-source agentic telemetry system that ingests traces, logs and metrics and groups noisy signals into incidents. It is aimed at teams debugging production systems with OpenTelemetry data.
Microsoft Learn MCP gives AI assistants direct access to official Microsoft documentation and code samples through a remote MCP endpoint. It is for developers who use MCP-compatible clients and want answers based on current Microsoft docs.
Compare with Azure MCP Server, openstatus or SmartBear MCP
Pi Plugin: common questions
Do I need Datadog API keys to use Pi Plugin?
No. Browser sign-in through /datadog is the default. API keys can be used instead by setting DD_API_KEY and DD_APPLICATION_KEY before starting Pi.
Are my Datadog credentials encrypted?
The source says credentials are file-backed with owner-only permissions on POSIX. They are not encrypted and not stored in the OS keychain.
Can Pi Plugin work with more than one Datadog organization?
Yes. You can save several connections, including ones on the same Datadog site, and switch the connection for the current session.
How do I install Pi Plugin?
In Claude Code run claude mcp add pi-plugin -- npx -y @datadog/pi-plugin. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Pi Plugin the official server?
Pi Plugin is published by npm:@datadog from its verified domain in the official MCP Registry.
Is Pi Plugin free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is Pi Plugin safe to use?
It scores 92 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to Pi Plugin?
Similar MCP servers: Azure MCP Server, openstatus, SmartBear MCP, Fettle.
Does Pi Plugin work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
