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

# MCP Examples

> Client-specific setup examples for connecting to Lexful via MCP.

This page collects example configurations for connecting popular MCP clients to Lexful. In each example, replace `{POD}` with `us` or `eu` for your account's pod (see [MCP endpoint](https://developer.lexful.ai/mcp/overview.md#mcp-endpoint)) and `{YOUR_ACCOUNT_ID}` with your account ID.

## Example: Claude (claude.ai)

Claude’s chat interface supports MCP via **Connectors**.

1. Go to **Settings → Connectors**.
2. Click **Add custom connector**.
3. Enter a name (for example, `Lexful`) and paste your MCP URL:

```text theme={null}
https://api.{POD}.lexful.app/mcp/{YOUR_ACCOUNT_ID}
```

4. Click **Add** and complete the OAuth flow when prompted.
5. Lexful will then be available as a connector in your chats.

## Example: Claude Desktop

Claude Desktop supports remote MCP servers through the same **Connectors** UI as claude.ai.

1. Go to **Settings → Connectors**.
2. Click **Add custom connector**.
3. Enter a name (for example, `Lexful`) and paste your MCP URL:

```text theme={null}
https://api.{POD}.lexful.app/mcp/{YOUR_ACCOUNT_ID}
```

4. Click **Add** and complete the OAuth flow when prompted.

If you prefer to configure via JSON, you can use the `mcp-remote` wrapper in `claude_desktop_config.json`, then restart Claude Desktop so it picks up the change:

```json theme={null}
{
  "mcpServers": {
    "lexful": {
      "command": "npx",
      "args": ["mcp-remote@0.15.2", "https://api.{POD}.lexful.app/mcp/{YOUR_ACCOUNT_ID}"]
    }
  }
}
```

Keep the version pinned. Versions of `mcp-remote` before 0.1.16 let a malicious MCP server run commands on your machine, and an unpinned `npx mcp-remote` runs whatever version npm resolves.

## Example: Claude Code

Claude Code has built-in MCP support. Add Lexful as a server from the CLI:

```bash theme={null}
claude mcp add --transport http lexful https://api.{POD}.lexful.app/mcp/{YOUR_ACCOUNT_ID}
```

By default this applies to the current project. Use `--scope user` to make it available globally, or `--scope project` to share it with your team via `.mcp.json`.

To complete the OAuth flow, start a Claude Code session, type `/mcp`, select `lexful`, and choose **Authenticate**. You can also use `/mcp` to manage your MCP servers interactively.

## Example: Cursor

1. Open **Cursor Settings** (`Cmd/Ctrl + ,`).
2. Navigate to **Tools & MCP**.
3. Click **New MCP Server** and add the following configuration:

```json theme={null}
{
  "mcpServers": {
    "lexful": {
      "url": "https://api.{POD}.lexful.app/mcp/{YOUR_ACCOUNT_ID}"
    }
  }
}
```

This can also be added directly to `~/.cursor/mcp.json` (global) or `.cursor/mcp.json` (project-level).

## Example: ChatGPT

ChatGPT supports MCP via **Apps & Connectors** on eligible plans (Plus, Pro, Team, Enterprise, Edu).

1. Ensure **Developer Mode** is enabled under **Settings → Apps & Connectors → Advanced settings**.
2. Click **Add new connector**.
3. Enter a name (for example, `Lexful`) and paste your MCP URL:

```text theme={null}
https://api.{POD}.lexful.app/mcp/{YOUR_ACCOUNT_ID}
```

4. Set the auth mode to **OAuth** and complete the authorization when prompted.
5. In a new chat, enable the connector via the apps menu.

## Example: Microsoft Copilot Studio

Copilot Studio supports MCP as a tool type for agents.

**1. Navigate to the Agents page**

In Copilot Studio, go to the **Agents** page. Create a new agent or select an existing one.

**2. Open the Tools tab**

Inside your agent, click the **Tools** tab, then click **+ Add a tool**.

**3. Select Model Context Protocol**

In the "Add tool" dialog, select **Model Context Protocol** under "Create new."

**4. Configure the Lexful MCP server**

Fill in the following details:

<ul>
  <li>**Server name:** `Lexful MCP`</li>
  <li>**Server description:** `Lexful is our IT documentation and asset management platform`</li>
  <li>**Server URL:**</li>
</ul>

```text theme={null}
https://api.{POD}.lexful.app/mcp/{YOUR_ACCOUNT_ID}
```

<ul>
  <li>**Authentication:** Select **OAuth 2.0**, then choose **Dynamic discovery** as the type.</li>
</ul>

**5. Create and enable the tool**

Click **Create**. The tool will appear in your agent's Tools list. Ensure the **Enabled** toggle is on, then test in the "Test your agent" panel.

## Example: VS Code

VS Code supports MCP servers through GitHub Copilot’s Agent mode. Add a `.vscode/mcp.json` file to your workspace:

```json theme={null}
{
  "servers": {
    "lexful": {
      "type": "http",
      "url": "https://api.{POD}.lexful.app/mcp/{YOUR_ACCOUNT_ID}"
    }
  }
}
```

Reload VS Code so the change takes effect. Lexful tools will be available when using Copilot in Agent mode.

## Example: Generic MCP client

For other MCP-aware tools that accept a JSON configuration, the standard format is:

```json theme={null}
{
  "mcpServers": {
    "lexful": {
      "url": "https://api.{POD}.lexful.app/mcp/{YOUR_ACCOUNT_ID}"
    }
  }
}
```

Refer to your client’s documentation for the exact config file location and key names, as these vary between tools.


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