Call hosted MCP tools
POST
/mcp
const url = 'https://api.cedr.dev/v1/mcp';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.cedr.dev/v1/mcp \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{}'Stateless MCP using Streamable HTTP. Authenticate with a personal API key or a resource-bound OAuth token. Read-only keys can call read tools over POST. Tools enforce organization membership and current plan limits. Semantic tool failures may use HTTP 200; activity logs and alerts count their failure outcome.
Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
key
additional properties
any
Example generated
{}Responses
Section titled “Responses”MCP JSON-RPC result or error, possibly as request-scoped SSE.
Notification accepted.
Malformed request or unsupported batch.
Authentication required; WWW-Authenticate points to OAuth resource metadata.
Origin, IP policy or operation scope refused.
Request exceeds 1 MiB.
Current plan request limit exceeded.