Safe for agents
What it does
An agent calls xpumesh through MCP. It does not receive cloud credentials, cannot create or raise a cap, and can use the same client_token to retry one launch request.
Tool schemas reject credential-like parameters.
A retry with the same client_token returns the same lease.
Why it matters
A person keeps control of the cloud accounts and spending limits while an agent can request a machine through the same checked launch path.
How to use it
Use the shipped local MCP tools in this order:
list_offers / check_quota → launch_check → launch (client_token) → lease_status → lease_access → lease_releaseFor a first setup, add the supported MCP server with xpumesh agent setup cursor, then run xpumesh agent doctor.
Limits today
- Local policy files are not a security boundary against an agent with the operator’s OS permissions. Hosted caps are enforced by the hosted server.
- Built and tested offline against recorded provider responses. Live-provider testing is not done yet.
Source
xpumesh docs/agents.mdxpumesh docs/safety-model.mdxpumesh crates/mcp/src/launch_tool.rs
Other features
- Spend caps: Set an hourly ceiling, a per-launch cap and a monthly spend limit before launches.
- Ranked offers and fallback: Compare known offers, keep unknown results separate and try allowed candidates in order.
- Leases and teardown: Inspect a lease, release it explicitly and get deletion evidence after provider confirmation.
- One-line agent setup: Add the local MCP server to supported clients and check the configuration.
- Key custody: Self-hosted launches resolve provider keys from Vault; callers pass profile references.
- All features
- Where it’s going