what is DoiT MCP Server?
DoiT MCP Server provides access to the DoiT API, enabling LLMs like Claude to access DoiT platform data for troubleshooting and analysis.
how to use DoiT MCP Server?
To use the DoiT MCP Server, you need to install it via Smithery or manually configure it for your application, ensuring you have a valid DoiT API key and customer context identifier.
key features of DoiT MCP Server?
- Access to various DoiT API tools for cloud incident management and analytics.
- Natural language query support for retrieving cloud data.
- Integration with Claude Desktop and Cursor IDE for seamless usage.
use cases of DoiT MCP Server?
- Analyzing cloud costs and savings.
- Retrieving cloud incident details for troubleshooting.
- Generating reports and analytics on cloud usage.
FAQ from DoiT MCP Server?
- What is required to use the DoiT MCP Server?
You need Node.js v18 or higher and a valid DoiT API key.
- Can I install it manually?
Yes, you can clone the repository and run it directly from the source code.
- What types of queries can I run?
You can run queries related to cost analysis, reports, and anomaly detection.
DoiT MCP Server
DoiT MCP Server provides access to the DoiT API. This server enables LLMs like Claude to access DoiT platform data for troubleshooting and analysis.
Requirements
- Node.js v18 or higher
- DoiT API key with appropriate permissions
- Customer context identifier (for customer-specific data)
Installation
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:
Installing via Smithery (Recommended)
To install doit-mcp-server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @doitintl/doit-mcp-server --client claude
Claude Desktop App
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.
Cursor
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"
]
}
}
}
Clone to Local Repository
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
Tools
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
Usage Examples
Here are some common queries you can ask using the DoiT MCP server:
Cost Analysis and Savings
- "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.
Reports and Analytics
- "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.
Anomaly Detection
- "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.
Environment Variables
DOIT_API_KEY
: Your DoiT API key (required)CUSTOMER_CONTEXT
: Your customer context identifier (optional)