KlyHub Docs
MCP setup

ChatGPT

Connect ChatGPT to your KlyHub tenant via MCP.

ChatGPT

ChatGPT's MCP support is evolving rapidly. As of the v0.1 release this guide reflects the current path; we will update it the moment OpenAI ships a stable customer-facing UI.

What works today

OpenAI announced MCP support in early 2025 and has been rolling it out incrementally. The current paths are:

  • Custom GPTs (Plus/Team/Enterprise) — you can register an MCP server as an Action source. The exact UI lives under Configure → Actions → Add MCP server.
  • Enterprise / API — programmatic MCP connections via the Responses API with tools: [{ type: "mcp", server: { url: ... } }].

The MCP URL is the same in both cases: https://mcp.klyhub.com/v1/your-tenant-slug.

Step 1 — Authorize ChatGPT from KlyHub

From inside your KlyHub workspace:

  1. Open Settings → MCP clients.
  2. Click Connect ChatGPT.
  3. Approve the OAuth scopes on accounts.klyhub.com.
  4. Copy the OAuth client credentials KlyHub shows you (you'll need the client_id and the discovery URL).

Step 2 — Add the server in ChatGPT

For a Custom GPT:

  1. Open ChatGPT → Explore GPTsCreate.
  2. Switch to the Configure tab.
  3. Under Actions, click Add MCP server.
  4. Enter the server URL: https://mcp.klyhub.com/v1/your-tenant-slug.
  5. Paste the OAuth client_id from KlyHub. ChatGPT discovers the auth endpoints from accounts.klyhub.com/.well-known/oauth-authorization-server.
  6. Save the GPT.

For the Responses API:

{
  "model": "gpt-4.1",
  "tools": [
    {
      "type": "mcp",
      "server": {
        "url": "https://mcp.klyhub.com/v1/your-tenant-slug",
        "authorization": "Bearer YOUR_KLYHUB_TOKEN"
      }
    }
  ],
  "input": "List the Core-layer entities in my workspace."
}

Generate the bearer token from KlyHub's Settings → API keys (these are user-scoped and respect the same tenant boundary as the OAuth flow).

Step 3 — Verify

In your Custom GPT chat, ask:

"Using the klyhub MCP server, summarize the Operations layer in three bullet points."

The GPT will call the klyhub.query tool and stream the response.

Caveats

  • The Custom GPT MCP UI is still labeled "preview" inside ChatGPT and may move. If you don't see the Add MCP server option, your account may not be in the rollout cohort yet — file a ticket with OpenAI support.
  • Enterprise tenants can use the more stable Responses API path immediately.
  • For the most current state of OpenAI's MCP rollout, check OpenAI's release notes; we keep this page synced as the UI changes.

For other clients, see Connect Claude Desktop, Cursor, or Custom integrations.

ChatGPT · KlyHub