REST API
The three tools are also a REST API at https://mcpapi.one/v1/tools, for anything that calls HTTP rather than MCP: a script, a backend, a no-code tool, or a platform that takes an OpenAPI spec. Each call runs exactly as it does over MCP, with the same access, key limits, confirmation, credits and logs. The routes are in the OpenAPI spec under the tag tools.
Access
Section titled “Access”Send Authorization: Bearer <key> with a key from the dashboard’s Connected Agents page. Unlike the management API, these routes don’t need manage: any key works, and its limits apply. An OAuth access token works too, the same one an AI app or mcpapi login gets.
Search
Section titled “Search”curl https://mcpapi.one/v1/tools/search \ -H "Authorization: Bearer $MCPAPI_KEY" \ -d '{"query": "refund a charge", "limit": 3}'Takes query, optionally source (one API’s slug, e.g. "stripe") and limit (1 to 20, default 5). Returns a search_id and results, each with id, source, kind, summary and risk.
Details
Section titled “Details”curl https://mcpapi.one/v1/tools/stripe.PostRefunds \ -H "Authorization: Bearer $MCPAPI_KEY"Returns the operation’s description, risk and input_schema, trimmed to the top level. Add ?field=<argument> for one nested argument in full.
curl https://mcpapi.one/v1/tools/stripe.PostRefunds/run \ -H "Authorization: Bearer $MCPAPI_KEY" \ -d '{"arguments": {"charge": "ch_123"}}'Takes arguments matching the input_schema, optionally search_id and connection. The body may be empty for an operation without arguments.
Responses
Section titled “Responses”The body is the tool’s own JSON, as described in The three tools.
| Status | |
|---|---|
| 200 | The tool answered: results, details, or a run that is completed or pending_approval. A pending run has an approve link for a person; once approved, the same call runs once. |
| 403 | The run was denied: the member’s access, the key’s limits, or the plan’s credits. |
| 422 | The tool answered error: an unknown id, arguments that don’t match (listed in problems), or the API’s own error. |
| 400, 401, 429 | The body isn’t a JSON object; the key or token is missing or refused; a rate limit. These have { "error": "..." }. |