Skip to main content

MCP server for Yandex Wiki

Project description

yandex-wiki-mcp

MCP server для работы с Яндекс Wiki через Claude Code и другие MCP-клиенты.

Инструменты

Инструмент Описание
wiki_get_page Получить страницу по slug (с контентом)
wiki_get_page_by_id Получить страницу по числовому ID
wiki_get_descendants Получить дерево подстраниц по slug
wiki_get_descendants_by_id Получить дерево подстраниц по ID
wiki_create_page Создать новую страницу
wiki_update_page Обновить заголовок и/или контент страницы
wiki_append_to_page Добавить текст в конец страницы
wiki_delete_page Удалить страницу
wiki_get_comments Получить комментарии страницы
wiki_add_comment Добавить комментарий
wiki_get_attachments Получить список вложений
wiki_get_current_user Информация о текущем пользователе

Установка через uvx

{
  "mcpServers": {
    "yandex-wiki": {
      "command": "uvx",
      "args": ["--python", "3.12", "yandex-wiki-mcp-server@latest"],
      "env": {
        "WIKI_IAM_TOKEN": "your-iam-token",
        "WIKI_CLOUD_ORG_ID": "your-cloud-org-id"
      }
    }
  }
}

Если у вас уже настроен Яндекс Трекер MCP — можно переиспользовать те же переменные:

{
  "mcpServers": {
    "yandex-wiki": {
      "command": "uvx",
      "args": ["--python", "3.12", "yandex-wiki-mcp-server@latest"],
      "env": {
        "TRACKER_IAM_TOKEN": "your-iam-token",
        "TRACKER_CLOUD_ORG_ID": "your-cloud-org-id"
      }
    }
  }
}

Сервер принимает оба набора переменных (WIKI_* приоритетнее, TRACKER_* как запасной вариант).

Аутентификация

Используется IAM-токен Яндекс Cloud. Получить токен:

yc iam create-token

IAM-токен действует до 12 часов. Для автообновления используйте yt-refresh скилл в Claude Code.

Обязательные переменные окружения:

Переменная Описание
WIKI_IAM_TOKEN или TRACKER_IAM_TOKEN IAM-токен Яндекс Cloud
WIKI_CLOUD_ORG_ID или TRACKER_CLOUD_ORG_ID ID организации Yandex Cloud (X-Cloud-Org-Id)

Добавление в Claude Code

claude mcp add yandex-wiki --scope user \
  -- uvx --python 3.12 yandex-wiki-mcp-server@latest

Затем добавьте env-переменные в ~/.claude.json в секцию mcpServers.yandex-wiki.env.

Локальная разработка

git clone https://github.com/MoshkaBortmanStar/yandex-wiki-mcp.git
cd yandex-wiki-mcp
uv venv && uv pip install -e .

export TRACKER_IAM_TOKEN=$(yc iam create-token)
export TRACKER_CLOUD_ORG_ID=your-org-id

python -m yandex_wiki_mcp

Требования

  • Python >= 3.10
  • mcp >= 1.0.0
  • httpx >= 0.27.0

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

yandex_wiki_mcp_server-0.1.0.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

yandex_wiki_mcp_server-0.1.0-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

Details for the file yandex_wiki_mcp_server-0.1.0.tar.gz.

File metadata

  • Download URL: yandex_wiki_mcp_server-0.1.0.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.12 {"installer":{"name":"uv","version":"0.10.12","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for yandex_wiki_mcp_server-0.1.0.tar.gz
Algorithm Hash digest
SHA256 79ec476198a7b94d055b9b31a5f291d75f982dee2899a6c4780cd3b9456c8b9a
MD5 f931732bc99410b1735dd9193154ccc8
BLAKE2b-256 46f151ad6bf38b37d85177e9df796b88278bb316a2b7e346881d84ca95aa4692

See more details on using hashes here.

File details

Details for the file yandex_wiki_mcp_server-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: yandex_wiki_mcp_server-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.12 {"installer":{"name":"uv","version":"0.10.12","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for yandex_wiki_mcp_server-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bd5ee64d1c69c7236b089eb0017675fe10eabf0b36d1d54514ef762bf14e3b8f
MD5 d3147058e1c949164dc8cfe005ce4001
BLAKE2b-256 46256bdb54bb7dfa8e1552865e0c366ef38378483ca4ff149965ab8e9ad59497

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page