Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Generated by https://smithery.ai. See: https://smithery.ai/docs/config#dockerfile
FROM node:lts-alpine

# Set working directory
WORKDIR /app

# Copy package and tsconfig files
COPY package.json tsconfig.json ./

# Copy source files
COPY src/ ./src/

# Install dependencies (ignore optional install scripts to speed up build)
RUN npm install --ignore-scripts

# Build the project
RUN npm run build

# Expose port if needed (not necessary if using stdio for MCP)

# Set command to run the server
CMD [ "node", "dist/index.js" ]
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Datadog MCP Server

[![smithery badge](https://smithery.ai/badge/@GeLi2001/datadog-mcp-server)](https://smithery.ai/server/@GeLi2001/datadog-mcp-server)
A Model Context Protocol (MCP) server for interacting with the Datadog API.

<a href="https://glama.ai/mcp/servers/@GeLi2001/datadog-mcp-server">
Expand All @@ -26,6 +27,14 @@ A Model Context Protocol (MCP) server for interacting with the Datadog API.

## Installation

### Installing via Smithery

To install Datadog MCP Server for Claude Desktop automatically via [Smithery](https://smithery.ai/server/@GeLi2001/datadog-mcp-server):

```bash
npx -y @smithery/cli install @GeLi2001/datadog-mcp-server --client claude
```

### Via npm (recommended)

```bash
Expand Down
33 changes: 33 additions & 0 deletions smithery.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Smithery configuration file: https://smithery.ai/docs/config#smitheryyaml

startCommand:
type: stdio
configSchema:
# JSON Schema defining the configuration options for the MCP.
type: object
required:
- apiKey
- appKey
- site
properties:
apiKey:
type: string
description: Datadog API key
appKey:
type: string
description: Datadog Application key
site:
type: string
description: Datadog site domain (e.g., datadoghq.com or us5.datadoghq.com)
commandFunction:
# A JS function that produces the CLI command based on the given config to start the MCP on stdio.
|-
(config) => ({
command: 'node',
args: ['dist/index.js', '--apiKey', config.apiKey, '--appKey', config.appKey, '--site', config.site],
env: { DD_API_KEY: config.apiKey, DD_APP_KEY: config.appKey, DD_SITE: config.site }
})
exampleConfig:
apiKey: your_datadog_api_key
appKey: your_datadog_app_key
site: datadoghq.com