Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Connect your AI assistant with MCP

Set up Unitlab MCP in Claude, Claude Code, ChatGPT, Codex, Cursor, Gemini CLI, VS Code, or another compatible client.

Unitlab provides a remote MCP server that your assistant connects to using OAuth. Use the client instructions below, then complete the shared Unitlab authorization flow.

Server address

For hosted Unitlab:

https://api.unitlab.ai/mcp

For a dedicated deployment, open that Unitlab instance and copy the address in Settings → Connected assistants → Connect assistant. The server address is the API origin followed by /mcp. The web management route /api/mcp/ is not the remote MCP server address.

Client menus, available features, and organization policies can differ by version and plan. Use the linked official guide if your client displays a different setup screen.

Authorize the connection in Unitlab

After adding the server in your assistant:

  1. Sign in to Unitlab when the browser opens.

  2. Review the assistant name and the displayed return host.

  3. Select the workspace the assistant should use.

  4. Choose Read only or Read and write.

  5. Expand Customize if you want to disable specific permissions.

  6. Select Allow to return to the assistant.

If you do not have a workspace yet, create one in Unitlab and restart the connection from your assistant. Approving a replacement connection for the same assistant replaces its existing workspace connection.

You do not need a Unitlab API key or a manually created OAuth client ID for these standard flows.

Claude Code

Run in your terminal:

Open Claude Code, run /mcp, select Unitlab, and complete sign-in.

The default configuration applies to the current project for your user. To make it available across projects, use:

Official Claude Code MCP guide.

Claude web and desktop

  1. Open Customize → Connectors.

  2. Select + Add → Add custom connector.

  3. Name the connector Unitlab and enter https://api.unitlab.ai/mcp.

  4. Continue through the authentication settings and add the connector.

  5. Connect your Unitlab account and complete the authorization steps above.

For Team and Enterprise, an authorized organization administrator may need to add the custom connector first under Organization settings → Connectors. Members then connect their own Unitlab accounts.

Remote web connectors must be able to reach your MCP endpoint, which matters for private deployments.

Official Claude custom connector guide.

Codex

Run:

Complete the browser sign-in when prompted. If sign-in does not start, run:

Return to Codex and ask it to check the connected Unitlab workspace.

Official Codex MCP guide.

ChatGPT

  1. Select the plus button, then Add custom MCP server.

  2. Enter Unitlab as the name and add a short description.

  3. Under Connection, enter https://api.unitlab.ai/mcp.

  4. Configure OAuth authentication and review the connection information.

  5. Create and install the plugin, completing Unitlab sign-in and authorization when prompted.

  6. Start a new chat and use @ to select the Unitlab plugin.

Availability of custom MCP servers depends on your account and workspace policies.

Official ChatGPT connection guide.

Cursor

Add the following server entry to ~/.cursor/mcp.json for a user-wide configuration:

Preserve existing server entries when editing this file. For a project-specific configuration, use .cursor/mcp.json in that project.

Connect Unitlab in Cursor and complete OAuth sign-in when prompted.

Official Cursor MCP guide.

Gemini CLI

Run:

Start Gemini CLI and run:

Complete Unitlab sign-in and consent. Add --scope user to the gemini mcp add command if you want the configuration available across projects.

Official Gemini CLI MCP guide.

VS Code

Use the Command Palette command MCP: Add Server, choose an HTTP server, and enter:

Follow the configuration, trust, and OAuth prompts shown by VS Code. Use an MCP-enabled chat mode to call the server.

If the code command-line launcher is installed, you can also add the server with:

Official VS Code MCP setup guide.

Other MCP clients

Add a remote MCP server with the Unitlab address. The client must support Streamable HTTP and OAuth authorization. Sign in, select a workspace, and approve access when prompted.

Unitlab exposes standard discovery endpoints for clients implementing the connection:

The authorization server supports authorization-code and refresh-token grants, PKCE with S256, and the unitlab:read and unitlab:write scopes. The protected resource advertises the required read scope; write permission is enforced on individual operations.

Verify the connection

Send this prompt in the assistant:

Check my Unitlab connection. Show the workspace name, whether this connection can write, and the projects I can access.

The assistant should call get_context followed by list_projects. An empty project list can mean the workspace has no projects or your role is restricted to its eligible workflow stages.

Next, try the image-folder quickstart.

Manage or remove a connection

Open Settings → Connected assistants in Unitlab. The table shows the assistant, access level, member, connection date, and last-use time.

  • Edit permissions changes the permission list on your own connection. The changes apply on the next call.

  • Disconnect revokes the connection's access. Saved projects and annotations remain.

  • To change the workspace or move from Read only to Read and write, reconnect and approve the new selection.

See Authentication and permissions for the complete access model and Troubleshooting if connection or sign-in fails.