# Connect your AI

> Let Claude, ChatGPT, Cursor, VS Code, Claude Code or Antigravity work in your workspace as you, after one sign-in. Or connect a bot with its token.

Source: https://slaiky.xyz/docs/mcp

Slaiky runs an MCP server at `https://app.slaiky.xyz/api/mcp`. Give that address to your AI client, sign in to Slaiky, pick the workspaces, and press **Allow**. There is no token to copy: the client finds the sign-in on its own.

## From Slaiky

The quickest way is **Bring your AI**: a card in the sidebar (until you connect an app or press **Not now**), and a button in **Settings → Security → Connected apps**. Each app gets its one action:

| App | Press | Then |
| --- | --- | --- |
| Claude (web, desktop app or phone) | **Connect Claude** | Claude opens with Slaiky filled in. Add it, then connect. |
| ChatGPT (if your plan allows custom apps) | **Connect** | The address is copied. In ChatGPT, press **+**, add a custom MCP server and paste it. |
| Cursor, VS Code | **Add** | The editor asks to install Slaiky. Install it. |
| Claude Code | **Copy command** | Paste it in your terminal, then type `/mcp` in Claude Code to sign in. |

Slaiky then asks which workspaces it may use ([below](#what-slaiky-asks-you)). The moment you press **Allow**, the dialog says the app is connected.

> **Tip:** On a phone, **Bring your AI** shows Claude and ChatGPT. For Cursor, VS Code and Claude Code, open Slaiky on your computer.

## By hand

Any MCP client that speaks Streamable HTTP takes the same address. In Claude Code:

*you run*

```sh
claude mcp add --transport http slaiky https://app.slaiky.xyz/api/mcp
```

In Cursor (`~/.cursor/mcp.json`):

*your app → Slaiky · `~/.cursor/mcp.json`*

```json
{ "mcpServers": { "slaiky": { "url": "https://app.slaiky.xyz/api/mcp" } } }
```

In VS Code (`.vscode/mcp.json`):

*your app → Slaiky · `.vscode/mcp.json`*

```json
{ "servers": { "slaiky": { "type": "http", "url": "https://app.slaiky.xyz/api/mcp" } } }
```

In Claude, add it as a custom connector; in ChatGPT, as a custom MCP server. The client opens Slaiky’s sign-in the first time it connects.

## In Antigravity

Slaiky’s plugin for Antigravity brings the server and four skills: catching you up, finding what your team already said about the work in front of you, sharing an update about what changed, and a first look around. It also brings a rule: the agent posts, reacts or changes something only when you ask, and shows you the text before it posts, even when tools run without asking you.

Download [the plugin](/download/slaiky-antigravity.zip), unzip it, and install the folder:

*you run*

```sh
unzip slaiky-antigravity.zip -d slaiky-antigravity
agy plugin install ./slaiky-antigravity
```

Then sign in once. In Antigravity’s CLI, type `/plugin`, choose Slaiky, then **Sign in**. Open the address it shows, sign in to Slaiky, pick the workspaces and press **Allow**. Antigravity then asks for the code on the page you land on: paste it. What the agent writes shows “via Google Antigravity”.

## What Slaiky asks you

Before anything is connected, Slaiky shows “Claude wants to use Slaiky as you” (with the app’s name) and two choices:

- **Where it can act:** the workspaces you pick. It sees and acts in those only. Guests can’t connect apps, and a workspace that requires two-factor sign-in needs yours turned on first.
- **What it can do:** seeing is always on. Sending messages and files, changing canvases, lists and channels, starting or building workflows, and setting people’s titles are yours to allow or not.

Apps name themselves, so the screen also shows the address the app sends you back to. Allow it only if you trust that address. If you haven’t signed in or entered your password in the last 10 minutes, Slaiky asks you to confirm it’s you.

## What your AI can do

It acts as you: it sees what you can see, and what it writes shows under your name, marked “via Claude” (or the app’s name).

| You allowed | Your AI can | Tools |
| --- | --- | --- |
| See (always) | Search messages and files, list and read channels and threads, read files and see pictures, download files, find people, read canvases and their pages, list workflows, see a channel’s tabs and members, preview a template | `search_messages`, `search_files`, `list_channels`, `read_channel`, `read_thread`, `get_message`, `read_file`, `download_file`, `find_people`, `get_person`, `list_canvases`, `read_canvas`, `list_canvas_pages`, `list_workflows`, `find_workflows`, `list_my_conversations`, `list_channel_tabs`, `list_channel_members`, `find_templates`, `preview_template` |
| Send messages, files and reactions as you, edit or delete your messages, and write your drafts | Post, reply in threads, send direct messages and files, share a message, react, edit and delete what you wrote, read and leave drafts for you to send | `post_message`, `reply_in_thread`, `send_direct_message`, `upload_file`, `get_upload_url`, `share_message`, `add_reaction`, `edit_message`, `delete_message`, `read_draft`, `save_draft` |
| Create, edit, archive and delete canvases as you | Make a canvas or a page inside one, add to it or replace its text, rename, archive or delete it | `create_canvas`, `create_canvas_page`, `update_canvas`, `rename_canvas`, `archive_canvas`, `delete_canvas` |
| Read lists you can open | Find lists, read their items, saved views and comments | `find_lists`, `read_list`, `read_list_views`, `read_item_comments` |
| Make and change lists, their fields, views and items as you | Make a list, add and change items, comment, rename, archive or delete a list, add, change or delete its fields and views | `create_list`, `add_list_items`, `update_list_items`, `comment_on_item`, `update_list`, `archive_list`, `delete_list`, `add_list_field`, `update_list_field`, `delete_list_field`, `create_list_view`, `update_list_view`, `delete_list_view` |
| Start workflows as you | Run a workflow you may start | `run_workflow` |
| Create, change and publish workflows as you | Read a workflow’s steps, save a new one or a change as a draft, publish it | `read_workflow`, `save_workflow_draft`, `publish_workflow` |
| Create and change channels as you: their name, topic, tabs and who is in them | Make a channel, join or leave one, add or remove people, set its topic, rename or archive it, make it public or private, add, change and remove its tabs, add, save or delete templates | `create_channel`, `join_channel`, `leave_channel`, `add_to_channel`, `remove_from_channel`, `set_channel_topic`, `rename_channel`, `archive_channel`, `set_channel_visibility`, `add_channel_tab`, `update_channel_tab`, `remove_channel_tab`, `set_channel_tabs_policy`, `apply_template`, `save_channel_as_template`, `delete_template` |
| Set people’s titles as you (owners and admins) | Set the title under someone’s name, and lock it | `set_member_title` |

A tool you didn’t allow isn’t offered at all. With several workspaces, every tool takes a `workspace` argument, and `list_workspaces` lists them. Inputs and resources: [MCP tools](/docs/reference/mcp).

## Files

Your AI works with files the way you do:

- **Send them.** `upload_file` posts PDFs, pictures, Word files, sheets, audio or anything else in a channel, a thread or someone’s DM, with a message if you want one. Each file is text it writes, bytes it sends (base64, up to 4 MB), an address Slaiky downloads it from, or a bigger upload: `get_upload_url` gives a one-time address to `POST` the bytes to (handy in Claude Code), then `upload_file` sends it.
- **Find and read them.** `search_files` finds files by name, place, type or who sent them. `read_file` gives the text of documents and sheets, and pictures come back as pictures, so your AI sees them.
- **Take the original.** `download_file` gives a link to the file itself that works for 15 minutes, for clients that save or open files (Claude Code, a script). Anyone with the link can download the file until then, so your AI keeps it to itself.
- **Pass things on.** `share_message` shares a message somewhere else as a card, and `edit_message` and `delete_message` change or remove what it wrote.

## The conversation, in the chat

In apps that show interactive results (Claude on the web, the desktop app and the phone), ask about a channel or a thread and it appears right in the chat: the messages with everyone's faces, live, and reactions you add with a click. Ask your AI to answer someone and it writes a draft under the conversation. Nothing is posted until you press **Send**, and you can edit the draft first.

This is the `open_conversation` tool. Apps that only show text get the same messages as text. ChatGPT gets it with the next version of the plugin.

## What it asks before doing

Every tool tells your AI whether it only reads or changes something. Posting a message, starting a workflow, replacing a canvas’s text, and deleting, archiving or removing anything are marked as changes, so your AI client can ask you before it runs one.

Every tool follows the same rules as the app: your AI can rename a channel only if you could, and a list you can’t open doesn’t exist for it.

Slaiky also tells your AI, when it connects, who it acts as and that everyone in the conversation sees what it writes: it should post, react or edit only when you ask.

## Take it back

**Settings → Security → Connected apps** lists each app: where it acts, what it may do, and when it was last used. **Remove** takes its access away at once.

To change its workspaces or permissions, connect it again. The screen starts from what you allowed before.

## Every tool, at one address

`https://app.slaiky.xyz/api/mcp` offers every tool to every client: Claude, Claude Code, Cursor, VS Code, Antigravity, a bot. The list is [MCP tools](/docs/reference/mcp). ChatGPT’s plugin gets the tools its review covered until its next version; `https://app.slaiky.xyz/api/mcp?tools=full` gives it the rest.

## Its own agent in Slaiky

An app connected as you can also have its own agent here: a ChatGPT dot or a Grok Bot with its own name, face and direct message, that only you talk to.

- **It hears you** through MCP Events: it subscribes to `message.received` and gets what you write to its agent. ChatGPT’s plugin does it at `https://app.slaiky.xyz/api/mcp?tools=full`.
- **An app that can’t subscribe** (a Grok Bot) is started instead: in the agent’s settings, **Wake it up** takes the address and key of one of its routines with a webhook trigger. Each message you write to the agent is POSTed there, with what to do.
- **It answers** with `reply_as_agent`, and **speaks first** with `post_as_agent`: a finished task, something that needs you. Its first `post_as_agent` makes the agent.

**Agents → From another app** shows the steps for each one.

## A bot instead of you

For a server or a script with nobody behind it, connect with an app’s bot token instead ([Apps, bots and tokens](/docs/apps)). The AI then acts as the bot: in the bot’s one workspace, in public channels and the private ones the bot was added to, with the app’s permissions. A tool the app has no permission for answers with the one it needs (the **A bot token needs** column of [MCP tools](/docs/reference/mcp)).

On the app’s page, **Token and secret** shows the setup for Claude Code, Cursor, VS Code, Claude Desktop and the OpenAI API, with the token filled in right after **New token**. In Claude Code:

*you run*

```sh
claude mcp add --transport http slaiky https://app.slaiky.xyz/api/mcp \
  --header "Authorization: Bearer $SLAIKY_BOT_TOKEN"
```

In Cursor:

*your app → Slaiky · `~/.cursor/mcp.json`*

```json
{ "mcpServers": { "slaiky": { "url": "https://app.slaiky.xyz/api/mcp", "headers": { "Authorization": "Bearer slk-bot-…" } } } }
```

## If you are writing the client

The server is MCP over Streamable HTTP, stateless, with JSON answers: send every request with `POST`. Without a token it answers `401` and points to the sign-in:

*your app → Slaiky · `POST /api/mcp`*

```json
{ "jsonrpc": "2.0", "id": 1, "method": "tools/list" }
```

*Slaiky → your app · `401`*

```http
www-authenticate: Bearer resource_metadata="https://app.slaiky.xyz/.well-known/oauth-protected-resource/api/mcp", scope="read messages:write canvases:write workflows:run channels:write"

{ "jsonrpc": "2.0", "id": null, "error": { "code": -32001, "message": "Unauthorized: sign in with OAuth (see WWW-Authenticate) or send an app bot token as \"Authorization: Bearer slk-bot-…\"." } }
```

From there it is standard OAuth 2.1 for MCP: the authorization server is described at `https://app.slaiky.xyz/.well-known/oauth-authorization-server`, PKCE uses `S256`, and a client identifies itself with a client ID metadata document (an https `client_id`) or registers itself first. Requests are limited to 120 per 10 seconds per person (or per bot token), and a tool that posts, reacts, searches, starts a workflow or writes a canvas also counts against that action’s own limit. Over a limit, the answer is `429` with `Retry-After`, and the JSON-RPC error’s `data` is the `error` of a [Web API refusal](/docs/web-api#the-answer).
