Skip to content
CP-MCP
Get Support

Limits and quotas

Every limit that can end a CP-MCP request, in one place. Most of them only matter when you ask Claude for something broad — “audit every property”, “list every enrollment” — which is the case worth knowing about in advance.

LimitValueWhat happens when you hit it
Wall-clock budget20 secondsThe invocation is aborted with code_mode exceeded 20000ms wallclock budget. Work already done is lost
Code size20,000 charactersRejected before execution with “code must be under 20,000 characters”
Single Cloudpath request15 secondsThat one call resolves with ok: false; the rest of the program keeps running

The two timeouts compose badly on purpose: three slow Cloudpath calls in sequence can exhaust the 20-second budget on their own. A program that has to touch many resources should be split across several turns rather than looped inside one invocation.

These are enforced by Cloudpath on cloud-hosted deployments, not by CP-MCP. Exceeding them produces an error from Cloudpath, which reaches you as a normal ok: false result with Cloudpath’s status.

LimitValueNotes
API requests180 per minute, per tenantShared with everything else hitting that Cloudpath — other integrations count
Token mints10 per minuteCP-MCP caches tokens for up to 240 seconds, so a normal session mints once per surface every few minutes

The mint cap is effectively unreachable through CP-MCP. The request cap is reachable: a pagination loop over a large list can issue dozens of requests in a few seconds. Prefer a server-side filter over fetching every page — see Calling conventions.

pageSize is chosen by Cloudpath, not by you, and tops out at 1,000 records per page. Read it back from the response envelope rather than assuming a value.

PropertyValue
Maximum cache lifetime240 seconds
Upstream JWT lifetime~5 minutes
Safety margin60 seconds before the upstream expiry
Automatic retries on 401/406Exactly 1

The margin is why a cached token is never used within a minute of expiring, and the single retry is why a token that expires mid-request costs you one extra round trip rather than an error. See Security model.

ParameterRangeDefault
count1–100 passphrases per call1
wordCount2–8 words3
separatorup to 3 characters-

Need more than 100? Call it again in the same program — it is a local computation with no upstream request, so repeated calls cost nothing but time. See Generating passphrases.

Image dimensions are fixed per target and cannot be overridden.

TargetOutputAI call
tenant_logo, mgmt_logo1024×256 PNGYes — one Workers AI generation per call
tenant_favicon, mgmt_favicon128×128 PNGNo

Logo generation is the slowest thing CP-MCP does and the only part that bills AI compute, so it counts against the 20-second budget more than anything else. Generating a logo and a favicon and uploading both in one invocation is routine; generating a dozen logos in one is not. See Generating portal images.