Every endpoint of the MCP Guard API, with request and response examples. New here? Start with the quickstart. Below the summary: the live OpenAPI spec, rendered by Scalar, where you can try requests with your own key. Source spec at /v1/openapi.
https://api.mcp-guard.ai (also https://mcp-guard.ai/v1/…)Authorization: Bearer mcpg_live_… (or x-api-key) on every call except /v1/openapi. Create keys in the dashboard under API keys.application/json requests and responses. Max body 512 KB.Check one agent action before it runs. 1 credit, or one free request.
Up to 64 checks in one request; one result per check, in order (each shaped like /v1/guard, abridged here). 1 credit per check, or one free request for the whole batch.
Credit balance (1 credit = 1 check), free requests left, plan and the last 30 days of usage. Free.
This API as an OpenAPI 3.1 document. No key needed.
Example values are illustrative.