MCP
Handler for MCP POST requests (single request/response)
Dual-era (MCP 2025-11-25 + 2026-07-28) Streamable HTTP transport:
- Requests with id → 200 with JSON or SSE response
- Notifications (no id) → 202 Accepted, no body
- Validates protocol version and the 2026-07-28 request metadata headers (Mcp-Method, Mcp-Name) on modern requests
- Maps modern JSON-RPC errors to HTTP status codes (unsupported version → 400, unknown method → 404)
post/api/{org_id}/mcp
Request
- Base URLhttps://api.openobserve.ai (the document declares no server; this is the origin it was published from)
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
org_idstring required
Organization name
Request body
Response
Success
Changes
No recorded changes to this operation across all 1 revision of this API.