What This Enables
Hosted MCP lets an AI client connect to Lamina without asking you to paste an API key into tool arguments. The client discovers Lamina’s OAuth metadata, sends you to Lamina to approve access for a workspace, receives an access token, and then calls the remote MCP endpoint withAuthorization: Bearer <token>.
Remote MCP endpoint:
Install in Popular MCP Clients
Prefer the hosted endpoint whenever the client supports remote Streamable HTTP MCP with OAuth. Use the local stdio fallback when a client only supports local servers or cannot complete OAuth.Supported Clients
The list of popular AI tools that can connect to Lamina MCP:- Claude Code
- Claude.ai and Claude Desktop
- ChatGPT
- Codex CLI
- Cursor
- VS Code with Copilot
- Devin
- Raycast
- Goose
- Windsurf
- Gemini Code Assist
- Gemini CLI
- Continue
- Cline
- Zed
Quick Compatibility Matrix
Setup
Connect your AI client to Lamina MCP and authorize access to your workspace.Install with add-mcp
Install Lamina MCP for supported coding agents with the communityadd-mcp installer:
-y to skip confirmation prompts. Add -g to install globally across projects:
add-mcp does not detect your client or cannot complete OAuth, use the manual client-specific
instructions below.
ChatGPT
ChatGPT custom MCP connectors are remote-only. They are controlled by ChatGPT plan and workspace settings, and full MCP write actions may require developer mode or workspace admin approval.- In ChatGPT, open Settings.
- Open Apps or Connectors, then enable Developer mode if your plan/workspace requires it.
- Create a custom app/connector for a remote MCP server.
- Use this server URL:
- Complete Lamina OAuth, choose the workspace, and test with
lamina_discover.
Codex CLI
Add Lamina as a remote MCP server:~/.codex/config.toml:
VS Code with Copilot
Create.vscode/mcp.json for a workspace install:
Devin
Devin supports custom MCP servers through the MCP Marketplace.- Open Devin Settings > MCP Marketplace.
- Select Add Your Own.
- Choose HTTP as the transport.
- Set the server URL:
- Save the server, then complete Lamina OAuth when Devin prompts for authorization.
Raycast
Raycast supports installing MCP servers from its MCP server management commands.- Open Raycast and run the MCP Install Server command.
- Enter these details:
- Click Install and authenticate with Lamina if prompted.
Claude Code
Add the hosted HTTP server:Claude.ai and Claude Desktop
Claude Desktop primarily uses local MCP servers and Desktop Extensions. Until Lamina ships a DXT package, configure the local stdio package inclaude_desktop_config.json:
Cursor
Create a project config at.cursor/mcp.json or a global config at ~/.cursor/mcp.json:
Windsurf
In Windsurf, open Settings > Tools > Windsurf Settings > Add Server, or edit the raw~/.codeium/windsurf/mcp_config.json file:
url instead of serverUrl if your Windsurf build expects that key. Press refresh in Cascade
after adding the server, then authenticate if prompted.
Local fallback:
Continue
Continue MCP servers run in agent mode. Create.continue/mcpServers/lamina.yaml:
Cline
For hosted HTTP MCP:~/.cline/data/settings/cline_mcp_settings.json for local stdio:
Zed
In Zed, open settings and add a custom context server:Goose
In Goose Desktop, open Extensions, choose Add custom extension, and add a Remote Extension (Streamable HTTP):Gemini Code Assist
Gemini Code Assist shares MCP configuration with Gemini’s MCP settings. Use native HTTP support when your IDE build supports OAuth-capable remote MCP servers:mcp-remote:
~/.gemini/settings.json, then authenticate when prompted.
Gemini CLI
For hosted HTTP MCP:~/.gemini/settings.json:
OAuth Discovery
Lamina exposes standard MCP OAuth metadata for HTTP clients:Install Flow
1
Register the MCP client
Clients that support dynamic registration call
POST /mcp/oauth/register with client_name and redirect_uris. Public clients use token_endpoint_auth_method: "none".2
Start authorization
The client opens
/mcp/oauth/authorize with response_type=code, client_id, redirect_uri, scope, state, resource, code_challenge, and code_challenge_method=S256.3
Approve workspace access
Lamina shows a protected consent page. Choose the workspace the agent should use, then approve the requested scopes.
4
Exchange the code
The client posts to
/mcp/oauth/token with grant_type=authorization_code, the authorization code, the same redirect_uri, client_id, resource, and the PKCE code_verifier.5
Call MCP
The client calls
/mcp/agent with Authorization: Bearer <access_token>.6
Revoke access when removed
The client posts to
/mcp/oauth/revoke with client_id, token, and optional
token_type_hint when the user disconnects Lamina.Scopes
lamina:creative:readallows discovery and run status.lamina:creative:writeallows creating and batching creative runs.lamina:brand:readallows reading brand memory and guidance.
Revoke Access
OAuth clients should revoke tokens when a user removes Lamina or rotates client state:/mcp/agent with that bearer token returns invalid_token.
First Creative Run
After install, the agent runs through discover → describe → run → poll. Find an app for the user’s goal:key from lamina_describe):
lamina_run returns immediately with { runId, workflowId, status }. Poll for completion:
lamina_run is a pure trigger — you pass an appId you already have. If you’d rather hand Lamina a free-text brief and let it pick the app for you, call lamina_create instead; it returns a plan (with the selected app), which you then dispatch with lamina_run.Stdio-only Clients
If your MCP client can only launch a local stdio command and cannot connect to a remote OAuth MCP server directly, bridge to the hosted server withmcp-remote — it runs locally and handles the OAuth flow to Lamina’s hosted endpoint:
mcp-remote opens the OAuth approval in your browser and forwards the hosted tools over stdio.
The old self-hosted
@uselamina/mcp npm package is retired. Always connect to the hosted MCP (https://app.uselamina.ai/mcp/agent), directly for OAuth-capable clients or via mcp-remote for stdio-only ones.