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
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:
The DoiT MCP server is available at: https://mcp.doit.com/sse
{
"mcpServers": {
"doit_mcp_server": {
"command": "npx",
"args": ["mcp-remote", "https://mcp.doit.com/sse"]
}
}
}- Create an API key in the API section of the DoiT Console.
- Note the API key value for the below command.
- Run the following command:
q mcp-server create --name doit-mcp-server --url https://mcp.doit.com/sse --api-key your_doit_api_key- Start q chat by running this command:
q chat- Ensure that it connects and lists it as doit-mcp-server loaded at the top of the chat session.
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) - Required for Do’ers
NOTE: you need to restart Claude for Desktop after updating the configuration for changes to take effect.
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_mcp_server": {
"command": "npx",
"args": ["-y", "@doitintl/doit-mcp-server@latest"],
"env": {
"DOIT_API_KEY": "your_doit_api_key"
}
}
}
}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.jsThis MCP server provides many tools including the following:
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_assets: Returns a list of all available customer assets such as Google Cloud billing accounts, G Suite/Workspace subscriptions, etc.get_asset: Returns details of a specific customer asset by ID, including properties such as customer domain, subscription, and reseller informationtrigger_cloud_flow: Triggers a CloudFlow by its flow ID, optionally passing a JSON payload as the request bodyfind_cloud_diagrams: Returns diagram URLs matching the provided resource IDs from the DoiT Cloud Diagrams APIlist_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 IDget_report_config: Get the configuration of a specific Cloud Analytics report by IDcreate_report: Creates a new Cloud Analytics report with the specified configurationupdate_report: Updates an existing Cloud Analytics report with the specified configurationvalidate_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 IDlist_tickets: List support tickets from DoiT using the support APIget_ticket: Get details of a specific support ticket by its IDlist_ticket_comments: List all comments on a support ticket by its ID. Customers see only public comments; DoiT employees see both public and private commentscreate_ticket_comment: Add a comment to an existing support ticket. For customers, comments are always public. For DoiT employees, comments can be marked as private internal noteslist_invoices: List all current and historical invoices for your organization from the DoiT APIget_invoice: Retrieve the full details of an invoice specified by the invoice number from the DoiT APIlist_allocations: List allocations for report or run_query configuration that your account has access to from the DoiT APIget_allocation: Get a specific allocation by ID from the DoiT APIcreate_allocation: Create a new allocationupdate_allocation: Update an existing allocationlist_alerts: Returns a list of alerts that your account has access toget_alert: Returns a specific alert by ID.create_alert: Creates a new alert to notify when cloud costs exceed defined thresholdsupdate_alert: Updates an existing alert by IDlist_budgets: Returns the list of budgets that the user has access toget_budget: Returns the details and current utilization of a specified budgetcreate_budget: Creates a new budget to track actual cloud spend against planned spendupdate_budget: Updates an existing budgetlist_annotations: Returns a list of annotations that your account has access toget_annotation: Returns a specific annotation by IDcreate_annotation: Creates a new annotation with content, timestamp, and optional report/label associationsupdate_annotation: Updates an existing annotation by IDlist_commitments: Returns a list of commitments (reserved capacity or spend agreements) with cloud providersget_commitment: Returns details of a specific commitment by ID, including periods and attainment dataask_ava_sync: Ask DoiT AVA, the cloud cost and infrastructure expert, a question about the user's DoiT account, cloud spending, or optimization opportunities. Note: AVA can take a long time to respond for complex questions.list_organizations: Returns a list of organizations accessible to the authenticated userlist_platforms: Returns a list of all available platformslist_users: Returns a list of all users in the organizationupdate_user: Updates user information including name, job function, phone, language, and roleinvite_user: Invites a new user to the organization by email, optionally assigning a role and organizationlist_roles: Returns a list of all IAM roles, including both preset and custom roleslist_products: Lists products available for different platforms, optionally filtered by platform namelist_datahub_datasets: Returns a list of all DataHub datasets for the customerget_datahub_dataset: Returns details of a specific DataHub dataset by namecreate_datahub_dataset: Creates a new DataHub dataset with a name and optional descriptionupdate_datahub_dataset: Updates an existing DataHub dataset's descriptionsend_datahub_events: Sends one or more DataHub events for ingestion (1–50,000 events per call)list_labels: Returns a list of labels that the user has access toget_label: Returns details of a specific label by IDcreate_label: Creates a new label with a name and colorupdate_label: Updates an existing label's name or colorget_label_assignments: Returns the list of objects assigned to a specific labelassign_objects_to_label: Assigns or unassigns objects to a label
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.
- "List all my invoices" - This will show all current and historical invoices for your organization.
- "Show me details for invoice INV-2024-001" - This will provide full details for a specific invoice, including line items and payment status.
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)
