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

# Connect your agent

> Connect a coding tool or chat app to Hoista's MCP server.

Hoista's MCP server gives an agent the same projects and tools you use in Desktop and the CLI. Each agent connects with its own identity and access. Your provider credentials stay in Hoista and never go into the agent's configuration.

![A coding agent starts hoist mcp and asks the daemon to connect. Hoista shows you the request with a code, in the app or a browser page. You allow it with an access level, and from then on the daemon checks each call the agent makes against that access.](https://mintcdn.com/mirt-lab/xnVa5lZdCrkkDEzj/assets/diagrams/agent-connect-light.svg?fit=max\&auto=format\&n=xnVa5lZdCrkkDEzj\&q=85\&s=4505204e30ed8194909843ec8fa91b14)

![A coding agent starts hoist mcp and asks the daemon to connect. Hoista shows you the request with a code, in the app or a browser page. You allow it with an access level, and from then on the daemon checks each call the agent makes against that access.](https://mintcdn.com/mirt-lab/xnVa5lZdCrkkDEzj/assets/diagrams/agent-connect-dark.svg?fit=max\&auto=format\&n=xnVa5lZdCrkkDEzj\&q=85\&s=310f875d41a685a5897ee4128b754a75)

The agent asks, you allow it with an access level, and the daemon checks every call after that.

| Your agent | How it connects | Needs |
| - | - | - |
| Coding tool on this computer, such as Claude Code, Cursor or Codex | Runs `hoist mcp` over stdio | Hoista on this computer |
| Chat app or cloud agent, such as ChatGPT or Claude | Your Hoista URL, over HTTPS with OAuth | Hoista on this computer [through a tunnel or proxy](https://docs.hoista.dev/agents/tools/chatgpt.md#from-your-computer), or a [remote](https://docs.hoista.dev/guides/remote.md) |

## Step-by-step for your tool

> [card] [Claude Code](https://docs.hoista.dev/agents/tools/claude-code.md)
>
> One command, on this computer.

> [card] [Codex](https://docs.hoista.dev/agents/tools/codex.md)
>
> CLI and IDE extension, on this computer.

> [card] [Cursor](https://docs.hoista.dev/agents/tools/cursor.md)
>
> An MCP server in Cursor's settings.

> [card] [Windsurf](https://docs.hoista.dev/agents/tools/windsurf.md)
>
> An MCP server in Cascade's settings.

> [card] [VS Code (Copilot)](https://docs.hoista.dev/agents/tools/vscode.md)
>
> An MCP server for Copilot's agent mode.

> [card] [ChatGPT](https://docs.hoista.dev/agents/tools/chatgpt.md)
>
> A custom MCP app, from your computer or a remote.

> [card] [Claude](https://docs.hoista.dev/agents/tools/claude.md)
>
> A custom connector, from your computer or a remote.

> [card] [Grok](https://docs.hoista.dev/agents/tools/grok.md)
>
> A custom connector, from your computer or a remote.

> [card] [Gemini](https://docs.hoista.dev/agents/tools/gemini.md)
>
> A custom app, from your computer or a remote.

> [card] [Hermes Agent](https://docs.hoista.dev/agents/tools/hermes.md)
>
> On this computer or a server, on a schedule.

## Connect from Desktop

1. Open **Agents** and choose **Connect an agent**.
2. Under **Which agent do you use?**, pick your tool.
3. Follow the steps it shows. A coding tool gets a command to run or an MCP server to add. A chat app gets your Hoista URL to paste into its connector settings.
4. Approve it:
   * **A chat app or web agent** signs in through your browser. On Hoista's page there, choose **What it may do** and **Authorize**, then confirm with your passkey on a remote, or Touch ID or your password on this computer. The page then sends you back to the app. If you closed it, the Hoista app shows the request and can open the page again.
   * **A coding tool on this computer** shows up in the Hoista app, under **Agents** or as a card. Check its code matches, choose what it may do and allow it.
5. Ask the agent "what projects do I have on Hoista?"

A chat app runs in the cloud, so it needs Hoista at an HTTPS address. Hoista on your computer serves MCP over HTTP on `127.0.0.1:8788`, and only there. Point a tunnel or proxy at it, as in [From your computer](https://docs.hoista.dev/agents/tools/chatgpt.md#from-your-computer), or use a remote. Only a remote keeps working while your computer is off.

## Connect from the CLI

Add Hoista to your tool:

```bash Claude Code theme={null}
claude mcp add --scope user hoista -- hoist mcp
```

```bash Codex theme={null}
codex mcp add hoista -- "$(command -v hoist)" mcp
```

```bash Cursor theme={null}
hoist mcp config --name Cursor
```

```bash Windsurf theme={null}
hoist mcp config --name Windsurf
```

```bash Other tools theme={null}
hoist mcp config --name MyCodingTool
```

For Cursor, Windsurf and other tools, `hoist mcp config` prints the configuration to add to the tool's MCP settings. VS Code needs a different shape; see [VS Code](https://docs.hoista.dev/agents/tools/vscode.md). The configuration uses the full path to `hoist` and holds no token. With a [remote](https://docs.hoista.dev/guides/remote.md) in use, it prints the remote's `/mcp` address instead. Then approve the request:

```bash theme={null}
hoist agents requests
hoist agents allow REQUEST_ID --access view
hoist agents
```

In a terminal, `hoist agents allow` without an ID lets you pick the request. `--access` takes `view` (View only), `ask` (Ask for approval) or `full` (Full access), and `--projects my-app,api` limits it to some projects. To turn a request down, run `hoist agents deny REQUEST_ID`. Start with `view` and widen it later in [permissions](https://docs.hoista.dev/agents/permissions.md).

To install Hoista's skills for Claude Code or Codex, run `hoist skills install`.

## After it connects

The agent reuses its credential, and the daemon checks its access on every request. If you revoke or let the access expire, the agent must connect again. A new tool is a new agent. Your provider accounts stay connected.

## Related

> [card] [Agent permissions](https://docs.hoista.dev/agents/permissions.md)
>
> Change or narrow what an agent can do.

> [card] [Approvals](https://docs.hoista.dev/security/approvals.md)
>
> What Hoista asks you before an agent acts.

> [card] [Webhooks](https://docs.hoista.dev/guides/webhooks.md)
>
> Send events to a background agent.


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