Skip to main content
Connect an MCP-capable IDE, AI client, or custom integration to the RevoEngine Streamable HTTP endpoint. The credential determines the instance and permissions visible to the client.

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.
Do not place a RevoEngine key in a repository, workspace settings committed to Git, prompt, screenshot, or browser application. Use the client’s operating-system credential store, secret input, or environment-variable integration.

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:
This is a portable model, not a file to paste unchanged into every client. Map the URL and secret environment variable to the fields supported by your MCP client. Avoid clients that can only store the token as plaintext inside a shared project.

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

With MCP_SESSION_ID set from the initialization response:
Then request 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 initialize instead 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.
Last modified on September 7, 2026