setup_autopilot
Idempotently create a bounded starter agent and $500 monthly hard-stop budget when they are missing.
The MCP server validates each request with the caller's SpendGuard credential, forwards the request to the SpendGuard API, and returns the API decision. The remote transport is stateless and keeps the MCP layer as a facade, not a separate policy engine or second ledger.
Use the dashboard quickstart to create a sandbox agent, API key, and starter budget policy before connecting an MCP client.
Paste the server configuration into an MCP-compatible client. Store the API key in the client secret settings, not in source control.
Call report_ai_usage after model calls, get_budget_status before expensive runs, and use guard_spend / settle_spend for governed paid actions.
MCP endpoint
https://spendguard-mcp.onrender.com/mcpThis is the active endpoint from the current frontend configuration. Use https://mcp.spend-guard.com/mcp only after the custom MCP domain is verified and configured.
Add this JSON to an MCP-compatible client and keep the SpendGuard API key in your client's secret settings.
Start with usage reporting, budget status, alerts, findings, recommendations, and ROI. Use guard and settle when an agent needs to reserve or capture governed spend.
Idempotently create a bounded starter agent and $500 monthly hard-stop budget when they are missing.
List agents available to the authenticated organization identity.
Create a starter agent with bounded scopes already held by the caller.
Estimate, authorize, and reserve budget before a paid action runs.
Capture successful spend or release the reservation after a failed action.
Report normalized provider, model, token, and cost data without raw prompts.
Read the current budget and recent usage summary for the connected workspace.
Create scoped budgets for orgs, agents, projects, cost centers, departments, or API keys.
Adjust alert thresholds without changing the policy scope, limit, period, currency, or mode.
Read usage, remaining budget, utilization, and next threshold.
Review threshold alerts before a customer discovers overruns on an invoice.
Find repeated requests, token spikes, and other deterministic cost leaks.
Inspect one tenant-scoped cost finding and its bounded diagnostic metadata.
Mark a reviewed cost finding as resolved without suppressing future recurrence after the cooldown window.
Set simple allow or block policies for providers and models.
Review advisory lower-cost model recommendations from usage data.
Estimate cost before launching a new agent workflow.
Project future spend from recent usage trends.
Report business outcomes for cost-per-outcome and ROI tracking.
Review deterministic actions with the exact spend metrics supporting each recommendation.
Read AI spend, outcome value, cost per outcome, and ROI.
Read project-level AI spend, outcome value, cost per outcome, and ROI.
Read cost-per-outcome breakdowns by cost center.
SpendGuard MCP uses a SpendGuard credential. It should not receive customer OpenAI, Anthropic, Google, or payment-provider keys.
Remote MCP requests are validated and forwarded with the caller credential instead of one shared server credential.
MCP tools call the same SpendGuard API paths used by the dashboard, SDKs, and action schema.
Runtime MCP claims should stay tied to wrapper tests and hosted smoke evidence.
The repo documentation includes local stdio setup, hosted Streamable HTTP setup, smoke proof commands, and example tool payloads.