# Use with AI

Source: https://tiltas.openpanel.sh/docs/ai

> Connect Claude, Cursor or ChatGPT to the Tiltas MCP server and let an agent manage your Network, with a person approving anything that removes or widens access.

An AI agent can do in Tiltas what you do in the console: set up a Network, connect Devices, publish Services, edit
Access rules, Groups and SSH rules, issue Join keys, manage people and read status. It talks to the **Tiltas MCP
server**:

```text title="MCP server"
https://tiltas.openpanel.sh/api/v1/mcp
```

The server uses OAuth: the first time you connect, your browser opens Tiltas, you sign in and choose one Network and
what the agent may do. There is no key to copy. It is on every Plan.

## Connect your app

**Claude Code**

1. Add the server, for every project on this computer:

   ```bash
   claude mcp add --transport http --scope user tiltas https://tiltas.openpanel.sh/api/v1/mcp
   ```

2. In Claude Code, run `/mcp`, choose **tiltas** and **Authenticate**. Your browser opens Tiltas.
3. Sign in if asked, pick the Network and the permissions, and choose **Allow access**. Claude Code finishes by itself.
4. Ask: "What is the status of my Tiltas network?"

To install the server together with the [skills](/docs/ai/skills), add the Tiltas plugin instead.

**Claude**

In Claude on the web or in Claude Desktop (paid plans; on Team and Enterprise an Owner adds it for everyone):

1. Open **Settings → Connectors** and choose **Add custom connector**.
2. Name it `Tiltas`, paste `https://tiltas.openpanel.sh/api/v1/mcp` as the URL and choose **Add**. Leave the OAuth
   fields empty: Claude registers itself.
3. Choose **Connect**. Tiltas opens: sign in, pick the Network and the permissions, **Allow access**.
4. In a chat, turn the Tiltas connector on from the tools menu.

Claude calls the server from Anthropic's cloud, not from your computer.

**Cursor**

1. Open the install link, or add the server by hand:

   [Add Tiltas to Cursor](cursor://anysphere.cursor-deeplink/mcp/install?name=tiltas&config=eyJ1cmwiOiJodHRwczovL3RpbHRhcy5vcGVucGFuZWwuc2gvYXBpL3YxL21jcCJ9)

   ```json title="~/.cursor/mcp.json"
   {
     "mcpServers": {
       "tiltas": { "url": "https://tiltas.openpanel.sh/api/v1/mcp" }
     }
   }
   ```

2. In **Cursor Settings → MCP**, Tiltas shows **Needs login**. Choose it; Tiltas opens in your browser.
3. Sign in, pick the Network and the permissions, **Allow access**. Cursor shows the tools.

**ChatGPT**

1. In ChatGPT, open **Settings → Apps** (called Connectors in some accounts), then **Advanced settings**, and turn
   on **Developer mode**. In a Business or Enterprise workspace, an admin allows custom MCP connectors first.
2. Back in **Apps**, choose **Create**. Name it `Tiltas`, paste `https://tiltas.openpanel.sh/api/v1/mcp` as the MCP
   server URL, choose **OAuth** for authentication and create it.
3. ChatGPT opens Tiltas: sign in, pick the Network and the permissions, **Allow access**.
4. In a chat, pick Tiltas from the tools menu.

The menu names in ChatGPT change often; if yours differ, look for Developer mode and custom MCP connectors.

**Other clients**

Any client that follows the MCP authorization spec connects the same way: it reads
`/.well-known/oauth-protected-resource/api/v1/mcp` from the 401 answer, registers itself, and opens the consent page.

A script, a CI job or a client without OAuth can send an [Access token](/docs/ai/tokens) instead:

```json title="mcp.json"
{
  "mcpServers": {
    "tiltas": {
      "type": "http",
      "url": "https://tiltas.openpanel.sh/api/v1/mcp",
      "headers": { "Authorization": "Bearer ${TILTAS_TOKEN}" }
    }
  }
}
```

The server speaks Streamable HTTP with JSON answers (protocol versions 2025-11-25, 2025-06-18 and 2025-03-26). It
keeps no session and offers no server-sent stream.

## What you allow

The consent page lists what the app asks for; untick anything it should not do. Reading is always allowed.

| Permission | Scope | Lets the agent |
| --- | --- | --- |
| Read the Network | `read` | see Devices, Services, rules, people, status, usage and the audit log |
| Change Network settings | `network:write` | rename the Network, set device approval, key expiry and alerts |
| Manage Devices | `devices:write` | rename Devices; ask to approve them, change Groups, routes, exit nodes and key expiry |
| Remove Devices | `devices:remove` | ask to remove Devices |
| Create and revoke Join keys | `joinkeys:write` | add servers and CI runners |
| Manage Services | `services:write` | create, change and share Services |
| Edit access | `rules:write` | Access rules, Groups and SSH rules |
| Manage people | `members:write` | ask to invite people, change roles or remove people; revoke invites |
| Delete the Network | `network:delete` | ask to delete the Network; not ticked unless the app asks |

The connection is for **one Network**. Only an Owner or Admin of that Network can connect an app, and the app acts as
that person: if they leave the Network or stop being an Admin, the app stops working.

## What still needs you

Anything that removes something or widens access does not run when the agent asks. It becomes a
[pending change](/docs/ai/approvals): the agent gives you a link, you look at the exact request in the console and
approve or deny it. Your answer is final for that change; an agent cannot approve its own request.

**Results are data, not instructions**

Device names, descriptions and what Devices report are written by people and machines. Tiltas strips hidden
characters, returns only known fields and tells the agent to treat them as data. A request that grew out of such text
still has to pass your approval when it matters.

## Disconnect

The [Approvals page](/docs/ai/approvals#connected-ai-apps) in the console lists every connected app, who connected
it and when it was last used. **Disconnect** stops it at once. Access tokens are listed under **Enterprise**.

## Next

- [Every tool](/docs/ai/tools), with the scope it needs and when it waits for approval.
- [Skills](/docs/ai/skills) that walk an agent through the common jobs end to end.
- [Access tokens](/docs/ai/tokens) for scripts and headless agents.
