- Authentication — validates a per-tenant bearer token issued by Hotglue
- Tool discovery — surfaces available tools from linked connectors that have an MCP backend
- Routing — proxies tool calls to the underlying MCP (an official provider like Notion or Atlassian, or a custom MCP built by Hotglue)
Why a composite MCP?
MCP clients typically need a separate server configuration per provider — each with its own auth flow, token refresh, and tool namespace. That breaks down when you ship integrations to many customers:- Each tenant links different connectors
- Credentials live in Hotglue, not in the AI client
- You want one MCP URL in Cursor, Claude, or any MCP-compatible agent
notion.search, jira.createJiraIssue).
That means you keep using Hotglue’s existing connection UX, while AI agents get a single, secure gateway into customer systems.
Demo
Compatible with existing auth
Composite MCP is fully compatible with Hotglue’s existing authentication components. Tenants can link connectors the same way they already do today:- Embedded widget — users connect integrations in your app
- Magic Links — share a branded URL for connection setup without embedding the widget
How it works
- Your backend requests a per-tenant MCP token from the Hotglue API
- Your MCP client connects to
https://mcp.hotglue.com/mcpwith that token as a Bearer credential - Composite MCP looks up the tenant’s linked connectors and exposes tools from any that have a registered MCP backend
- Tool calls are authenticated and forwarded to the upstream MCP, then returned to the client
Get a per-tenant MCP token
Authentication is per tenant. Call the/mcpToken endpoint with your API key to generate a bearer token for a specific environment, flow, and tenant:
token value as the Bearer token when calling Composite MCP. Issue a token for each tenant whose connectors the agent should access — the token scopes discovery and tool calls to that tenant’s linked credentials.
The MCP token encodes the environment, flow, tenant, public API key, and a JWT used to call the Hotglue API on the tenant’s behalf. Treat it like a secret and store it securely on your backend.
Connect an MCP client
Point any Streamable HTTP–compatible MCP client at the Composite MCP URL and pass the tenant token in theAuthorization header.
Example configuration:
<mcp-token> with the token returned by /mcpToken for the tenant.
Upstream MCP backends
Composite MCP routes to upstream MCP servers based on the connectors linked for the tenant. That can include:- Official provider MCPs — for example Notion (
https://mcp.notion.com/mcp) or Atlassian / Jira - Custom MCPs built by Hotglue — for connectors where Hotglue maintains the MCP surface
{connector}.{tool_name} so agents can tell providers apart when multiple connectors are linked.
Quick start checklist
- Let the tenant link connectors via the widget or a Magic Link
- Generate an MCP token with
GET /{env_id}/{flow_id}/{tenant}/mcpToken - Configure your MCP client with
https://mcp.hotglue.com/mcpandAuthorization: Bearer <token> - List tools — you should see namespaced tools for each supported linked connector
- Call tools as usual; Composite MCP authenticates and proxies to the upstream MCP