|
| 1 | +--- |
| 2 | +title: Connect MCP Clients to GibsonAI |
| 3 | +subtitle: Learn how to connect MCP clients such as Cursor, Claude Desktop, Cline, |
| 4 | + and Windsurf to GibsonAI MCP Server. |
| 5 | +enableTableOfContents: true |
| 6 | +updatedOn: '2025-06-16T08:19:38.922Z' |
| 7 | +--- |
| 8 | + |
| 9 | +The **GibsonAI MCP Server** allows you to connect various [**Model Context Protocol (MCP)**](https://modelcontextprotocol.org) compatible AI tools to GibsonAI. |
| 10 | + |
| 11 | +This guide covers the setup for the following MCP Clients: |
| 12 | + |
| 13 | +- [Cursor](#cursor-setup) |
| 14 | +- [Windsurf](#windsurf-setup) |
| 15 | +- [Claude Desktop](#claude-desktop-setup) |
| 16 | +- [VS Code + GitHub Copilot Setup](#vs-code-github-copilot-setup) |
| 17 | +- [Cline (VS Code Extension)](#cline-vs-code-extension-setup) |
| 18 | + |
| 19 | +## Prerequisites |
| 20 | + |
| 21 | +- A [GibsonAI account](https://app.gibsonai.com/signup). |
| 22 | +- [UV](https://docs.astral.sh/uv/) installed. |
| 23 | + |
| 24 | +## Authentication |
| 25 | + |
| 26 | +You'll need to ensure you're logged in to the Gibson CLI before the MCP server will work. |
| 27 | + |
| 28 | +```bash |
| 29 | +uvx --from gibson-cli@latest gibson auth login |
| 30 | +``` |
| 31 | + |
| 32 | +## Cursor Setup |
| 33 | + |
| 34 | +1. Go to `Cursor` → `Settings` → `Cursor Settings` → `MCP Tools`. |
| 35 | +2. Click `New MCP Server`. |
| 36 | +3. Update the configuration to include the following: |
| 37 | + |
| 38 | +```json |
| 39 | +{ |
| 40 | + "mcpServers": { |
| 41 | + "gibson": { |
| 42 | + "command": "uvx", |
| 43 | + "args": ["--from", "gibson-cli@latest", "gibson", "mcp", "run"] |
| 44 | + } |
| 45 | + } |
| 46 | +} |
| 47 | +``` |
| 48 | + |
| 49 | +## Windsurf Setup |
| 50 | + |
| 51 | +1. Go to `Windsurf` → `Settings` → `Windsurf Settings` → `Cascade`. |
| 52 | +2. Click `Add server` in the `Model Context Protocol (MCP) Servers` section. |
| 53 | +3. In the modal, click `Add custom server`. |
| 54 | +4. Update the configuration to include the following: |
| 55 | + |
| 56 | +```json |
| 57 | +{ |
| 58 | + "mcpServers": { |
| 59 | + "gibson": { |
| 60 | + "command": "uvx", |
| 61 | + "args": ["--from", "gibson-cli@latest", "gibson", "mcp", "run"] |
| 62 | + } |
| 63 | + } |
| 64 | +} |
| 65 | +``` |
| 66 | + |
| 67 | +5. Open the `Cascade` chat and, if necessary, refresh the MCP servers. |
| 68 | + |
| 69 | +## Claude Desktop Setup |
| 70 | + |
| 71 | +1. Go to `Claude` → `Settings` → `Developer`. |
| 72 | +2. Click `Edit Config`. |
| 73 | +3. Open the `claude_desktop_config.json` file. |
| 74 | +4. Update the configuration to include the following: |
| 75 | + |
| 76 | +```json |
| 77 | +{ |
| 78 | + "mcpServers": { |
| 79 | + "gibson": { |
| 80 | + "command": "uvx", |
| 81 | + "args": ["--from", "gibson-cli@latest", "gibson", "mcp", "run"] |
| 82 | + } |
| 83 | + } |
| 84 | +} |
| 85 | +``` |
| 86 | + |
| 87 | +## Claude Code Setup |
| 88 | + |
| 89 | +```sh |
| 90 | +claude mcp add gibson -- uvx --from gibson-cli@latest gibson mcp run |
| 91 | +``` |
| 92 | + |
| 93 | +```sh |
| 94 | +claude mcp get gibson |
| 95 | +``` |
| 96 | + |
| 97 | +```txt |
| 98 | +gibson: |
| 99 | + Scope: Local (private to you in this project) |
| 100 | + Type: stdio |
| 101 | + Command: uvx |
| 102 | + Args: --from gibson-cli@latest gibson mcp run |
| 103 | + Environment: |
| 104 | +
|
| 105 | +To remove this server, run: claude mcp remove "gibson" -s local |
| 106 | +``` |
| 107 | + |
| 108 | +## VS Code + GitHub Copilot Setup |
| 109 | + |
| 110 | +1. Create or open the `.vscode/mcp.json` file. |
| 111 | +2. Update the configuration to include the following: |
| 112 | + |
| 113 | +```json |
| 114 | +{ |
| 115 | + "inputs": [], |
| 116 | + "servers": { |
| 117 | + "gibson": { |
| 118 | + "type": "stdio", |
| 119 | + "command": "uvx", |
| 120 | + "args": ["--from", "gibson-cli@latest", "gibson", "mcp", "run"] |
| 121 | + } |
| 122 | + } |
| 123 | +} |
| 124 | +``` |
| 125 | + |
| 126 | +See the official [GitHub Copilot MCP docs](https://docs.github.com/en/copilot/customizing-copilot/extending-copilot-chat-with-mcp#configuring-mcp-servers-in-visual-studio-code) for more information. |
| 127 | + |
| 128 | +## Cline (VS Code Extension) Setup |
| 129 | + |
| 130 | +1. Open **Cline** in VS Code: |
| 131 | + Go to **Sidebar → Cline icon**. |
| 132 | + |
| 133 | +2. To configure MCP Servers in Cline, you need to modify the `cline_mcp_settings.json` file. Click the **MCP Servers** icon → go to **Installed** → click **Configure MCP Servers** to open the configuration file. |
| 134 | + |
| 135 | +3. Add the following `gibson` server entry inside the `mcpServers` object: |
| 136 | + |
| 137 | +```json |
| 138 | +{ |
| 139 | + "mcpServers": { |
| 140 | + "gibson": { |
| 141 | + "command": "uvx", |
| 142 | + "args": ["--from", "gibson-cli@latest", "gibson", "mcp", "run"] |
| 143 | + } |
| 144 | + } |
| 145 | +} |
| 146 | +``` |
| 147 | +See the [Claude Desktop MCP docs](https://modelcontextprotocol.io/quickstart/user) for more information. |
| 148 | + |
| 149 | +<NeedHelp/> |
0 commit comments