agent-payments
Installation
SKILL.md
Codex Machine Payment Protocol (MPP)
Use this skill to access the Codex Supergraph without an API key via the MPP challenge flow.
| HTTP endpoint | https://graph.codex.io/graphql |
| Opt-in header | X-Codex-Payment: mpp |
| Credential header | Authorization: Payment <base64url-credential> |
How it works
- Send a GraphQL query with
X-Codex-Payment: mpp(no credential). - Server returns
402 Payment RequiredwithWWW-Authenticate: Payment ...challenges. - Client solves one challenge and retries with
Authorization: Payment <credential>. - Server returns GraphQL data +
Payment-Receiptheader.
Constraints
Related skills