# Connect AI assistants (MCP)

> Let Claude, ChatGPT, Claude Code, Cursor, VS Code and other AI apps find, create and update tasks and pages in your workspace — as you, with only the access you allow.

Source: https://docs.sofiaspace.uz/integrations/ai-assistants/

Every Sofia Space workspace has an **MCP connection** (Model Context Protocol — the open standard AI apps use to reach other tools). You add your workspace's address to an AI app once, sign in with your Sofia Space account, and then ask it to find tasks, update them, write pages or set up a board.

The app acts **as you**: it sees and changes only what you can, in this one workspace, and only the kinds of things you allowed when you signed in. It never gets your password.

**Who can do this:** any workspace member, unless an admin has turned AI apps off (see [Turn AI apps off or limit them](#turn-ai-apps-off-or-limit-them)).

:::note
This page is about letting an assistant **work in your workspace**. To let an assistant **answer questions about how Sofia Space works**, give it these docs instead — see [Use these docs with AI](https://docs.sofiaspace.uz/getting-started/use-with-ai.md).
:::

## Your workspace's MCP address

Your workspace's own address followed by `/mcp`:

```text
https://<your-workspace>.sofiaspace.uz/mcp
```

For example, if you open Sofia Space at `acme.sofiaspace.uz`, the address is `https://acme.sofiaspace.uz/mcp`.

Want an app that can only read? Use `/mcp/readonly` instead. It can search and read, and can never change anything:

```text
https://<your-workspace>.sofiaspace.uz/mcp/readonly
```

The in-app guide (**Help center → Connect AI apps (MCP)**) shows your real address and one-click install links for Cursor and VS Code.

## Connect an app

In each app you add a remote ("custom") MCP connector with the address above. The app then opens the Sofia Space sign-in page: sign in, check what it asks for, and choose **Allow**. AI apps rename their menus from time to time — look for "connectors" or "MCP".

### Claude (claude.ai and the Claude desktop and mobile apps)

1. Open **Settings → Connectors** (in some versions **Settings → Customize → Connectors**).
2. Choose **Add custom connector**.
3. Name it (for example "Sofia Space") and paste your MCP address.
4. Choose **Connect** and sign in to Sofia Space.

On a Claude Team or Enterprise plan, an owner may need to add the connector for the organization first; then each person connects it with their own account.

### Claude Code

Run this once in a terminal (`--scope user` makes it available in every folder):

```bash
claude mcp add --transport http --scope user sofia https://<your-workspace>.sofiaspace.uz/mcp
```

Then start `claude`, type `/mcp`, pick **sofia** and choose **Authenticate**. Your browser opens the sign-in page.

### ChatGPT

Custom connectors need a ChatGPT plan that offers them.

1. Open **Settings → Apps & Connectors**.
2. Under **Advanced settings**, turn on **Developer mode**.
3. Create a connector with your MCP address and OAuth sign-in.

### Cursor

Add this to `~/.cursor/mcp.json` (or the project's `.cursor/mcp.json`), then sign in when Cursor asks:

```json
{
  "mcpServers": {
    "sofia": { "url": "https://<your-workspace>.sofiaspace.uz/mcp" }
  }
}
```

### VS Code

Add this to `.vscode/mcp.json` in your project (or run **MCP: Add Server** and choose HTTP), then sign in when asked:

```json
{
  "servers": {
    "sofia": { "type": "http", "url": "https://<your-workspace>.sofiaspace.uz/mcp" }
  }
}
```

## What you allow

The sign-in page lists what the app is asking for. You can remove it at any time.

| Permission | What it lets the app do |
| --- | --- |
| **Read projects, boards and tasks** | Find and read tasks, projects, comments and history you can see. |
| **Create and update tasks** | Create tasks, change fields and status (the project's workflow still applies), and comment. |
| **Read docs** | Find and read pages and their comments. |
| **Create and edit docs** | Create pages, publish new versions and comment. Earlier versions stay in the page history. |
| **Set up projects** | Create a project with its statuses and board. Asked for separately, only the first time an app needs it. |
| **Notifications, calendar, chat, dashboards** | Read and act in those areas, each asked for separately. |

An app never gets more than you have in Sofia Space: a viewer stays a viewer, and pages or projects you can't open stay closed. Permissions your role doesn't allow (for example, guests setting up projects) are refused.

### Connect with an API token instead

Tools that can't do the sign-in step (some editors and scripts) can use a [personal API token](https://docs.sofiaspace.uz/integrations/api-tokens.md) with AI scopes, sent as `Authorization: Bearer sophie_pat_…`. After you create one, Sofia Space shows a ready `claude mcp add …` command. With a token, file download links and deleting pages aren't available.

For a system rather than a person (an ERP or CRM that should keep working when people leave), an Org Admin creates an [integration account](https://docs.sofiaspace.uz/integrations/integration-accounts.md) with its own tokens.

## What an app can do

Once connected, ask in your own words. The app picks the right steps:

- **Find** tasks and pages by search, and list projects, tasks and pages.
- **Create and update tasks** by key (like `WEB-142`): title, description, status, assignee, type, priority, due date, labels, parent and epic, sprint, custom fields and estimate. Link tasks (blocks or blocked by, also across projects, or a docs page), see a task's linked records in other systems, log time and archive a task.
- **Write pages** in Markdown: create a page, replace it, add to the end, rename it or move it under another page, and create a space. Mentions, task links, callouts and files on the page keep working. See which pages link to a page, and delete a page with the pages under it (it asks you first; not with an API token).
- **Set up and change projects**: build a board from a description (it shows you the plan first), add, rename and reorder statuses, add boards, and create, start or complete sprints.
- **Comment** on tasks and pages, and edit your own comments. Attach files, and get a download link for a file on a task or page.
- **Catch up**: read your notifications, see what changed since a given time, and mark things read.
- **Calendar**: list your events, find a free time, create and update events you organise, and reply to invites.
- **Chat**: list conversations, read and search messages, send messages (it asks you first), react, and edit or delete your own.
- **Dashboards and Overview**: read and build dashboards, run a widget, save filters, and rearrange your Overview widgets.

The full list of tools, with the permission each needs, is in the [MCP tools reference](https://docs.sofiaspace.uz/integrations/mcp-tools.md).

Try:

- *"What's assigned to me in WEB that's due this week?"*
- *"Turn these meeting notes into tasks in SUP."*
- *"Set up a Kanban board for customer support in a new project."*

## What your team sees

Everything an app does is done by **you** and shows your name, with a small **via Claude** (or via ChatGPT, via VS Code) next to it on comments and in task history, so people know an AI app wrote it.

Apps Sofia Space can't verify show as **via an AI app**; the name the app gave itself is in the tooltip. That includes apps that run on your own computer, such as Claude Code.

## Safety

- Text in tasks, pages and comments is written by people and is passed to the app as content, not as instructions to follow. Still, read what an app proposes before you approve big changes.
- An app can't replace a page in a way that would lose content it can't represent (embedded macros, merged table cells and the like): it must keep those parts or add to the page instead.
- If someone is editing a page when an app publishes it, their editor closes with a message so nothing is overwritten; they reopen it to continue from the new version.
- Each person can make up to **300 requests a minute** through AI apps, separately from their own use of Sofia Space.

## Remove an app

**Settings → My account → Security → Connected AI apps** lists every app you connected and what it may do. **Remove** cuts it off within minutes; to use it again, connect it again.

## Turn AI apps off or limit them

**Who:** Org Admins.

- **Off for everyone** — **Settings → Advanced → Modules → AI agents** (on by default). While it's off, connected apps get a clear "turned off" answer instead of data.
- **Off for one person's app** — **Settings → AI apps** lists each member's apps with when they were first and last used. **Turn off** blocks that app for that member in this workspace; **Allow again** undoes it.
- **Only approved kinds of app** — in **Settings → AI apps**, under **Which AI apps may connect**, allow any AI app, or only the kinds you approve: Claude, ChatGPT, VS Code, apps on a member's computer, other web apps, and personal API tokens. Sofia Space warns how many members would be refused before you save.

Turning an app off takes effect within a minute; a change to the approved kinds within about 30 seconds. The full admin guide is [Approved AI apps](https://docs.sofiaspace.uz/admin/ai-app-policy.md).

## Troubleshooting

**The app says AI agents are turned off.**
A workspace admin has switched off **Settings → Advanced → Modules → AI agents**. Ask them to turn it on.

**The app says it isn't approved or is turned off for you.**
Your admin limited AI apps in **Settings → AI apps**. Ask them which apps are approved.

**The app can't connect or sign in.**
Check the address: it must be your workspace's own address (the one you open Sofia Space at) followed by `/mcp`, with `https`. Then remove and add the connector again.

**The app says it's sending too many requests.**
It reached 300 requests in a minute. Wait a minute and ask again, or ask for less at once.

**A change was refused.**
The app gets the reason — for example, the project's workflow doesn't allow that status change, or you don't have edit access to that page — and should tell you.
