# How to connect Datadog MCP with VS Code

```json
{
  "title": "How to connect Datadog MCP with VS Code",
  "toolkit": "Datadog",
  "toolkit_slug": "datadog",
  "framework": "VS Code",
  "framework_slug": "vscode",
  "url": "https://composio.dev/toolkits/datadog/framework/vscode",
  "markdown_url": "https://composio.dev/toolkits/datadog/framework/vscode.md",
  "updated_at": "2026-05-06T08:08:10.124Z"
}
```

## Introduction

### How to connect Datadog MCP with VS Code
VS Code is the most popular code editor out there. With its recent AI makeover, it can do more than just help you write code. You can connect your applications to it and let LLMs automate many of the mundane tasks in your workflow.
In this guide, I will explain how to connect Datadog with VS Code in the most secure and robust way possible via Composio.

## Also integrate Datadog with

- [ChatGPT](https://composio.dev/toolkits/datadog/framework/chatgpt)
- [OpenAI Agents SDK](https://composio.dev/toolkits/datadog/framework/open-ai-agents-sdk)
- [Claude Agent SDK](https://composio.dev/toolkits/datadog/framework/claude-agents-sdk)
- [Claude Code](https://composio.dev/toolkits/datadog/framework/claude-code)
- [Claude Cowork](https://composio.dev/toolkits/datadog/framework/claude-cowork)
- [Codex](https://composio.dev/toolkits/datadog/framework/codex)
- [Cursor](https://composio.dev/toolkits/datadog/framework/cursor)
- [OpenCode](https://composio.dev/toolkits/datadog/framework/opencode)
- [OpenClaw](https://composio.dev/toolkits/datadog/framework/openclaw)
- [Hermes](https://composio.dev/toolkits/datadog/framework/hermes-agent)
- [CLI](https://composio.dev/toolkits/datadog/framework/cli)
- [Google ADK](https://composio.dev/toolkits/datadog/framework/google-adk)
- [LangChain](https://composio.dev/toolkits/datadog/framework/langchain)
- [Vercel AI SDK](https://composio.dev/toolkits/datadog/framework/ai-sdk)
- [Mastra AI](https://composio.dev/toolkits/datadog/framework/mastra-ai)
- [LlamaIndex](https://composio.dev/toolkits/datadog/framework/llama-index)
- [CrewAI](https://composio.dev/toolkits/datadog/framework/crew-ai)

## TL;DR

### Why use Composio?
Composio provides:
- Access to 1,000+ managed apps from a single MCP endpoint. This makes it convenient for agents to run cross-app workflows.
- Programmatic tool calling. Allows LLMs to write its code in a remote workbench to handle complex tool chaining. Reduces to-and-fro with LLMs for frequent tool calling.
- Large tool response handling outside the LLM context. This minimizes context bloat from large tool responses.
- Dynamic just-in-time access to thousands of tools across hundreds of apps. Composio loads the tools your agent needs, so LLMs are not overwhelmed by tools they do not need.

## Connect Datadog to VS Code

### Integrate Datadog MCP with VS Code
### 1. Install with one click
Click the button below to add Composio to VS Code. You will be prompted to authorize. This requires VS Code 1.99+ with GitHub Copilot.
[+Install in VS Code](vscode:mcp/install?%7B%22name%22%3A%22composio%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fconnect.composio.dev%2Fmcp%22%7D)
### 2. Or add manually
Open or create .vscode/mcp.json in your project root and add the following configuration:

```bash
{
  "servers": {
    "composio": {
      "type": "http",
      "url": "https://connect.composio.dev/mcp"
    }
  }
}
```

## What is the Datadog MCP server, and what's possible with it?

The Datadog MCP server is an implementation of the Model Context Protocol that connects your AI agent and assistants like Claude, Cursor, etc directly to your Datadog account. It provides structured and secure access to your monitoring and observability platform, so your agent can perform actions like creating dashboards, managing monitors, scheduling downtimes, and tracking key events on your behalf.
- Custom dashboard creation and management: Direct your agent to build new dashboards or retrieve detailed information about existing dashboards for unified infrastructure and application monitoring.
- Monitor setup and deletion: Easily have your agent create new monitors to track critical metrics or remove outdated ones to keep your alerting system relevant.
- Automated downtime scheduling: Let your agent schedule maintenance windows by creating downtimes that suppress alerts during planned outages or deployments.
- Event tracking and logging: Ask your agent to create and log significant events—like deployments or configuration changes—so your team always stays informed.
- Service level objectives and synthetic testing: Instruct your agent to define SLOs or set up synthetic API tests for continuous reliability and performance tracking.

## Supported Tools

| Tool slug | Name | Description |
|---|---|---|
| `DATADOG_CREATE_DASHBOARD` | Create Dashboard | Create a dashboard in datadog. dashboards provide customizable visualizations for monitoring your infrastructure, applications, and business metrics in a unified view. |
| `DATADOG_CREATE_DOWNTIME` | Create downtime | Creates a new downtime in datadog to suppress alerts during maintenance windows or planned outages. useful for preventing false alarms during deployments or maintenance. |
| `DATADOG_CREATE_EVENT` | Create event | Creates a new event in datadog. events are useful for tracking deployments, outages, configuration changes, and other important occurrences. |
| `DATADOG_CREATE_MONITOR` | Create monitor | Creates a new datadog monitor to track metrics, logs, or other data sources with configurable alerting thresholds and notifications. |
| `DATADOG_CREATE_SLO` | Create SLO | Create a service level objective (slo) in datadog. slos help you define and track reliability targets for your services, enabling data-driven decisions about service quality and reliability investments. |
| `DATADOG_CREATE_SYNTHETIC_API_TEST` | Create Synthetic API Test | Create a synthetic api test in datadog. creates a new synthetic api test that continuously monitors api endpoints from multiple locations worldwide. useful for proactive monitoring of api uptime, performance, and functionality. |
| `DATADOG_CREATE_WEBHOOK` | Create Webhook | Create a webhook in datadog. webhooks enable you to receive notifications from datadog monitors and alerts to external services and applications. |
| `DATADOG_DELETE_DASHBOARD` | Delete Dashboard | Delete a dashboard in datadog. permanently removes a dashboard from your organization. this action cannot be undone. use with caution. |
| `DATADOG_DELETE_MONITOR` | Delete monitor | Deletes a datadog monitor permanently. use with caution as this action cannot be undone. |
| `DATADOG_GET_DASHBOARD` | Get Dashboard | Get a specific dashboard from datadog. retrieves detailed information about a dashboard including its widgets, layout, template variables, and metadata. |
| `DATADOG_GET_MONITOR` | Get monitor | Retrieves detailed information about a specific datadog monitor, including its current state, configuration, and any active downtimes. |
| `DATADOG_GET_SERVICE_DEPENDENCIES` | Get Service Dependencies | Get service dependency mapping from datadog apm. this action retrieves the dependency graph for a specific service, showing both upstream services (that call this service) and downstream services (that this service calls). it's essential for: - understanding the blast radius of service failures - identifying critical dependencies during incidents - analyzing service communication patterns - planning architectural changes - monitoring service health in context the dependency information includes call rates, error rates, and latency metrics to help assess the health of service relationships. |
| `DATADOG_GET_SYNTHETICS_LOCATIONS` | Get Synthetics Locations | Tool to retrieve all available public and private locations for synthetic tests in datadog. use when you need a list of location identifiers for creating or managing synthetic tests. |
| `DATADOG_GET_TAGS` | Get host tags | Retrieves all tags associated with a specific host in datadog. useful for understanding host metadata and organizing infrastructure. |
| `DATADOG_GET_TRACE_BY_ID` | Get Trace by ID | Get detailed information about a specific trace by its id. this action retrieves comprehensive details about a distributed trace, including all spans, timing information, errors, and metadata. it's essential for: - deep diving into specific request flows during incidents - understanding the complete journey of a problematic request - analyzing performance bottlenecks in detail - correlating errors across services - debugging complex distributed system issues the trace id is typically obtained from logs, error reports, or trace search results. |
| `DATADOG_GET_USAGE_SUMMARY` | Get usage summary | Retrieves usage summary information from datadog including api calls, hosts, containers, and other billable usage metrics. useful for cost monitoring and usage analysis. |
| `DATADOG_LIST_ALL_TAGS` | List All Tags | List all tags from datadog. tags help organize and filter your infrastructure and applications. this action shows all tags in use across your organization. |
| `DATADOG_LIST_API_KEYS` | List API Keys | List api keys in datadog. retrieves all api keys in the organization for security auditing, access management, and key rotation planning. helps maintain security posture by tracking key usage and ownership. |
| `DATADOG_LIST_APM_SERVICES` | List APM Services | List apm services from datadog. application performance monitoring (apm) provides deep visibility into your applications, helping you track performance, errors, and dependencies. |
| `DATADOG_LIST_AWS_INTEGRATION` | List AWS Integration | List aws integrations in datadog. retrieves all configured aws account integrations, showing which aws accounts are monitored by datadog and their configuration settings. useful for cloud infrastructure management and ensuring comprehensive monitoring coverage. |
| `DATADOG_LIST_DASHBOARDS` | List dashboards | Lists all datadog dashboards with basic information. useful for dashboard management and getting an overview of available dashboards. |
| `DATADOG_LIST_EVENTS` | List events | Lists events from datadog within a specified time range. events track important occurrences like deployments, outages, and configuration changes. |
| `DATADOG_LIST_HOSTS` | List hosts | Lists all hosts in your datadog infrastructure with detailed information including metrics, tags, and status. useful for infrastructure monitoring and management. |
| `DATADOG_LIST_INCIDENTS` | List Incidents | List incidents from datadog. incident management helps you track, manage, and resolve incidents efficiently with comprehensive timeline and impact tracking. |
| `DATADOG_LIST_LOG_INDEXES` | List Log Indexes | Tool to retrieve a list of all log indexes configured in datadog. use when you need to get the names and configurations of log indexes. |
| `DATADOG_LIST_MONITORS` | List monitors | Get all monitor details. this endpoint allows you to retrieve information about all monitors configured in your organization. you can filter by group states, name, tags, and use pagination to manage large result sets. |
| `DATADOG_LIST_ROLES` | List Roles | List roles from datadog organization. roles define sets of permissions that control what users can do within your datadog organization. |
| `DATADOG_LIST_SERVICE_CHECKS` | List service checks | Lists service checks from datadog. service checks are status checks that track the health of your services and infrastructure components. |
| `DATADOG_LIST_SL_OS` | List SLOs | List service level objectives (slos) from datadog. service level objectives help you track the reliability and performance of your services by setting measurable targets for key metrics. |
| `DATADOG_LIST_SYNTHETICS` | List Synthetics Tests | List synthetics tests from datadog. synthetics monitoring allows you to proactively monitor your applications and apis by simulating user interactions and api calls from various locations. |
| `DATADOG_LIST_USERS` | List Users | List users from datadog organization. user management allows you to see team members, their roles, and access levels within your datadog organization. |
| `DATADOG_LIST_WEBHOOKS` | List Webhooks | List webhooks from datadog. webhooks allow you to send notifications to external services when monitors trigger, enabling integration with your workflows. |
| `DATADOG_MUTE_MONITOR` | Mute Monitor | Mute a monitor in datadog. temporarily silences alerts from a monitor, which is useful during maintenance windows, deployments, or when investigating known issues to prevent alert fatigue. |
| `DATADOG_QUERY_METRICS` | Query metrics | Queries datadog metrics and returns time series data. useful for retrieving historical metric data, creating custom dashboards, or building reports. |
| `DATADOG_SEARCH_LOGS` | Search logs | Searches datadog logs with advanced filtering capabilities. important notes: - sort parameter is not supported by the datadog logs api and will cause errors - time parameters must be in milliseconds (13-digit unix timestamps) - limit parameter is passed as string to the api - log content is nested under 'content' field in api response useful for troubleshooting, monitoring application behavior, and analyzing log patterns. |
| `DATADOG_SEARCH_SPANS_ANALYTICS` | Search Spans Analytics | Search and analyze span data with aggregations in datadog. this action uses the datadog spans analytics api to perform advanced queries and aggregations on trace span data. it's essential for: - analyzing error rates and latency patterns - understanding service dependencies and bottlenecks - root cause analysis during incidents - performance monitoring and optimization the api supports complex queries with grouping, filtering, and various aggregation functions similar to log analytics. |
| `DATADOG_SEARCH_TRACES` | Search Traces | Search for traces in datadog apm. this action allows you to search for distributed traces across your services. it's essential for: - finding specific request flows during incident investigation - analyzing performance bottlenecks across services - understanding error propagation through your system - correlating user requests with backend operations traces provide the complete picture of a request as it travels through your distributed system, making them crucial for root cause analysis. |
| `DATADOG_SUBMIT_METRICS` | Submit metrics | Submits custom metrics to datadog. useful for sending application-specific metrics, business kpis, or custom performance indicators. |
| `DATADOG_UNMUTE_MONITOR` | Unmute Monitor | Unmute a monitor in datadog. re-enables alerts from a previously muted monitor, returning it to normal monitoring and alerting behavior. use this after maintenance windows or issue resolution to resume monitoring. |
| `DATADOG_UPDATE_DASHBOARD` | Update Dashboard | Update a dashboard in datadog. updates an existing dashboard with new configuration, widgets, or layout while preserving its identity and creation metadata. |
| `DATADOG_UPDATE_HOST_TAGS` | Update host tags | Updates tags for a specific host in datadog. this replaces all existing tags from the specified source with the new tags provided. |
| `DATADOG_UPDATE_MONITOR` | Update monitor | Updates an existing datadog monitor with new configuration, thresholds, or notification settings. only specified fields will be updated. |

## Supported Triggers

None listed.

## Creating MCP Server - Stand-alone vs Composio SDK

Once connected, VS Code can access the Datadog MCP server via Composio to run the app actions you authorize, directly from your coding workflow.

## Complete Code

None listed.

## Conclusion

### Way Forward
Now that Datadog is connected, extend your setup by connecting the other apps you already use every day, so your agent can run true cross-app workflows end to end.
- Connect Calendar to turn threads into scheduled meetings automatically.
- Connect Slack or Teams to post summaries, approvals, and alerts where your team works.
- Connect Notion, Linear, Jira, or Asana to convert requests into tickets, tasks, and docs.
- Connect Drive, Dropbox, or OneDrive to fetch, file, and share attachments without manual steps.
- Connect HubSpot or Salesforce to log customer context, update records, and draft follow-ups.
Start with one workflow you do repeatedly, then keep adding apps as you find new handoffs. With everything behind a single MCP endpoint, your agent can coordinate multiple tools safely and reliably in one conversation.

## How to build Datadog MCP Agent with another framework

- [ChatGPT](https://composio.dev/toolkits/datadog/framework/chatgpt)
- [OpenAI Agents SDK](https://composio.dev/toolkits/datadog/framework/open-ai-agents-sdk)
- [Claude Agent SDK](https://composio.dev/toolkits/datadog/framework/claude-agents-sdk)
- [Claude Code](https://composio.dev/toolkits/datadog/framework/claude-code)
- [Claude Cowork](https://composio.dev/toolkits/datadog/framework/claude-cowork)
- [Codex](https://composio.dev/toolkits/datadog/framework/codex)
- [Cursor](https://composio.dev/toolkits/datadog/framework/cursor)
- [OpenCode](https://composio.dev/toolkits/datadog/framework/opencode)
- [OpenClaw](https://composio.dev/toolkits/datadog/framework/openclaw)
- [Hermes](https://composio.dev/toolkits/datadog/framework/hermes-agent)
- [CLI](https://composio.dev/toolkits/datadog/framework/cli)
- [Google ADK](https://composio.dev/toolkits/datadog/framework/google-adk)
- [LangChain](https://composio.dev/toolkits/datadog/framework/langchain)
- [Vercel AI SDK](https://composio.dev/toolkits/datadog/framework/ai-sdk)
- [Mastra AI](https://composio.dev/toolkits/datadog/framework/mastra-ai)
- [LlamaIndex](https://composio.dev/toolkits/datadog/framework/llama-index)
- [CrewAI](https://composio.dev/toolkits/datadog/framework/crew-ai)

## Related Toolkits

- [Supabase](https://composio.dev/toolkits/supabase) - Supabase is an open-source backend platform offering scalable Postgres databases, authentication, storage, and real-time APIs. It lets developers build modern apps without managing infrastructure.
- [Codeinterpreter](https://composio.dev/toolkits/codeinterpreter) - Codeinterpreter is a Python-based coding environment with built-in data analysis and visualization. It lets you instantly run scripts, plot results, and prototype solutions inside supported platforms.
- [GitHub](https://composio.dev/toolkits/github) - GitHub is a code hosting platform for version control and collaborative software development. It streamlines project management, code review, and team workflows in one place.
- [Ably](https://composio.dev/toolkits/ably) - Ably is a real-time messaging platform for live chat and data sync in modern apps. It offers global scale and rock-solid reliability for seamless, instant experiences.
- [Abuselpdb](https://composio.dev/toolkits/abuselpdb) - Abuselpdb is a central database for reporting and checking IPs linked to malicious online activity. Use it to quickly identify and report suspicious or abusive IP addresses.
- [Alchemy](https://composio.dev/toolkits/alchemy) - Alchemy is a blockchain development platform offering APIs and tools for Ethereum apps. It simplifies building and scaling Web3 projects with robust infrastructure.
- [Algolia](https://composio.dev/toolkits/algolia) - Algolia is a hosted search API that powers lightning-fast, relevant search experiences for web and mobile apps. It helps developers deliver instant, typo-tolerant, and scalable search without complex infrastructure.
- [Anchor browser](https://composio.dev/toolkits/anchor_browser) - Anchor browser is a developer platform for AI-powered web automation. It transforms complex browser actions into easy API endpoints for streamlined web interaction.
- [Apiflash](https://composio.dev/toolkits/apiflash) - Apiflash is a website screenshot API for programmatically capturing web pages. It delivers high-quality screenshots on demand for automation, monitoring, or reporting.
- [Apiverve](https://composio.dev/toolkits/apiverve) - Apiverve delivers a suite of powerful APIs that simplify integration for developers. It's designed for reliability and scalability so you can build faster, smarter applications without the integration headache.
- [Appcircle](https://composio.dev/toolkits/appcircle) - Appcircle is an enterprise-grade mobile CI/CD platform for building, testing, and publishing mobile apps. It streamlines mobile DevOps so teams ship faster and with more confidence.
- [Appdrag](https://composio.dev/toolkits/appdrag) - Appdrag is a cloud platform for building websites, APIs, and databases with drag-and-drop tools and code editing. It accelerates development and iteration by combining hosting, database management, and low-code features in one place.
- [Appveyor](https://composio.dev/toolkits/appveyor) - AppVeyor is a cloud-based continuous integration service for building, testing, and deploying applications. It helps developers automate and streamline their software delivery pipelines.
- [Backendless](https://composio.dev/toolkits/backendless) - Backendless is a backend-as-a-service platform for mobile and web apps, offering database, file storage, user authentication, and APIs. It helps developers ship scalable applications faster without managing server infrastructure.
- [Baserow](https://composio.dev/toolkits/baserow) - Baserow is an open-source no-code database platform for building collaborative data apps. It makes it easy for teams to organize data and automate workflows without writing code.
- [Bench](https://composio.dev/toolkits/bench) - Bench is a benchmarking tool for automated performance measurement and analysis. It helps you quickly evaluate, compare, and track your systems or workflows.
- [Better stack](https://composio.dev/toolkits/better_stack) - Better Stack is a monitoring, logging, and incident management solution for apps and services. It helps teams ensure application reliability and performance with real-time insights.
- [Bitbucket](https://composio.dev/toolkits/bitbucket) - Bitbucket is a Git-based code hosting and collaboration platform for teams. It enables secure repository management and streamlined code reviews.
- [Blazemeter](https://composio.dev/toolkits/blazemeter) - Blazemeter is a continuous testing platform for web and mobile app performance. It empowers teams to automate and analyze large-scale tests with ease.
- [Blocknative](https://composio.dev/toolkits/blocknative) - Blocknative delivers real-time mempool monitoring and transaction management for public blockchains. Instantly track pending transactions and optimize blockchain interactions with live data.

## Frequently Asked Questions

### What are the differences in Tool Router MCP and Datadog MCP?

With a standalone Datadog MCP server, the agents and LLMs can only access a fixed set of Datadog tools tied to that server. However, with the Composio Tool Router, agents can dynamically load tools from Datadog and many other apps based on the task at hand, all through a single MCP endpoint.

### Can I use Tool Router MCP with VS Code?

Yes, you can. VS Code fully supports MCP integration. You get structured tool calling, message history handling, and model orchestration while Tool Router takes care of discovering and serving the right Datadog tools.

### Can I manage the permissions and scopes for Datadog while using Tool Router?

Yes, absolutely. You can configure which Datadog scopes and actions are allowed when connecting your account to Composio. You can also bring your own OAuth credentials or API configuration so you keep full control over what the agent can do.

### How safe is my data with Composio Tool Router?

All sensitive data such as tokens, keys, and configuration is fully encrypted at rest and in transit. Composio is SOC 2 Type 2 compliant and follows strict security practices so your Datadog data and credentials are handled as safely as possible.

---
[See all toolkits](https://composio.dev/toolkits) · [Composio docs](https://docs.composio.dev/llms.txt)
