> ## Documentation Index
> Fetch the complete documentation index at: https://docs.myworklayer.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Connect Worklayer MCP

> Add the Worklayer MCP server to Claude Code, Claude, Cursor, VS Code, Codex, or any OAuth-capable MCP client in under a minute.

All you need is a Worklayer account and an MCP client that supports remote Streamable HTTP servers with OAuth:

```text theme={null}
https://mcp.myworklayer.com
```

## Add Worklayer to your client

> [tab] Claude Code
>
> **1. Register the server**
>
> ```bash theme={null}
> claude mcp add --transport http worklayer https://mcp.myworklayer.com --scope user
> ```
>
> Using `--scope user` makes Worklayer available across all of your projects.
>
> **2. Sign in**
>
> In Claude Code, run `/mcp`, select **worklayer**, and choose **Authenticate**. Your browser will open Worklayer to complete OAuth sign-in.

> [tab] Claude
>
> Works across claude.ai, Claude Desktop, and Claude mobile apps—add it once and it syncs everywhere.
>
> **1. Add a custom connector**
>
> Open **Customize** → **Connectors**, select **+ Add**, then choose **Add custom connector**.
>
> **2. Configure the URL**
>
> Enter `Worklayer` as the name and `https://mcp.myworklayer.com` as the URL. Click **Continue**, keep the auto-detected OAuth settings, and click **Add**.
>
> **3. Connect your account**
>
> Click **Connect** next to **Worklayer** to sign in.
>
> > [!NOTE]
> >
> > On Claude Team or Enterprise plans, an organization owner adds the connector under **Organization settings** → **Connectors**. Individual members then click **Connect** under **Customize** → **Connectors**.

> [tab] Cursor
>
> [Install in Cursor](cursor://anysphere.cursor-deeplink/mcp/install?name=worklayer\&config=eyJ1cmwiOiJodHRwczovL21jcC5teXdvcmtsYXllci5jb20ifQ%3D%3D) in one click, or add the server to `~/.cursor/mcp.json` (global) or `.cursor/mcp.json` (project-only):
>
> ```json theme={null}
> {
>   "mcpServers": {
>     "worklayer": {
>       "url": "https://mcp.myworklayer.com"
>     }
>   }
> }
> ```
>
> Open Cursor's MCP settings, enable **worklayer**, and follow the browser sign-in prompt.

> [tab] VS Code
>
> **1. Add the server configuration**
>
> Open the Command Palette, run **MCP: Open User Configuration**, and add:
>
> ```json theme={null}
> {
>   "servers": {
>     "worklayer": {
>       "type": "http",
>       "url": "https://mcp.myworklayer.com"
>     }
>   }
> }
> ```
>
> For a single workspace, place the same configuration in `.vscode/mcp.json`.
>
> **2. Start and sign in**
>
> Run **MCP: List Servers**, select **worklayer**, start the server, and complete the browser sign-in prompt.

> [tab] Codex
>
> **1. Register the server**
>
> ```bash theme={null}
> codex mcp add worklayer --url https://mcp.myworklayer.com
> ```
>
> Or add it directly to `~/.codex/config.toml`:
>
> ```toml theme={null}
> [mcp_servers.worklayer]
> url = "https://mcp.myworklayer.com"
> ```
>
> **2. Sign in**
>
> ```bash theme={null}
> codex mcp login worklayer
> ```

> [tab] Other clients
>
> Configure Worklayer as a remote MCP server using Streamable HTTP at `https://mcp.myworklayer.com`:
>
> ```json theme={null}
> {
>   "mcpServers": {
>     "worklayer": {
>       "url": "https://mcp.myworklayer.com"
>     }
>   }
> }
> ```
>
> Select **OAuth** for authentication. Leave client ID and client secret blank—your client registers automatically via Dynamic Client Registration.
>
> The **Connect** page in the Worklayer web app also includes guides for Zed, OpenCode, Lovable, v0, Replit, and more.

## Complete OAuth sign-in

When your client initiates authentication, Worklayer opens in your browser:

**1. Sign in to Worklayer**

Sign in to your Worklayer account if you aren't already logged in.

**2. Confirm the account**

Verify the client name and email address shown on the consent screen. Click **Switch account** if you want to connect a different Worklayer account.

**3. Authorize**

Click **Authorize**. Once you see confirmation that the client is connected, close the tab and return to your client.

Only authorize clients you trust—connected clients act with your Worklayer account and connected apps.

## Verify your connection

Ask your client:

```text theme={null}
What Worklayer tools do you have?
```

It should list tools prefixed with `worklayer_`, including `worklayer_discovery`. In Claude Code, you can also run `/mcp` to confirm **worklayer** shows as connected.

Try a real task right away—for example: *"Use Worklayer to find my open support tickets."*

## Troubleshooting

> [accordion] The browser sign-in window didn't open
>
> Retrigger authentication from your client: run `/mcp` → **worklayer** → **Authenticate** in Claude Code, `codex mcp login worklayer` in Codex, or **MCP: List Servers** → **worklayer** → start in VS Code. In Claude, click **Connect** again.

> [accordion] I connected the wrong Worklayer account
>
> Remove the Worklayer server from your client, add it again, and click **Switch account** on the Worklayer consent screen before authorizing.

> [accordion] My client asks for an API key or custom header
>
> Worklayer MCP supports OAuth only and does not accept API keys. Select OAuth in your client's settings—clients that only support static API keys or fixed headers cannot connect.

> [accordion] I only see activate\_worklayer and almost no other tools
>
> Your account isn't active in the private beta yet. Ask your client to run `activate_worklayer` for activation instructions (such as entering an invite code). Once activated, the full toolset appears automatically.

> [accordion] Tools stop working after a while
>
> Clients normally refresh OAuth tokens automatically. If a tool call returns an authentication error, re-authenticate from your client.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.