Skip to content

Commit cae7a19

Browse files
fix docs
1 parent 3dc6e9e commit cae7a19

1 file changed

Lines changed: 22 additions & 8 deletions

File tree

docs/ai-tools-integration-guide.md

Lines changed: 22 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,19 +20,32 @@ Model Context Protocol (MCP) servers extend AI capabilities with specialized too
2020

2121
**Available MCP Servers:**
2222

23-
- **Datadog MCP Server**: Provides CI Visibility integration including pipeline event search and aggregation, test event analysis, flaky test detection, code coverage summaries, and PR insights. Pre-configured in the repository via `.cursor/mcp.json` (for Cursor) and `.mcp.json` (for Claude CLI and other compatible tools). See [Datadog MCP Server Setup](datadog-mcp-server.md) for detailed setup and usage instructions.
23+
- **Datadog MCP Server**: Provides CI Visibility integration including pipeline event search and aggregation, test event analysis, flaky test detection, code coverage summaries, and PR insights. Pre-configured in the repository via `.mcp.json` (for Claude CLI and other compatible tools). Cursor users need to set up `.cursor/mcp.json` manually (see setup instructions below).
2424

2525
To set up MCP servers, follow the specific setup guides for each server. All MCP servers integrate seamlessly with compatible AI tools, providing enhanced context and capabilities for working with the dd-trace-java repository.
2626

2727
#### Datadog MCP Server Setup for dd-trace-java
2828

29-
The Datadog MCP server connects Cursor's AI assistant to Datadog's CI Visibility platform, letting you query pipeline events, test results, flaky tests, code coverage, and PR insights directly from the chat.
29+
The Datadog MCP server connects Cursor's/Claude AI assistant to Datadog's CI Visibility platform, letting you query pipeline events, test results, flaky tests, code coverage, and PR insights directly from the chat.
3030

3131
##### Setup
3232

33-
**1. Repository Configuration (Pre-configured)**
33+
**1. Repository Configuration**
3434

35-
The repository already includes the MCP server configuration in `.cursor/mcp.json`:
35+
The repository includes the MCP server configuration for Claude CLI and other compatible tools in `.mcp.json`:
36+
37+
```json
38+
{
39+
"mcpServers": {
40+
"datadog": {
41+
"type": "http",
42+
"url": "https://mcp.datadoghq.com/api/unstable/mcp-server/mcp?toolsets=software-delivery"
43+
}
44+
}
45+
}
46+
```
47+
48+
For **Cursor** users, the `.cursor/` directory is not tracked in git. Create the file `.cursor/mcp.json` manually with the following content:
3649

3750
```json
3851
{
@@ -49,11 +62,12 @@ The repository already includes the MCP server configuration in `.cursor/mcp.jso
4962

5063
The Datadog MCP server uses SSO for authentication. No API or App keys are required.
5164

52-
1. Open Cursor IDE in the dd-trace-java repository
53-
2. Go to the MCP settings panel and trigger the **login** command on the `datadog` server
54-
For the in terminal agent use `/mcp login`.
65+
1. Open your AI tool in the dd-trace-java repository
66+
2. Trigger the **login** command on the `datadog` MCP server:
67+
- **Cursor**: Go to the MCP settings panel and trigger the login command. For the in-terminal agent use `/mcp login`.
68+
- **Claude CLI**: Run `/mcp` to see server status, then follow the login prompt.
5569
3. A browser tab opens automatically for Datadog SSO login
56-
4. Complete the login in your browser — Cursor picks up the session automatically
70+
4. Complete the login in your browser — the tool picks up the session automatically
5771

5872
After logging in, the MCP tools are immediately available in the AI chat.
5973

0 commit comments

Comments
 (0)