MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / mcp-execution-metering.test.ts

File mcp-execution-metering.test.ts

e2e/cloud/mcp-execution-metering.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1// Cloud-only (billing): every code execution run through the MCP session
2// Durable Object is metered to Autumn, exactly like the HTTP executor plane.
3// The MCP server is the PRIMARY execution surface (Claude/Cursor run code here,
4// not over /api), so if the DO doesn't bill, the bulk of real usage silently

Callers

nothing calls this directly

Calls 6

scenarioFunction · 0.90
emailOfFunction · 0.70
orgIdOfFunction · 0.70
textOfFunction · 0.70
connectMethod · 0.65
closeMethod · 0.65

Tested by

no test coverage detected