HTTP surface
The root discovery document is useful for diagnostics, but clients should configure the canonical
/mcp URL directly.
Session lifecycle
1
Initialize
Send
initialize without a session id. RevoEngine negotiates its current protocol contract and returns Mcp-Session-Id in the HTTP response headers.2
Acknowledge
Send
notifications/initialized with the returned session id. As a JSON-RPC notification, it has no response body.3
Use the catalogue
Send the same
Mcp-Session-Id on tools/*, resources/*, prompts/*, and ping calls. Valid activity refreshes the session while policy permits it.4
Reconnect when necessary
If a long-lived listening connection closes, reconnect with the same session id. If the session has expired, run
initialize again and replace the stored id.A session id is scoped to the credential and instance that created it. Reusing it with another key does not transfer access and is rejected without disclosing the original principal.
Supported JSON-RPC methods
Notifications and HTTP status
A JSON-RPC request contains anid and receives a JSON-RPC result or error. A notification omits id; RevoEngine returns HTTP 202 and no JSON body.
Do not treat 202 as an execution receipt for a tool. tools/call is a request and returns a normal JSON-RPC response. Use the execution or resource identifiers inside its structured result for later operational tracking.
Batch requests
RevoEngine accepts a non-empty JSON-RPC array and returns responses only for entries that contain anid.
initialize must be sent alone or in a batch containing only initialization calls. RevoEngine rejects a batch that mixes initialization with session-dependent work, preventing a client from using tools before the session boundary is established.
SSE listening connection
An authenticatedGET /mcp request with Accept: text/event-stream opens a listening connection for the initialized session. The server sends:
- a reconnect recommendation;
- a
connectedevent; - periodic heartbeat comments that maintain session continuity.
POST /mcp. If the connection closes, reconnect is client behavior; do not assume that Last-Event-ID can replay missed data.
Session and capacity policy
Session lifetime, request rates, mutation rates, and simultaneous listening connections are managed service policy and can vary by environment or instance plan. On429, respect Retry-After rather than retrying every failed call immediately.

