Skip to main content
The Lucca MCP server is in beta and may change without notice: tools may be added, renamed or removed, and their capabilities or required scopes may change.
Lucca exposes an MCP server. Your AI assistant connects to it with one URL:
Replace https://{account}.ilucca.net with the address you use to log in to Lucca. See URL & Environments. The assistant acts on your behalf: it can only see and do what your Lucca account can, within the permissions you grant it.

Before You Start

You can only connect to your own account’s MCP server ({account}.ilucca.net), and only if your role has the Connect an AI agent to the lucca MCP permission. If it does not, ask your Lucca administrator.
  1. Click your avatar.
  2. Under Administration, click Settings, then Roles.
  3. Open the role of the users who need access, then turn on Connect an AI agent to the lucca MCP.
User menu with Settings under Administration, then the Settings list with the Roles entryUser menu with Settings under Administration, then the Settings list with the Roles entry

Supported Clients: Paste the URL

These clients register themselves with Lucca. Add the URL, and on first use your client opens a browser: log in, choose what the assistant may access, then click Allow.
Then run /mcp, select lucca and choose Authenticate.
Go to Settings > Connectors > Add custom connector, paste the URL, then click Connect.
Go to Plugins > + > Add custom MCP server, then paste the URL.On a Business, Enterprise or Edu workspace, your ChatGPT admin may need to allow custom MCP servers.
Open the command palette, run MCP: Add Server, choose HTTP, then paste the URL.
Go to Settings > AI > MCP Servers > Add Remote Server, then paste the URL.
Run goose configure, choose Add Extension > Remote Extension (Streamable HTTP), then paste the URL.
In config.yaml:
Then run hermes mcp login lucca.
Go to grok.com/connectors > New Connector > Custom, then paste the URL.
On first connection, Lucca shows a consent screen. Turn off the tool groups you do not want, then click Allow.
Lucca consent screen, listing tool groups with toggles and Allow and Refuse buttonsLucca consent screen, listing tool groups with toggles and Allow and Refuse buttons

Lucca consent screen (simplified)


Other Clients: Register the Client in Lucca

Other clients, such as Cursor or Gemini CLI, need a client ID and secret. Create a personal client in Lucca, then give both to your tool.
1

Open your account

Click your avatar, then My account.
Avatar menu with the My account entryAvatar menu with the My account entry
2

Manage connected AI

Under Connected AI, click Manage.
My Lucca account panel with the Connected AI sectionMy Lucca account panel with the Connected AI section
3

Add an AI agent

Click Add. This panel also shows the MCP URL to copy.
Manage connected AI panel with the MCP URL and the Add buttonManage connected AI panel with the MCP URL and the Add button
4

Describe the agent

Fill in Name, Redirect URI (given by your tool, see below) and Scopes, then click Authorize. To pick a scope, type its name to filter the list, then press Enter.The redirect URI must use https, or http on localhost.
Authorize an AI agent form with Name, Redirect URI and Scopes fieldsAuthorize an AI agent form with Name, Redirect URI and Scopes fields
5

Copy the credentials

Copy the Client ID and Secret key into your tool.
The secret key is shown only once. If you lose it, revoke the agent and add it again.
AI secret key dialog showing the client ID and secret keyAI secret key dialog showing the client ID and secret key

Client Configuration

In scopes, list the scopes you selected in Lucca. The examples below only request employees.readonly.
Redirect URI: http://localhost:8787/callback
mcp.json

Which Scopes to Pick

A tool is available only when the client holds all the scopes it needs. Pick read-only scopes unless you want the assistant to make changes. See MCP Tools for every tool, the scopes it needs, and the tools on their way. See also OAuth scopes.

Troubleshooting