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.
https://cubes.lsqr.ai/api/mcp2. 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
Open custom MCP connectors
Go to chatgpt.com (or OpenAI Dot) → Plugins / Settings → Apps & Connectors → click + → Add custom MCP server.
- 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 Pastehttps://cubes.lsqr.ai/api/mcpchatgpt.com → cubes.lsqr.ai/oauth/consentZero CLIOpenAI Dot / ChatGPT · Custom MCP ConnectorPlugins → Apps & Connectors → + Add custom MCP serverMCP Server URLhttps://cubes.lsqr.ai/api/mcpStreamable HTTPAuthenticationOAuth 2.1Bearer TokenAuto-discovers RFC 9728 / RFC 8414 metadata & PKCE (S256)ConnectInteractive WalkthroughOpenAI Dot / ChatGPT OAuth 2.1 → /oauth/consent → Morning BriefingClick any step to preview adding https://cubes.lsqr.ai/api/mcp in ChatGPT, approving scopes on /oauth/consent, and running get_today_briefing.
- 3
Sign in & approve permissions on /oauth/consent
Sign in with your invite-only Cubes+ account when redirected, review the requested scopes (mcp:read or mcp:write) on the Cubes+ /oauth/consent screen, and click Approve.
NoteLeast-privilege & zero irreversible deletesStart with mcp:read for briefings and adherence insights, or grant mcp:write for additive/reversible Session authoring and scheduling. No MCP tool can hard-delete records.
- 4
Verify with get_whoami
Ask your assistant to verify your Cubes+ identity, active role, and permitted tools in one message:
First Verification PromptVerify my Cubes+ connection with get_whoami and give me my morning briefing.
3. Claude (Web, Desktop & Mobile Connectors)
- 1
Open Connectors settings
In Claude, open Settings → Connectors → Add Custom Connector.
- 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
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_*).
{
"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
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
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/agentsLive App RecordingMint a Scoped Agent Token, View One-Time Secret & 1-Tap RevokeLive capture on /agents showing token labeling, mcp:write scoping, the one-time cubes_mcp_* reveal banner, and instant 1-tap revocation.
- 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 FormatPOST https://cubes.lsqr.ai/api/mcp Authorization: Bearer cubes_mcp_<your-one-time-token> Content-Type: application/json Accept: application/json, text/event-streamNoteInstant 1-tap kill switchRevoking 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.