MCP server
Plutus runs an MCP (Model Context Protocol) server at
POST /api/mcp. Any MCP-compatible AI assistant, Claude Desktop, Claude Code, or another MCP
client, can connect to it and query your account’s cost and FinOps data directly, without you
copying numbers into a chat window by hand.
There are two ways to connect: OAuth (recommended, sign in and approve access, nothing to copy or manage) and a manual API key (a bearer token, for clients that don’t support OAuth, or for scripts/CI).
Connecting via OAuth (recommended)
Section titled “Connecting via OAuth (recommended)”Plutus supports OAuth 2.0 for MCP clients that ask for it, which today, in practice, means
adding Plutus as a custom connector rather than picking it from a built-in directory listing.
Plutus isn’t listed in Claude’s connector directory yet (that requires a submission review on
Anthropic’s side, independent of anything on our end), and ChatGPT/Gemini don’t have an
equivalent public directory to be listed in at all, so on every provider, for now, you add
Plutus by pasting the endpoint URL: https://console.plutus-cloud.com/api/mcp.
The general shape is the same everywhere, add a custom connector, paste the URL, sign in to Plutus, approve a consent screen (which account, and read-only or read/write access), and you’re connected with no key to copy or manage. Where to find that flow differs enough per provider that it’s worth spelling out separately, and one of the three (Gemini) isn’t consistently available yet:
Claude (claude.ai, Claude Desktop, Claude Code): Settings → Connectors → Add custom connector. Works on every plan, including the free tier (free accounts are capped at one custom connector total).
ChatGPT: requires a paid plan (Plus, Pro, Team, Enterprise, or Edu) the free tier can’t add a custom connector at all. First enable it: Settings → Apps → Advanced settings → Developer mode. On a Business/Enterprise workspace, an admin may need to turn this on first, in Workspace settings → Permissions & Roles → Connected Data → Create custom MCP connectors. Once enabled: Settings → Connectors → Create → Add custom connector, paste the endpoint, give it a name, and complete the OAuth step.
Gemini: consumer Gemini (the regular chat app) does not reliably expose a custom-connector option yet, support is inconsistent across accounts as of this writing, so don’t be surprised if you don’t see it. Gemini Enterprise (Google’s Business edition) does support it, at the admin level: Settings & help → your Team → Manage team → Connected apps → Add MCP Server. If you’re on consumer Gemini and don’t see a custom-connector option, that’s Google’s rollout, not something missing on Plutus’s end, the manual API key below works today regardless.
Manual API keys (alternative)
Section titled “Manual API keys (alternative)”For a client that doesn’t support OAuth, or for scripts/CI, mint a bearer-token API key instead. MCP keys are separate from usage-ingestion API keys and from your login session. Mint one from Access in the sidebar, on the MCP keys tab:
- Open Access.
- Click + New key, give it a name (for example, “Claude Desktop”), and choose a scope: Read-only or Read + write (see below).
- Copy the plaintext key shown in the response. It’s shown once, Plutus stores only its hash and can’t display it again.
You can mint multiple keys (one per assistant or integration) and revoke any of them independently from the same page. A key that hasn’t been used yet shows Never as its last-used date; once a client starts calling it, that timestamp updates on every request. The tab also lists recent AI assistant activity (tool calls over the last 30 days) and each key’s write scope.
Minting a key requires the member role or higher, the same as creating a budget or alert
subscription directly in the app. Revoking a key requires being its creator or having a role at
least as high as the key’s.
Try it on sample data (no account)
Section titled “Try it on sample data (no account)”The demo MCP server at https://demo.plutus-cloud.com/api/mcp needs no key and no sign-in. It
serves Plutus’s sample data to a read-only viewer, so you can ask an assistant about cloud and AI
spend before you connect anything of your own.
The public /connect page on the console has Add to Claude, Add to Cursor and Add to VS
Code links, install commands for Claude Code and Gemini CLI, and a copy-the-URL box for ChatGPT
and the Gemini app. Claude shows a confirmation dialog before it adds the connector.
The demo server only reads the demo account. It doesn’t accept writes and can’t reach any real account’s data. To query your own account, use OAuth or an API key as described above.
Read-only by default
Section titled “Read-only by default”A newly minted key defaults to read: it can query cost data but can’t create or change anything. Every tool available to a read key only reads data, nothing it does can modify a budget, alert, or cost-tag rule.
Optionally, you can mint a read/write key instead. A read/write key unlocks write tools across several areas: budgets and alert subscriptions, dashboards, recommendation triage (dismissing, marking acted-on, or setting status, owner and snooze), unit metrics, cost allocation (teams and cost-tag rules), scheduled reports and manual cost sources, custom events, and task tracker links. A few examples:
create_budget, creates a budget scoped to the whole account, one cost source, one team, or one cost-tag value. Subject to the same per-account budget cap as creating a budget in the app.create_alert_subscription, subscribes an existing alert channel to a trigger, such as a specific budget’s spend threshold or an account-wide anomaly alert.create_alert_rule,update_alert_ruleanddelete_alert_rule, manage metric alert rules over cost, usage or event volume.list_alert_ruleslists them and works with a read-only key. See Metric alert rules.create_dashboard, creates a shared dashboard and, optionally, places widgets on it in the same call. Subject to the same per-account shared-dashboard cap as creating one in the app.set_dashboard_widgets, replaces a shared dashboard’s complete widget set.update_alert_subscription, changes the report attached to a budget alert subscription (report_id,report_window) and which of the budget’s alerts it reacts to (trigger_states). Passingnullforreport_idremoves the report.update_savings_recommendation, sets a recommendation’sstatus(open, in progress, done), its owner, or a snooze time. This covers every finding, so it replaces the separate waste-finding dismiss tools. Usedismiss_savings_recommendationto dismiss one.accept_tag_recommendations, accepts up to 100 suggested cost-tag rules in one call.min_confidenceishighby default (exact matches only) ormedium(also strong matches). Low-confidence matches are never accepted in a batch. Useaccept_tag_recommendationfor those, one at a time.update_vendor_mapping,reset_vendor_mapping_decision: decide or undo a vendor on Vendors, one vendor at a time. Bulk decisions are available only in the app.create_tracker_link,delete_tracker_link,reopen_tracker_link, create a Jira ticket for a savings recommendation (including a waste finding) or an anomaly; unlink one; reopen a completed one.
More write tools, by area:
- Source settings:
set_sync_cadencesets how often a connected source syncs one data type (costs, events or usage), or clears it to return to the default. A rate faster than the default needs a paid plan.set_gcp_project_includedandset_aws_member_account_includedinclude or exclude one discovered Google Cloud project or AWS member account. The connected project or management account can’t be excluded, and the tools work only while multi-project or multi-account coverage is on.set_gcp_usage_settingschanges the BigQuery job usage settings of the Google Cloud connection and takes effect on the next sync. None of these touch credentials. - Reporting:
create_scheduled_report,update_scheduled_reportanddelete_scheduled_reportmanage scheduled cost digests that go to an existing alert channel.create_manual_cost_source,update_manual_cost_sourceanddelete_manual_cost_sourcemanage hand-entered monthly cost lines. - Anomalies:
create_anomaly_suppressionmarks a cost anomaly as expected so the detector stops flagging it. It sends a “dismissed as expected” message to channels subscribed to cost anomaly alerts.delete_anomaly_suppressionremoves a suppression, andflag_anomaly_for_reviewmoves an auto-triaged anomaly back to the triage list. - Cost allocation: teams (
create_team,rename_team,delete_team,add_team_member,remove_team_member), cost-tag rules (create_cost_tag_rule,update_cost_tag_rule,delete_cost_tag_rule,set_cost_tag_value_target,delete_cost_tag_value_target) andupdate_cost_tag_key_settings, which sets a tag key’s redistribution policy. - Other:
create_unit_metric,update_unit_metricanddelete_unit_metric;create_creditanddelete_credit;add_custom_eventanddelete_custom_event;delete_budget,update_budgetanddelete_alert_subscription.
Some write tools are destructive, such as delete_dashboard, which permanently deletes a shared
dashboard, and delete_alert_channel, which permanently deletes an alert channel and removes every
subscription bound to it.
MCP keys and OAuth tokens for a suspended or archived account return 401. An OAuth grant isn’t revoked in that case, so reactivating the account restores it.
Roles and write areas
Section titled “Roles and write areas”A write tool must clear three checks, and a credential holds only what all three allow:
- Scope. A read key never gets a write tool.
- Role. Each write tool needs the same role as the equivalent action in the app, mostly
member. MCP access follows the role of the person who granted it, checked on every request. If that person is demoted or removed from the account, the credential loses that access on its next call. For an OAuth grant, a departed or deactivated person gets a 401 and Plutus revokes the whole grant, so the client must be authorized again by a current member. A static key whose creator left keeps working as read-only until an admin adopts it. If they’re promoted later, the credential doesn’t gain anything until you mint a new key or approve a new OAuth consent. A read/write credential held by aviewercan write nothing. - Area. A manual key can be restricted to specific write areas, for example budgets and alerts only. In the key form the areas are Budgets & Alerts, Dashboards, Savings Recommendations, Unit Economics, Cost Allocation & Teams, Reporting & Manual Cost Data, Custom Events, Task Tracker and Source Settings. OAuth credentials aren’t restricted by area.
Dashboard tools only ever act on shared (account-wide) dashboards, never a personal one, an MCP key isn’t tied to a signed-in user, so it has no personal dashboard to read or write. Two widgets given the same exact position are rejected outright rather than silently moved apart: reposition one of them, or drop its position so it arranges itself instead.
There’s no tool for creating or editing an alert channel (a Slack webhook, Teams webhook, etc.), adding a new notification destination stays an app-only action, since that’s the step that involves validating a URL you paste in. A read/write key can only point new alerts at channels you’ve already created and vetted in the app.
If the person who minted a key leaves the account, the key shows Write disabled - creator left and loses write access. An admin can click Adopt on the key to re-attribute it to themselves and restore write access.
If you don’t need an assistant to create anything, keep the key on Read-only. Most workflows, “what did we spend last month,” “which service is trending up”, only need read access.
What you can query
Section titled “What you can query”A read key exposes tools covering:
- Cost and spend analytics, time-bucketed spend by service, region, account, usage type, or
actor, with optional breakdowns and billed-vs-amortized cost.
query_costscan also break spend down by sourcecategory(breakdown_by: "category"), filter by category (filter_category,exclude_category), and leave out values of any dimension it can filter on (exclude_<dimension>, for exampleexclude_region). - Unit economics, your saved cost-per-unit metrics (for example, cost per 1,000 API requests
or cost per order), computed over a date range.
query_unit_coststakescost_metric(billedoramortized). - Savings recommendations and commitment utilization, active cost-reduction suggestions (idle and orphaned resources are reported here as findings, not through a separate tool) and how well your purchased Reserved Instances/Savings Plans are being used.
- Cost tags, your virtual tagging rules and the account/team/product breakdowns they produce, including shared-cost split rules.
- Teams, budgets, and alerts, team membership and tag mapping, budget status (ok/warning/
exceeded), alert channels and subscriptions, and alert history (
list_alert_history): every alert, scheduled report and test sent in the last 90 days, with its channel, status and any report attached to the alert.list_alert_deliveriesreturns recent delivery outcomes, without the error text.list_scheduled_reportslists the scheduled digests with their schedule, scope, destinations and next send.list_report_layoutslists the presets and dashboard widgets a scheduled report layout can use. - Anomalies, tag recommendations, and data health, flagged spend anomalies (and, through
list_anomaly_suppressions, the ones marked as expected), suggested (but not yet adopted) tagging rules, and per-connection sync health. Each connection reportshealth(working,failing,unknown, orno_datafor a Kubernetes agent whose pushes carry no rows),consecutive_failuresandlast_successful_sync_at. An entry also reportsis_overdue, which is true when there has been no successful sync within twice the effective sync interval. A Kubernetes agent entry also has acollectorobject whosestateissending_data,connected_no_dataorsilent(no heartbeat within twice the push interval). - Sources and sync,
list_cost_sourceslists the enabled cost sources with how each one’s figures are priced (invoiced or estimated).get_sync_cadencereturns a source’s sync rate per data type, the default, and which choices your plan allows.list_gcp_projectsandlist_aws_member_accountsshow the projects or member accounts discovered behind a connection, whether each is readable, and whether it is included.get_gcp_usage_settingsreturns the BigQuery job usage settings. - Raw rows and filter values,
get_cost_entriesreturns unaggregated cost rows for a date range, so preferquery_costsfor totals.list_dimensionslists the values of a cost dimension for one provider, andlist_cost_source_tag_keysandlist_cost_source_tag_valueslist the provider tags and labels present in your cost data. - Events,
query_eventsreturns the business-event timeline (releases, incidents, deploys, customer lifecycle events) for a date range, capped at 5,000 rows.list_event_facetslists the repositories seen, for themeta_repofilter. - Commitment expirations,
list_commitment_expirationslists Reserved Instances, Savings Plans and Azure Reservations by expiration date, soonest first. A negativedays_until_expirationmeans the commitment has already expired. - Alert rule baselines,
preview_alert_baselinereturns the per-day average a baseline pinned from a past date range would have, without saving a rule. See Drift against a pinned baseline. - Automation follow-through,
get_remediation_impactsummarizes the pull requests Plutus opened from savings recommendations in a window: opened, merged, closed by your team, closed by Plutus and still open. - Dashboards, the dashboards shared across your account, their full layout, and the catalogue of built-in widgets available to place on one.
- Cost change explanations,
explain_cost_changetakes a service, region, or other slice and a day or date range, and returns which timeline events line up with the change and how much of the move Plutus could account for. It reports timing and dimensional evidence, not causation, and it isn’t limited to anomalies the detector flagged. With a read/write credential at member role or above, the call also stores its attribution as a record in the account. Read keys, and read/write credentials below member, store nothing. - Credits,
list_creditslists the account’s credits with balances, burn rate and projected exhaustion. See Credits and runway. - Repository cost mappings,
list_repo_cost_mappingslists which repository owns which cost item, confirmed mappings by default. Suggested rows are proposals nobody has decided on yet. Confirming and rejecting stay in the app. See Repository cost mapping. - Task tracker links,
list_tracker_linkslists the Jira tickets linked to recommendations (waste findings included) and anomalies, with each link’s status. - Usage telemetry, the raw usage data your own backend has pushed in, which unit-economics
ratios are built from.
query_usagecan group by a pushed dimension (breakdown_by: "dimension:<key>"), filter by source category (filter_category,exclude_category) and exclude metrics, customers and sources (exclude_metric,exclude_external_customer_id,exclude_source_id).list_usage_dimensionswithdimension: "dimension_key"lists the dimension keys available.
Every dollar figure a tool returns comes with a currency alongside it, so the assistant doesn’t have to guess or assume USD.
The server also ships ready-made prompts (client-side shortcuts, like a slash command in Claude
Desktop) for common tasks: a weekly cost digest, an anomaly check, top cost drivers this month,
a savings-opportunities review, a commitment-utilization review, a budget health check, and
more. The onboard-me prompt is for a new account: the assistant asks what you care about,
checks which cost sources are connected, proposes dashboards, budgets, and alert subscriptions
for you to confirm, and only then creates them. It proposes only what your credential can
create, so a read key gets a checklist to build in the app. Connecting a cost source and
creating an alert channel stay in the app. You don’t have to use these prompts, asking a free-form question works the same way, since the
assistant calls the same tools either way.
Inline cards in Claude
Section titled “Inline cards in Claude”In clients that render MCP Apps, query_costs and explain_cost_change draw a card inside the
conversation in addition to the assistant’s text answer. Claude on the web, desktop and mobile
renders them. Claude Code and other clients that don’t render MCP Apps show no card and get the
same tool result as before, field for field, so nothing changes for them.
- Cost card (
query_costs): the total for the date range and the largest series with its share, over a stacked bar chart. The chart shows the five largest series and groups the rest as Other. Days that aren’t complete yet are hatched. A note appears when any figure is an estimate rather than invoiced. - Explanation card (
explain_cost_change): the same sentences the tool returns, with the figure for the day the sentences describe. That day can differ from the day you asked about. - Open in Plutus on either card opens the matching view in the app. A demo credential opens the demo site instead of the console.
The cards draw from the tool’s own result and fetch nothing else. If a client doesn’t show a card, the assistant’s text answer carries the same numbers.
Connecting a client with a manual key
Section titled “Connecting a client with a manual key”Point your MCP client at POST /api/mcp with the key as a bearer credential:
{ "mcpServers": { "plutus": { "url": "https://console.plutus-cloud.com/api/mcp", "headers": { "Authorization": "Bearer <your-mcp-key>" } } }}The MCP keys tab of Access leads with the OAuth “Connect an AI Assistant” card described above, followed by this same pre-filled JSON under Manual API key, ready to paste into Claude Desktop’s or Claude Code’s MCP configuration, or a script/CI job. Every key (OAuth-issued or manual) is scoped to a single account, there’s no way to query across multiple accounts with one connection, even if your login belongs to more than one.
Example prompt
Section titled “Example prompt”Once connected, you can ask your assistant questions in plain language, for example:
What was our AWS spend last month by service?
The assistant calls the cost-analytics tool with the AWS cost source and a service breakdown, and answers from the real numbers rather than an estimate. Other things worth trying:
Are any of our budgets close to exceeded this cycle?
Show me any cost anomalies from the last two weeks that haven’t been marked as expected.
What’s our cost per API request been trending this quarter?
With a read/write key, the assistant can also build things for you:
Create a shared dashboard called “Weekly review” with MTD spend, the budgets card, and a chart of AWS spend by service over the last 90 days.