/doit-mcp:doit-mcp-setupfrom doit-mcp
Set up the DoiT MCP server in supported clients and verify the connection flow. Use when the agent needs to configure ChatGPT, Claude, Claude Code, Codex, Cursor, or Gemini CLI for DoiT MCP access, produce the correct connection snippet, explain required credentials, or troubleshoot why a DoiT MCP client is not connecting.
Ships in doit-mcp. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Guide the user through connecting a client to the DoiT MCP server. For clients configured through a file, show the exact snippet and where it goes, and let the user add it. For clients that require UI steps, guide the user through each step.
Do not read or edit the user's client configuration files, and do not ask the user to share an API key or other credential in the conversation. Sign-in happens in the client's own authorization flow.
Do not invent alternate URLs, auth methods, or config keys.
templates/ — ready-to-use config snippets for each file-configured client. Show the user the snippet from these files instead of reconstructing config from prose.references/troubleshooting.md — expanded troubleshooting table with client-specific notes. Read this when the user reports a connection issue.Billing Profiles Admin permission in DoiT.DCI CLI Installation section. It is optional.Do not write placeholder credentials into config files.
These clients read the server from a config file. Show the user the snippet from templates/, name the file it belongs in, and ask them to add it under the existing server list without removing other servers. The user makes the edit.
If this skill is running from the DoiT plugin, the MCP server is already configured by the plugin. Tell the user to run /mcp in Claude Code and select Authorize for the DoiT server if it is not yet authorized. Nothing else is needed.
Without the plugin:
claude plugin marketplace add https://github.com/doitintl/doit-mcp-skills, then claude plugin install doit-mcp@doit-mcp-skills.templates/claude-code.json and tell them to add it with claude mcp add-json doit-mcp '<snippet for the doit-mcp entry>', adding --scope project to limit it to one project./mcp in Claude Code and select Authorize for the DoiT server.Config file: .cursor/mcp.json in the project root.
Template: templates/cursor.json
templates/cursor.json.doit-mcp entry under mcpServers in .cursor/mcp.json, creating the file if it does not exist and keeping any existing servers.Config file: Gemini CLI's settings.json in the user's Gemini configuration folder.
Template: templates/gemini-cli.json
templates/gemini-cli.json.doit-mcp entry under mcpServers in their Gemini CLI settings.json, keeping any existing servers./mcp auth doit-mcp in Gemini CLI if the server requires authentication.Tell the user to run codex mcp add doit-mcp --url https://mcp.doit.com/sse.
As an alternative, show this TOML snippet for the user to add to their Codex config.toml, keeping any existing mcp_servers entries:
[mcp_servers.doit-mcp]
enabled = true
url = "https://mcp.doit.com/sse"
Tell the user to run codex mcp list to verify the server is registered, then complete the authorization flow if prompted.
These clients are configured in their own UI. Guide the user step by step.
Settings -> Apps & Connectors -> Create.MCP Server URL to https://mcp.doit.com/sse.OAuth for auth.Do not give a local config snippet for ChatGPT.
https://mcp.doit.com/sse.Authorize in the Claude UI and complete the OAuth flow.Do not mention Customer ID for Claude web.
After configuring the MCP client, offer to install the DoiT Cloud Intelligence CLI. The CLI provides direct terminal access to the same DoiT API that the MCP server uses. Install it only if the user agrees.
Use the install command for the user's platform:
brew install doitintl/dci-cli/dciwinget install DoiT.dciscoop bucket add doitintl https://github.com/doitintl/dci-cli && scoop install dcisudo dpkg -i dci_*_linux_amd64.debsudo rpm -i dci_*_linux_amd64.rpmdci login directly. This opens a browser window for OAuth authentication via the DoiT Console.dci status to verify the CLI is authenticated.After auth, run dci list-reports to confirm the CLI is working. If it returns a table of reports, the setup is complete.
After setup, verify the connection:
For detailed troubleshooting, read references/troubleshooting.md.
Quick checks:
doit-mcp, doit, or doit_mcp_server entry, tell them to replace it with the remote connector format for that client rather than keeping both."type": "sse" and "oauth": { "callbackPort": 8080 }: This is unique to Claude Code. Other clients infer the transport from the URL. Missing the type field or using "type": "http" causes a silent connection failure. The oauth.callbackPort is required for the OAuth callback to complete..cursor/mcp.json in the project root. Setting it globally does not work.config.toml will break the file. Use the TOML snippet in the Codex section.npx server with an API key), it must be fully removed before adding the remote HTTP setup. Mixing both causes duplicate or conflicting sessions.Billing Profiles Admin is required: Without this DoiT permission, tool calls will return 403 even if the connection succeeds. Verify this before starting setup.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub doitintl/doit-mcp-skills --plugin doit-mcp4 skills in this plugin
/doit-mcp-anomaly-investigationInvestigate DoiT cost anomalies with the DoiT MCP tools. Use when the user asks about cost anomalies, spending spikes, unexpected charges or a cost alert, for example "show anomalies", "why did my costs spike", "investigate this charge" or "what happened to my spending", or when an anomaly ID is given./doit-mcp-apiUse this skill when the user asks to integrate with the DoiT API, generate API code, build programmatic queries, or needs DoiT API reference. Triggers on requests like "call the DoiT API", "write code to query costs", "DoiT API example", "integrate DoiT into my app", or any DoiT API development task. For interactive cost queries and reports, prefer the doit-mcp-reporting skill instead./doit-mcp-reportingAnswer cloud cost and reporting questions with the DoiT MCP tools. Use when the user asks about cloud costs, spending, saved reports or Cloud Analytics data, for example "show my costs", "top services", "spending by project", "monthly cost breakdown", "cost by region", "list reports" or "run a report".