Prerequisites
- An active RevoEngine instance.
- A dedicated user or service-account API key.
- Read roles for discovery and any additional roles required by tools the client may call.
- A client that supports remote MCP over Streamable HTTP and custom request headers.
Connection values
An instance-bound API key resolves its instance automatically. Do not add a second tenant selector unless your organization’s authentication flow explicitly requires it.
Configure a compatible client
Client configuration formats vary, but the effective configuration is equivalent to:Initialize the session
1
Send initialize
Send a standard JSON-RPC
initialize request to the MCP endpoint. Include client identity and the protocol version supported by the client.2
Store the returned session id
A successful response describes tools, resources, and prompts. The HTTP response also contains
Mcp-Session-Id. Keep it as opaque session state and send it on subsequent requests made with the same credential.3
Confirm initialization
Send
notifications/initialized with the session id. Notifications intentionally return HTTP 202 without a JSON-RPC response body.4
Read effective context
Call
resources/read for revo://context/effective. This confirms the catalogue currently visible to the authenticated client before it attempts a tool call.Verify discovery
WithMCP_SESSION_ID set from the initialization response:
tools/list. A healthy connection can still return a narrow tool set when the credential has limited roles; that is expected and preferable to granting broad access for setup convenience.
Production setup checklist
- Create a dedicated identity for the client.
- Assign the least-privileged roles required by its workflow.
- Store the key outside shared project configuration.
- Make the client run
initializeinstead of assuming a previous session. - Read platform context and skills before generating RevoEngine changes.
- Confirm sensitive calls using the safety metadata from
tools/list. - Record the client’s own operation correlation alongside RevoEngine execution identifiers.
Protocol and sessions
Follow the complete request, batch, notification, and SSE lifecycle.
Resources and prompts
Orient the client before it selects a tool.

