Run MCP server
POST
/runtime/v1/mcp
const url = 'https://mw.omazy.ai/api/v1/runtime/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://mw.omazy.ai/api/v1/runtime/v1/mcp \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{}'MCP (Streamable HTTP, JSON-RPC 2.0) for one run, server name omazy-run. Accepts only run-scoped keys (RunSpec.mcp.key); tools/list returns only the run’s runbook tools; tools/call applies the run’s policy and approval gate. A held call answers {status: awaiting_approval}; a spent budget answers budget_exhausted.
Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
Examplegenerated
{}Responses
Section titled “Responses”JSON-RPC response
Unauthorized
Omazy CX documentation. One voice. Every channel. Always on.
Founded by Mosthofa Imran · imran@omazy.ai
© 2026 Omazy CX