OneMCP
OneMCP exposes the MCPs a user is allowed to access through one tenant-scoped endpoint. Agents can discover MCP groups, find relevant tools, call tools, and use native memory tools without connecting to each backend separately.
Endpoint
Use the tenant-scoped OneMCP endpoint when the client knows the tenant:
https://mcp.quilr.ai/quilrone/<tenant-id>/mcp
Tenant-less OneMCP is also available for clients that authenticate first and let the gateway resolve the tenant from the signed-in user:
https://mcp.quilr.ai/quilrone/mcp
OneMCP accepts gateway-issued OneMCP OAuth proxy tokens. It also preserves compatibility with older valid proxy tokens when the resolved user and tenant match.
Smart Tools
When smart mode is enabled, OneMCP returns a compact set of gateway tools:
The usual flow is:
- Call
list_tool_groups. - Pick a
tool_group. - Call
find_relevant_toolswith a short task description. - Call
call_toolwith the selected tool name and arguments.
Native Memory Tools
OneMCP includes native memory tools for user-scoped context:
Memory records are scoped by tenant and user. Each memory can include:
Example:
{
"title": "Preferred CRM account",
"content": "Use Acme Corp's enterprise account when creating sales reports.",
"tags": ["crm", "sales"],
"source": "user"
}
Inline OAuth Recovery
OneMCP can show OAuth-protected MCPs before the current user has connected them. Discovery responses include connection metadata so the agent can guide the user through authorization instead of hiding the MCP.
When a user is missing an upstream OAuth connection:
list_tool_groupsandlist_mcp_connectionsinclude_meta.quilr.oauth_connect_required_mcps.- Each entry includes
backend_id,backend_name,tool_group,auth_status,connect_required,connect_url, andconnect_url_expires_at. tools/callreturns a tool-visibleisError: trueresult with a connect URL when the selected MCP needs authorization.
The user opens the connect URL, completes the upstream provider authorization, returns to the AI client, and retries the same request. The gateway stores the upstream token for that user and uses it on later OneMCP calls.
Visibility Rules
OneMCP shows MCPs that are available to the user by tenant policy, user preferences, and agent access controls. It does not include OAuth passthrough MCPs, because passthrough clients must own the upstream OAuth flow and provide the upstream bearer token directly to the per-MCP endpoint.
Operational Notes
- Connect URLs are short-lived and should be treated as sensitive links.
- If an OAuth MCP requires manual client credentials and none are configured, the connect flow cannot complete until an admin adds those credentials.
- OneMCP
GETstreams andDELETEsession termination are not supported; usePOSTJSON-RPC requests.