DoiT MCP Server provides access to the DoiT API. This server enables LLMs like Claude to access DoiT platform data for troubleshooting and analysis.
- Node.js v18 or higher
- DoiT API key with appropriate permissions
- Customer context identifier (for customer-specific data)
To get your DoiT API key, visit the API key section in your DoiT profile.
There are several ways to install and configure the MCP server:
To install doit-mcp-server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @doitintl/doit-mcp-server --client claude
To manually configure the MCP server for Claude Desktop App, add the following to your claude_desktop_config.json
file or through "Settings" as described here:
{
"mcpServers": {
"doit_mcp_server": {
"command": "npx",
"args": ["-y", "@doitintl/doit-mcp-server@latest"],
"env": {
"DOIT_API_KEY": "your_doit_api_key"
}
}
}
}
Make sure to replace the environment variables with your actual values:
DOIT_API_KEY
: Your DoiT API key with appropriate permissionsCUSTOMER_CONTEXT
: Your customer context identifier (optional)
NOTE: you need to restart Claude for Desktop after updating the configuration for changes to take effect.
For Cursor IDE, you can install this MCP server using Smithery (recommended):
npx -y @smithery/cli install @doitintl/doit-mcp-server --client cursor
Or manually with the following command in your project:
env DOIT_API_KEY=[KEY] npx -y @doitintl/doit-mcp-server@latest
Don't forget to replace the env
values in that command with your actual values.
If you have the latest version (v0.47 and above) of Cursor, you can create an mcp.json
file in your project root:
{
"mcpServers": {
"DoiT": {
"command": "npx",
"args": [
"DOIT_API_KEY=your_doit_api_key",
"--",
"npx",
"-y",
"@doitintl/doit-mcp-server@latest"
]
}
}
}
If you want to clone and run this MCP server directly from the source code, follow these steps:
- Clone the repository
git clone https://github.com/doitintl/doit-mcp-server
cd doit-mcp-server
- Install dependencies
yarn install
- Build the project
yarn build
- Run the server
node dist/index.js
This MCP server provides the following tools:
get_cloud_incidents
: Retrieve cloud incidents from various platformsget_cloud_incident
: Get details about a specific cloud incident by IDget_anomalies
: Retrieve anomalies detected in cloud resourcesget_anomaly
: Get details about a specific anomaly by IDlist_reports
: Lists Cloud Analytics reports that your account has access torun_query
: Runs a report query with the specified configuration without persisting itget_report_results
: Get the results of a specific report by IDvalidate_user
: Validates the current API user and returns domain and email informationlist_dimensions
: Lists Cloud Analytics dimensions that your account has access toget_dimension
: Get a specific Cloud Analytics dimension by type and ID
Here are some common queries you can ask using the DoiT MCP server:
- "What are my Flexsave savings?" - This will analyze your Flexsave cost optimization savings across your cloud accounts.
- "What are my top 3 AWS services by cost?" - This will run a Cloud Analytics query to identify your highest-spending AWS services.
- "List all my available reports" - This will show all Cloud Analytics reports you have access to.
- "Show me the results of my 'Monthly Cost Overview' report" - This will fetch and display results from a specific report.
- "What are my recent GCP anomalies?" - This will show recent cost or usage anomalies detected in your Google Cloud Platform accounts.
- "Show me details about anomaly ABC123" - This will provide detailed information about a specific anomaly.
These examples demonstrate basic usage patterns. You can combine and modify these queries based on your needs. The MCP server will interpret your natural language queries and use the appropriate tools to fetch the requested information.
DOIT_API_KEY
: Your DoiT API key (required)CUSTOMER_CONTEXT
: Your customer context identifier (optional)