Skip to content

MCP Server

Endpoint: POST https://app.neureus.ai/mcp
Protocol: JSON-RPC 2.0, MCP spec 2024-11-05 (Streamable HTTP)
Auth: Authorization: Bearer <api_key> (D1 API key lookup — not x-tenant-id)

Overview

The MCP server exposes Neureus capabilities to Claude, GPT-4o, and any MCP-compatible agent runtime. HTTP 200 for valid RPC (including error envelopes). HTTP 202 for notifications. HTTP 400/503 for transport failures only.

Available tools

ToolDescription
neureus_chatAI chat completion via the gateway
neureus_rag_querySemantic search over ingested documents
neureus_agent_runExecute a named agent
neureus_composite_executeRun a composite AI pattern
neureus_modelsList available models
neureus_healthCheck platform health
neureus_org_createCreate an organization
neureus_org_getGet org details and members
neureus_org_add_tenantAdd a tenant to an org

Connecting Claude to Neureus

In your Claude MCP configuration:

{
"mcpServers": {
"neureus": {
"url": "https://app.neureus.ai/mcp",
"headers": {
"Authorization": "Bearer nru_your_api_key"
}
}
}
}

Example JSON-RPC call

Terminal window
curl -X POST https://app.neureus.ai/mcp \
-H "Authorization: Bearer nru_your_key" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "neureus_chat",
"arguments": {
"messages": [{"role": "user", "content": "Hello from MCP!"}],
"model": "meta-llm"
}
}
}'