Bring Your Own AI Agent (MCP)Coaches, Head Coaches & Trainees4 min read

Connect Your AI Agent in 60 Seconds (Remote MCP)

Zero-CLI OAuth 2.1 connection walkthroughs for OpenAI Dot / ChatGPT, Claude, Grok, and any Streamable HTTP MCP client, plus scoped Agent Tokens (cubes_mcp_*) fallback.

1. Copy the Canonical Cubes+ Remote MCP URL

Every supported AI assistant connects to the same stateless Streamable HTTP endpoint. You do not need to install Node, Docker, or any local CLI bridge.

Cubes+ Remote MCP Server URL
https://cubes.lsqr.ai/api/mcp
Supports RFC 9728 Protected Resource Metadata, RFC 8414 Authorization Server Metadata, OAuth 2.1 + PKCE (S256), Dynamic Client Registration, and scoped cubes_mcp_* Bearer tokens.

2. Quick Setup: OpenAI Dot / ChatGPT (Recommended — Zero CLI OAuth 2.1)

Connect OpenAI Dot or ChatGPT to Cubes+ in four visual steps using OAuth 2.1 + PKCE with automatic endpoint discovery.

  1. 1

    Open custom MCP connectors

    Go to chatgpt.com (or OpenAI Dot) → Plugins / Settings → Apps & Connectors → click + → Add custom MCP server.

  2. 2

    Paste the Cubes+ MCP URL & choose OAuth

    Enter "https://cubes.lsqr.ai/api/mcp" as the Server URL and select OAuth as the authentication method. ChatGPT automatically discovers Cubes+ OAuth 2.1 + PKCE metadata.

    Server URL to Paste
    https://cubes.lsqr.ai/api/mcp
    chatgpt.com → cubes.lsqr.ai/oauth/consent
    OpenAI Dot / ChatGPT · Custom MCP Connector
    Plugins → Apps & Connectors → + Add custom MCP server
    Zero CLI
    MCP Server URL
    https://cubes.lsqr.ai/api/mcp
    Authentication
    OAuth 2.1
    Bearer Token
    Auto-discovers RFC 9728 / RFC 8414 metadata & PKCE (S256)Connect
    Interactive WalkthroughOpenAI Dot / ChatGPT OAuth 2.1 → /oauth/consent → Morning Briefing

    Click any step to preview adding https://cubes.lsqr.ai/api/mcp in ChatGPT, approving scopes on /oauth/consent, and running get_today_briefing.

  3. 4

    Verify with get_whoami

    Ask your assistant to verify your Cubes+ identity, active role, and permitted tools in one message:

    First Verification Prompt
    Verify my Cubes+ connection with get_whoami and give me my morning briefing.

3. Claude (Web, Desktop & Mobile Connectors)

  1. 1

    Open Connectors settings

    In Claude, open Settings → Connectors → Add Custom Connector.

  2. 2

    Paste the Remote MCP Server URL

    Name the connector "Cubes+" and paste "https://cubes.lsqr.ai/api/mcp". Start the OAuth 2.1 connection flow.

  3. 3

    Approve on /oauth/consent

    Sign in to Cubes+ and approve least-privilege access on /oauth/consent. Claude immediately loads your role-filtered Cubes+ tools and starter MCP Prompts.

4. Grok & Generic Streamable HTTP MCP Clients

For Grok assistants, IDE agents, or any Streamable HTTP MCP client that speaks JSON-RPC over HTTP POST, configure Cubes+ as a remote Streamable HTTP server pointing to https://cubes.lsqr.ai/api/mcp. Clients with OAuth 2.1 support discover RFC 9728 / RFC 8414 metadata automatically; bridges without OAuth can authenticate using a scoped Agent Token (cubes_mcp_*).

Streamable HTTP MCP Client Config Example
{
  "mcpServers": {
    "cubes-plus": {
      "url": "https://cubes.lsqr.ai/api/mcp",
      "transport": "streamable-http",
      "auth": "oauth2.1"
    }
  }
}

5. Scoped Personal Agent Tokens (cubes_mcp_*) Fallback

If your AI bridge, automation, or Grok connector requires a static Bearer header instead of OAuth 2.1, mint a least-privilege Agent Token in seconds.

  1. 1

    Open Connect Your AI Agent on Web or Mobile

    On Web, open /agents. In the Native iOS or Android app, open Profile → Connect Your AI Agent.

  2. 2

    Mint a scoped token & revoke anytime in 1 tap

    Pick a clear label (e.g., "OpenAI Dot Morning Coach"), choose mcp:read (Read-Only) or mcp:write (Read + Additive/Reversible Write), and select an expiration (30, 90, 365 days, or no expiry). Each account can hold up to 10 active Agent Tokens.

    cubes.lsqr.ai/agents
    Live App RecordingMint a Scoped Agent Token, View One-Time Secret & 1-Tap Revoke

    Live capture on /agents showing token labeling, mcp:write scoping, the one-time cubes_mcp_* reveal banner, and instant 1-tap revocation.

  3. 3

    Copy the one-time cubes_mcp_* secret immediately

    Cubes+ stores only a SHA-256 hash in PostgreSQL and never displays the plaintext secret again after you dismiss or reload. Paste it into your MCP client Authorization header:

    Static Bearer Header Format
    POST https://cubes.lsqr.ai/api/mcp
    Authorization: Bearer cubes_mcp_<your-one-time-token>
    Content-Type: application/json
    Accept: application/json, text/event-stream
    NoteInstant 1-tap kill switch

    Revoking a token on /agents or Mobile Profile invalidates it immediately—subsequent /api/mcp requests receive 401 Unauthorized.

Ready to See Every Tool & Ready-Made Prompt?

Explore all 20 deterministic MCP tools, the 4 built-in starter MCP Prompts, and our bilingual Coach + Trainee Prompt Cookbook.

Open 20-Tool Catalog & Prompts