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

# Connect HERO to your AI tool

> Connect Cursor, VS Code, Claude Desktop, and other MCP clients to HERO. Install links, manual config, and the remote MCP endpoint.

HERO supports the **Model Context Protocol (MCP)** — an open standard that lets AI tools read and write your documents, projects, and tables.

## Install for your client

* **Cursor** — [Install](cursor://anysphere.cursor-deeplink/mcp/install?name=hero\&config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyIteSIsIkBteWhlcm8vbWNwLXNlcnZlciJdfQ%3D%3D)
* **VS Code** — [Install](vscode:mcp/install?%7B%22name%22%3A%22hero%22%2C%22type%22%3A%22stdio%22%2C%22command%22%3A%22npx%22%2C%22args%22%3A%5B%22-y%22%2C%22%40myhero%2Fmcp-server%22%5D%7D)
* **Claude Desktop** — [Install](https://app.myhero.so/api/mcp/install/claude-desktop)
* **NPM package** — [View](https://www.npmjs.com/package/@myhero/mcp-server)

## Authentication methods

* **Personal access token** — paste a token into the client's config. <br />
  See [Personal access tokens](./authentication#personal-access-token).
* **OAuth login** — for clients that support remote MCP OAuth discovery. <br />
  See [OAuth flow](./authentication#oauth).

## Manual config

If your MCP client isn't listed above, paste this into its config file. Replace `hero_at_...` with a personal access token from [here](https://app.myhero.so/#/settings/mcp-tokens "https://app.myhero.so/#/settings/mcp-tokens").

```json theme={null}
{
  "mcpServers": {
    "hero": {
      "command": "npx",
      "args": ["-y", "@myhero/mcp-server"],
      "env": { "HERO_API_KEY": "hero_at_..." }
    }
  }
}
```

For Claude Code (CLI):

```bash theme={null}
claude mcp add hero -- npx -y @myhero/mcp-server
```

For any other stdio MCP client:

```bash theme={null}
npx -y @myhero/mcp-server
```

## Remote MCP endpoint

Clients that support remote MCP OAuth discovery can connect directly to:

* **Server**: `https://app.myhero.so/api/mcp/`
* **OAuth metadata**: `https://app.myhero.so/.well-known/oauth-authorization-server`
