PayWithLocus MCP API

Stateless Streamable HTTP transport and MCP tool-result contracts

GitHub OpenAPI

Operations 29

POST /credits/agent-connections Create a scoped Agent Connection #
GET /credits/agent-connections List scoped Agent Connections #
GET /credits/agent-connections/{connectionId} Read one scoped Agent Connection #
PATCH /credits/agent-connections/{connectionId} Change a scoped Agent Connection's tool set or monthly budget #
POST /credits/agent-connections/{connectionId}/rotate Rotate a scoped Agent Connection credential #
POST /credits/agent-connections/{connectionId}/revoke Revoke a scoped Agent Connection credential #
GET /.well-known/oauth-protected-resource/api/credits/mcp Discover the MCP protected resource #
GET /.well-known/oauth-authorization-server/api/credits/mcp/oauth Discover the MCP authorization server #
GET /credits/mcp/.well-known/oauth-protected-resource Discover the MCP protected resource (compatibility alias) #
GET /credits/mcp/oauth/.well-known/oauth-authorization-server Discover the MCP authorization server (compatibility alias) #
POST /credits/mcp/oauth/device_authorization Start MCP device authorization #
GET /credits/mcp/oauth/device/public-context Read signed-out device authorization context #
GET /credits/mcp/oauth/device/tenants List memberships available to a device authorization #
GET /credits/mcp/oauth/device/context Read signed-in device consent context #
POST /credits/mcp/oauth/device/decision Approve or deny an MCP device authorization #
GET /credits/mcp/oauth/authorize Start MCP OAuth authorization #
GET /credits/mcp/oauth/authorize/public-context Read safe signed-out context for an MCP authorization #
GET /credits/mcp/oauth/authorize/agentid Continue a pending MCP authorization with AgentID #
POST /credits/mcp/oauth/authorize/agent-credential Approve a pending MCP authorization with the agent's own credential #
POST /credits/mcp/oauth/token Exchange or refresh an MCP OAuth token #
POST /credits/mcp/oauth/register Dynamically register an MCP OAuth client #
GET /credits/mcp/oauth/register/{clientId} Read a dynamic MCP client registration #
PUT /credits/mcp/oauth/register/{clientId} Replace a dynamic MCP client registration #
DELETE /credits/mcp/oauth/register/{clientId} Delete a dynamic MCP client registration #
POST /credits/mcp/oauth/revoke Revoke an MCP OAuth token family #
GET /credits/mcp/docs Machine-readable MCP connection guide #
POST /credits/mcp Hosted MCP server (stateless Streamable HTTP) #
GET /credits/mcp Unsupported in stateless mode #
DELETE /credits/mcp Unsupported in stateless mode #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/paywithlocus-com:paywithlocus-com-mcp-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

paywithlocus-com-mcp-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Locus Pro MCP API
  description: Production is live at https://api.paywithlocus.com/api. Stage remains available for evaluation and integration testing at https://api.stage.paywithlocus.com/api; credentials, balances, and tenant data are isolated by environment. Embedded prepaid credits over the Locus pay-per-use catalog. Money and top-up amounts use exact decimal strings (up to 6dp). Every burn requires an Idempotency-Key header. Management routes accept a tenant secret key or authorized dashboard session as shown per operation. High-risk operations protected by workspace-administrator step-up require an owner or admin dashboard session, the applicable scope, and MFA/passkey authentication completed in the last ten minutes; developer, billing, viewer, and secret-key principals remain ineligible even when a matching scope is present. Scoped secret keys retain only the explicitly documented Agent Connection lifecycle exception. Widget routes accept an end-user JWT alone; when a publishable key is present it must belong to the JWT's tenant. MCP uses OAuth 2.1 Authorization Code with PKCE by default and also accepts the explicitly documented tenant secret key, end-user JWT, or scoped agent connection compatibility credentials. Burns accept the execution credentials shown per operation. Publishable keys never authorize management or burns by themselves.
  version: 0.7.0
servers:
- url: https://api.paywithlocus.com/api
  description: Production
- url: https://api.stage.paywithlocus.com/api
  description: Stage — evaluation and integration testing
security:
- secretKey: []
tags:


# --- truncated at 32 KB (74 KB total) ---
# Full source: https://artifacts.apis.io/paywithlocus-com/openapi/paywithlocus-com-mcp-api-openapi.yml