Connection check
verified live · 26h ago
pzero-mcp
Prepaid inference for agents over hosted MCP. Chat, image, and video.
Tools
18
GitHub stars
—
Installs / wk
—
Licence
—
Transport
streamable-http
Last checked
26h ago
Tools & capabilities
18 toolsRead from the running server on 26h ago.
agent_me
GET /v1/agent/me — balances, key prefix, max price. Pending USDC is not spendable until confirmed. If confirmed is low, call funding_instructions. GET /v1/agent/me — balances, key prefix, max price. Pending USDC is not spendable until confirmed. If confirmed is low, call funding_instructions.
chat_completions
model*messages*max_tokenstemperature
POST /v1/chat/completions (buffered). Pass a live model id from get_models. Returns completion plus cost trace headers. POST /v1/chat/completions (buffered). Pass a live model id from get_models. Returns completion plus cost trace headers.
create_key
name*
POST /v1/agent/keys — mint another key. Does NOT add USDC credit. Plaintext shown once. POST /v1/agent/keys — mint another key. Does NOT add USDC credit. Plaintext shown once.
funding_instructions
How to fund a PZERO account and authenticate MCP. MCP never accepts payment or wallet keys. Fund via Studio x402 top-up or agent HTTP signup/refill, then use Authorization Bearer p… How to fund a PZERO account and authenticate MCP. MCP never accepts payment or wallet keys. Fund via Studio x402 top-up or agent HTTP signup/refill, then use Authorization Bearer pzero_…
generate_image
nmodel*prompt*qualityresolutionaspect_ratio
+2
POST /v1/image/generate — intent tool for image generation. Rejects enable_web_search. Returns images plus cost trace. POST /v1/image/generate — intent tool for image generation. Rejects enable_web_search. Returns images plus cost trace.
generate_video
can modify data
audiomodel*prompt*durationresolutionaspect_ratio
Intent tool: POST /v1/video/queue (settles then enqueues). Returns queue_id + cost. Confirm before calling — this spends prepaid USDC. Poll with get_generation_status or wait_for_v… Intent tool: POST /v1/video/queue (settles then enqueues). Returns queue_id + cost. Confirm before calling — this spends prepaid USDC. Poll with get_generation_status or wait_for_video.
get_capacity
max_price_cents
GET /v1/capacity — routable DIEM and price bands before funding or spend decisions. GET /v1/capacity — routable DIEM and price bands before funding or spend decisions.
get_generation_status
queue_id*
POST /v1/video/retrieve once — JSON status or delivered MP4. POST /v1/video/retrieve once — JSON status or delivered MP4.
get_models
id
GET /v1/models — resolve a live model id before inference. Optional id retrieves one public row (same object as that id in the list). Do not hardcode model ids. GET /v1/models — resolve a live model id before inference. Optional id retrieves one public row (same object as that id in the list). Do not hardcode model ids.
get_request
support_reference*
GET /v1/agent/requests/{support_reference} — recover cost/trace for a prior request. GET /v1/agent/requests/{support_reference} — recover cost/trace for a prior request.
list_keys
GET /v1/agent/keys — list active API key metadata (never plaintext). GET /v1/agent/keys — list active API key metadata (never plaintext).
revoke_key
can modify data
id*
DELETE /v1/agent/keys/{id} — irreversible. Do not revoke the key used by this MCP session unless intentional. DELETE /v1/agent/keys/{id} — irreversible. Do not revoke the key used by this MCP session unless intentional.
set_max_price
max_price_cents_per_dollar*
PATCH /v1/agent/max-price — raise/lower ceiling (30-80). Use when tools return no_eligible_supply with cheapest_posted_cents. Does not auto-apply. PATCH /v1/agent/max-price — raise/lower ceiling (30-80). Use when tools return no_eligible_supply with cheapest_posted_cents. Does not auto-apply.
video_complete
queue_id*
POST /v1/video/complete — optional cleanup after retrieve. POST /v1/video/complete — optional cleanup after retrieve.
video_queue
can modify data
audiomodel*prompt*durationresolutionaspect_ratio
POST /v1/video/queue — paid settle+enqueue. Prefer generate_video for agents. POST /v1/video/queue — paid settle+enqueue. Prefer generate_video for agents.
video_quote
audiomodel*prompt*durationresolutionaspect_ratio
POST /v1/video/quote — no settle, no job. Check clears_now vs price ceiling vs funding before queue. POST /v1/video/quote — no settle, no job. Check clears_now vs price ceiling vs funding before queue.
video_retrieve
queue_id*
POST /v1/video/retrieve — power-user status/media poll. POST /v1/video/retrieve — power-user status/media poll.
wait_for_video
queue_id*max_pollsinterval_ms