ProdSync MCP Server

by mukeshjc

134 downloads
Not rated
GitHub

About

A custom MCP server that brings real-time production context for developers

Details

Author
mukeshjc
Downloads
134
Categories
Other

- Real-time access to Datadog logs
- Filter logs by service, severity (Error, Warn, Info), and environment
- Secure use of Datadog API and APP keys via environment variables
- Debug logging to file (logs/debug.log) for troubleshooting
- Integration with Claude Desktop and Cursor IDE

Install dependencies with npm install, then build with npm run build. Set the environment variables DATADOG_API_KEY and DATADOG_APP_KEY. Add the server configuration to the MCP settings file for Claude Desktop (~/Library/Application Support/Claude/claude_desktop_config.json) or Cursor IDE (~/.cursor/mcp.json), specifying the path to the built index.js and the required environment variables.

ProdSync MCP Server

A custom Model Context Protocol (MCP) server that enables real-time access to Datadog logs filtered by service, severity, and environment. This server is designed to integrate with Claude Desktop and Cursor IDE, providing developers with production context directly in their workflow.

Features

- Query Datadog logs by service, severity (Error, Warn, Info), and environment (int, personal-dev, dev, prod) - Securely uses Datadog API and APP keys from environment variables - Debug logging to file for troubleshooting

Development

1. Install dependencies

npm install

2. Build the server

npm run build

3. Run in development mode (auto-rebuild)

npm run watch

4. Debugging

Debug logs are written to logs/debug.log.

5. MCP Inspector

To inspect and debug the MCP protocol:
npm run inspector

Configuration to run locally

Environment Variables

Create a .env file or export these variables in your shell:
DATADOG_API_KEY=<your_datadog_api_key>
DATADOG_APP_KEY=<your_datadog_app_key>

Integration with IDEs and AI chat applications

Add or update the MCP server section like below in respective json file location based on your setup:

For local development (after executing "npm run build" atleast once on the project workspace):

{
  "mcpServers": {
    "prodsync-mcp": {
      "command": "node",
      "args": [
        "/path/to/workspace/prodsync-mcp-server/build/index.js"
      ],
      "env": {
        "DATADOG_API_KEY": "<your_datadog_api_key>",
        "DATADOG_APP_KEY": "<your_datadog_app_key>"
      }
    }
  }
}

Claude Desktop

For MacOS, edit the config file at:
~/Library/Application Support/Claude/claude_desktop_config.json

Cursor IDE

For MacOS, edit the config file at:
~/.cursor/mcp.json

---

For any issues, check logs/debug.log for troubleshooting information.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.