MCP.enabled: true in your app config, each agent is reachable as a standalone MCP server at /mcp/:agent.
Prerequisites
MCP must be enabled in theExuluApp config before the endpoint becomes active. See MCP tutorial for setup instructions and the ExuluMCP reference for class-level documentation.
Endpoints
Three routes implement the Streamable HTTP transport::agent is the agent’s numeric or UUID identifier as shown in the workbench URL.
Sessions
Send the firstPOST without a mcp-session-id header. The initialize handshake returns a mcp-session-id value in the response header. Include that value on every subsequent request for the same session:
Authentication
Every request to/mcp/:agent passes through IMP’s standard authentication middleware before any MCP processing:
- API key — set
x-api-key: sk_<secret>/<keyname>. - Bearer JWT — set
Authorization: Bearer <session-token>.
401. Requests where the authenticated caller does not have access to the agent also receive 401. Requests for an agent that does not exist receive 404.
Worked example — raw HTTP
1. Initialize
mcp-session-id header. Copy it for subsequent calls.
2. List tools
getListOfPromptTemplates and getPromptTemplateDetails.
3. Terminate session
Client configuration examples
Generic MCP client (Streamable HTTP)
Claude Desktop
Add toclaude_desktop_config.json:
Cursor
Open Settings → MCP and add a new server entry:Error codes
Related pages
MCP tutorial
Step-by-step guide to enabling and testing MCP in your project.
ExuluMCP reference
Class-level documentation for ExuluMCP including session management internals.
LiteLLM gateway
OpenAI-compatible model pass-through for raw model calls and embeddings.
API keys
Create and manage API keys for MCP client authentication.