---
title: "Generate MCP token"
method: GET
path: "/{env_id}/{flow_id}/{tenant}/mcpToken"
---

# Generate MCP token

`GET /{env_id}/{flow_id}/{tenant}/mcpToken`

Generates a per-tenant bearer token for authenticating to hotglue's Composite MCP server (`https://mcp.hotglue.com/mcp`). The token scopes tool discovery and tool calls to the specified tenant's linked connectors.

## Path parameters

- `env_id` string, required
- `flow_id` string, required
- `tenant` string, required

## Response `200`

200

- object
  - `token` string, required — Base64-encoded bearer token to pass as `Authorization: Bearer <token>` when calling Composite MCP.

## Other responses

- `400` — 400

---

[API](https://skmtc.net/hotglue/apis/hotglue-api.md) · [All operations](https://skmtc.net/hotglue/apis/hotglue-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hotglue/hotglue-api/revisions/ec83efeae3d5/schema)
