Sheaf и ИИ-агенты

Sheaf хранит заметки в обычном Markdown. Подключите ИИ-агента, и он сможет искать, читать и писать заметки в вашем облаке Sheaf. Вы сами выбираете, какие хранилища открыть и можно ли в них писать.

Адрес сервера

https://mcp.sheaf.im

Один адрес для всех программ. При подключении откроется страница, где вы входите в Sheaf и разрешаете доступ.

Как подключить

Claude

Веб, компьютер и телефон. Откроется окно добавления коннектора с готовым адресом, дальше войдите в Sheaf.

Claude Code

Выполните команду, затем в сессии наберите /mcp и войдите в Sheaf.

claude mcp add --transport http sheaf https://mcp.sheaf.im

ChatGPT

В вебе: Plugins → «+» → Add custom MCP server. Вставьте адрес сервера, авторизация — OAuth.

Codex

Команды для Codex CLI; вход в Sheaf откроется в браузере.

codex mcp add sheaf --url https://mcp.sheaf.im
codex mcp login sheaf

Gemini CLI

Добавьте сервер, затем в сессии выполните /mcp auth sheaf.

gemini mcp add --transport http sheaf https://mcp.sheaf.im

Antigravity

Файл mcp_config.json:

{
  "mcpServers": {
    "sheaf": {
      "serverUrl": "https://mcp.sheaf.im"
    }
  }
}

Windsurf

Settings → Tools → Windsurf Settings → Add Server, или файл mcp_config.json:

{
  "mcpServers": {
    "sheaf": {
      "serverUrl": "https://mcp.sheaf.im"
    }
  }
}

Zed

Файл настроек (zed: open settings file):

{
  "context_servers": {
    "sheaf": {
      "url": "https://mcp.sheaf.im"
    }
  }
}

Cline

Тип streamableHttp обязателен: без него Cline считает сервер устаревшим SSE.

{
  "mcpServers": {
    "sheaf": {
      "type": "streamableHttp",
      "url": "https://mcp.sheaf.im"
    }
  }
}

Claude Desktop

Без облака и входа: расширение работает с папкой заметок на этом компьютере.

npx

Локальный MCP для папки заметок. Подставьте путь к своей папке:

npx -y @sheaf/mcp /path/to/folder

API

Для скриптов и API нужен ключ доступа: Sheaf → Настройки → ИИ-агенты → Ключ доступа (начинается с shf_). Ключ показывается один раз.

Anthropic API

{
  "mcp_servers": [
    {
      "type": "url",
      "url": "https://mcp.sheaf.im",
      "name": "sheaf",
      "authorization_token": "shf_…"
    }
  ],
  "tools": [
    {
      "type": "mcp_toolset",
      "mcp_server_name": "sheaf"
    }
  ]
}
// header: anthropic-beta: mcp-client-2025-11-20

OpenAI Responses API

{
  "tools": [
    {
      "type": "mcp",
      "server_label": "sheaf",
      "server_url": "https://mcp.sheaf.im",
      "authorization": "shf_…",
      "require_approval": "never"
    }
  ]
}

xAI API

{
  "tools": [
    {
      "type": "mcp",
      "server_url": "https://mcp.sheaf.im",
      "server_label": "sheaf",
      "authorization": "shf_…"
    }
  ]
}

Что умеет

Права на запись можно не давать: тогда останется только чтение. Правки агента подписаны его именем, их можно откатить; удалённое попадает в корзину.

Приватность

Чтобы агент мог работать с заметками, сервер Sheaf Cloud расшифровывает заметки выбранных вами хранилищ для подключённого агента. Отключить агента можно в любой момент: Sheaf → Настройки → ИИ-агенты. Политика конфиденциальности.

English

Connect AI agents to Sheaf

Sheaf keeps your notes in plain Markdown. Connect an AI agent and it can search, read and write notes in your Sheaf Cloud. You choose which vaults it sees and whether it may write.

Server address

https://mcp.sheaf.im

One address for every app. Connecting opens a page where you sign in to Sheaf and allow access.

How to connect

Claude

Web, desktop and mobile. The add-connector dialog opens with the address filled in; then sign in to Sheaf.

Claude Code

Run the command, then type /mcp in a session and sign in to Sheaf.

claude mcp add --transport http sheaf https://mcp.sheaf.im

ChatGPT

On the web: Plugins → “+” → Add custom MCP server. Paste the server address; authorization is OAuth.

Codex

Commands for Codex CLI; the sign-in opens in your browser.

codex mcp add sheaf --url https://mcp.sheaf.im
codex mcp login sheaf

Gemini CLI

Add the server, then run /mcp auth sheaf in a session.

gemini mcp add --transport http sheaf https://mcp.sheaf.im

Antigravity

File mcp_config.json:

{
  "mcpServers": {
    "sheaf": {
      "serverUrl": "https://mcp.sheaf.im"
    }
  }
}

Cursor

The button opens Cursor and offers to add the server.

VS Code

The button opens VS Code. If your browser blocks vscode: links, the second button goes through vscode.dev.

Goose

The button opens Goose and adds the extension.

Windsurf

Settings → Tools → Windsurf Settings → Add Server, or the file mcp_config.json:

{
  "mcpServers": {
    "sheaf": {
      "serverUrl": "https://mcp.sheaf.im"
    }
  }
}

Zed

Settings file (zed: open settings file):

{
  "context_servers": {
    "sheaf": {
      "url": "https://mcp.sheaf.im"
    }
  }
}

Cline

The streamableHttp type is required: without it Cline assumes the old SSE.

{
  "mcpServers": {
    "sheaf": {
      "type": "streamableHttp",
      "url": "https://mcp.sheaf.im"
    }
  }
}

Claude Desktop

No cloud and no sign-in: the extension works with a notes folder on this computer.

npx

Local MCP for a notes folder. Put your folder’s path in:

npx -y @sheaf/mcp /path/to/folder

API

Scripts and APIs need an access key: Sheaf → Settings → AI agents → Access key (starts with shf_). It is shown once.

Anthropic API

{
  "mcp_servers": [
    {
      "type": "url",
      "url": "https://mcp.sheaf.im",
      "name": "sheaf",
      "authorization_token": "shf_…"
    }
  ],
  "tools": [
    {
      "type": "mcp_toolset",
      "mcp_server_name": "sheaf"
    }
  ]
}
// header: anthropic-beta: mcp-client-2025-11-20

OpenAI Responses API

{
  "tools": [
    {
      "type": "mcp",
      "server_label": "sheaf",
      "server_url": "https://mcp.sheaf.im",
      "authorization": "shf_…",
      "require_approval": "never"
    }
  ]
}

xAI API

{
  "tools": [
    {
      "type": "mcp",
      "server_url": "https://mcp.sheaf.im",
      "server_label": "sheaf",
      "authorization": "shf_…"
    }
  ]
}

What it can do

You can leave write access off and keep it read-only. An agent’s edits carry its name and can be undone; deleted notes go to the trash.

Privacy

For an agent to work with your notes, the Sheaf Cloud server decrypts the notes of the vaults you chose for the connected agent. You can disconnect an agent at any time: Sheaf → Settings → AI agents. Privacy policy.

Русский