Hosted MCP requires a Pro or Enterprise workspace plus a workspace API key.
When to use hosted MCP
Use hosted MCP when you want a remote client such as Cursor or Claude Code to:- inspect the latest hosted audit
- compare recent spend and waste trends
- read ranked recommendations and source summaries
- push new hosted audit payloads or ingestion jobs
- manage hosted policy drafts with explicit write safety
Requirements
You need:- an active Pro or Enterprise workspace
- a workspace API key from the Xerg dashboard
- at least one pushed audit if you want real hosted audit data in the workspace
Endpoint and auth
Production endpoint:Supported clients
Hosted MCP works best in desktop or server MCP clients that can attach custom Bearer headers. Common examples:- Cursor remote MCP
- Claude Code
- Claude Desktop via
mcp-remote - other desktop or server MCP clients that support remote HTTP MCP
Available tools
Read tools:xerg_latest_auditxerg_historyxerg_trendsxerg_sourcesxerg_recommendationsxerg_list_policies
xerg_push_auditxerg_ingest_raw_openclawxerg_upsert_policyxerg_delete_policyxerg_create_policy_from_recommendation
Permissions and write safety
Hosted MCP is workspace-scoped.- workspace members can read hosted data and push or ingest audits
- policy creation, update, and deletion are restricted to workspace admins
- risky writes use preview and confirmation semantics instead of silently committing changes
Recommended flow
- run a local audit with
xerg audit - push it with
xerg audit --push - confirm the hosted workspace has data
- connect your MCP client to
https://mcp.xerg.ai/mcp - ask about waste, changes, or the next policy to create