Позволяет AI-клиенту находить и запрашивать данные из сохраненного снимка официальной документации Tauri 2.
Также известен как fxckcode/tauri-docs-mcp, tauri-docs-mcp
- Звёзды
- 1
- Инструменты
- —
- Загрузки, 30 дней
- —
- Последняя версия
- 0.2.0
- Последний коммит
- 12 сент. 2026 г.
- Лицензия
- MIT
Что такое Tauri Documentation MCP?
Tauri Documentation — это MCP server. Позволяет AI-клиенту находить и запрашивать данные из сохраненного снимка официальной документации Tauri 2.
Сводка сгенерирована из README проекта
О Tauri Documentation MCP server
Разработчики, создающие приложения на Tauri, могут получать доступ к официальной документации напрямую через свой AI-клиент. Этот MCP server предоставляет интерфейс только для чтения к сохраненному снимку документации Tauri 2, что гарантирует точность и соответствие версии предоставляемой модели информации. Он работает через stdio и не требует HTTP-слушателя или внешних API ключей, что делает его легковесным дополнением к локальным средам разработки.
Пользователи взаимодействуют с сервером с помощью двух основных инструментов: resolve_tauri_docs и query_tauri_docs. Инструмент разрешения позволяет выбирать конкретные версии, такие как tauri@2, или неизменяемый ID снимка, в то время как инструмент запроса выполняет поиск по корпусу документации, используя до 16 терминов. Поскольку сервер полагается на локальный, предварительно загруженный корпус, а не на поиск в веб-сети в реальном времени, он остается детерминированным и безопасным. Он предназначен для использования с такими клиентами, как Claude Desktop, Cursor или VS Code через стандартную конфигурацию.
Что вы можете с ним делать
- 1Проверка специфики версии TauriПопросите AI определить точную версию и ревизию источника используемого снимка документации.
- 2Получение фрагментов документацииЗапрашивайте краткие выдержки из официальных руководств Tauri 2 для помощи в написании кода.
Взято из README проекта. Каждый вариант использования проверен на соответствие цитате из него.
Как установить Tauri Documentation MCP
Форматы проверены 10 ноя 2026Добавить в CursorДобавить в GooseУстановка Tauri Documentation MCP в Claude Code
$ claude mcp add tauri-docs-mcp -- npx -y tauri-docs-mcpУстановка Tauri Documentation MCP в Cursor
~/.cursor/mcp.json
{
"mcpServers": {
"tauri-docs-mcp": {
"command": "npx",
"args": [
"-y",
"tauri-docs-mcp"
]
}
}
}Установка Tauri Documentation MCP в VS Code
.vscode/mcp.json
{
"servers": {
"tauri-docs-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"tauri-docs-mcp"
]
}
}
}Установка Tauri Documentation MCP в VS Code CLI
$ code --add-mcp '{"name":"tauri-docs-mcp","type":"stdio","command":"npx","args":["-y","tauri-docs-mcp"]}'Установка Tauri Documentation MCP в Claude Desktop
claude_desktop_config.json
{
"mcpServers": {
"tauri-docs-mcp": {
"command": "npx",
"args": [
"-y",
"tauri-docs-mcp"
]
}
}
}Установка Tauri Documentation MCP в Codex
$ codex mcp add tauri-docs-mcp -- npx -y tauri-docs-mcpУстановка Tauri Documentation MCP в Codex config.toml
~/.codex/config.toml
[mcp_servers.tauri-docs-mcp] command = "npx" args = ["-y", "tauri-docs-mcp"]
Установка Tauri Documentation MCP в Gemini CLI
$ gemini mcp add -s user tauri-docs-mcp npx -- -y tauri-docs-mcpУстановка Tauri Documentation MCP в Gemini settings.json
~/.gemini/settings.json
{
"mcpServers": {
"tauri-docs-mcp": {
"command": "npx",
"args": [
"-y",
"tauri-docs-mcp"
]
}
}
}Автоматические проверки
Запущено 15 нояб. 2026 г.Полный отчёт →Прошло наши автоматизированные проверки. Это не аудит безопасности: изучите код и предоставьте серверу минимально необходимый доступ. Как работают проверки
- Связанный и доступный исходный репозиторийfxckcode/tauri-docs-mcp is public and reachablegithub.com/fxckcode/tauri-docs-mcp ↗Пройдено
- Пакет указывает этот репозиторий как источникtauri-docs-mcp names fxckcode/tauri-docs-mcp as sourcenpmjs.com/package/tauri-docs-mcp ↗Пройдено
- Происхождение сборки (аттестация Sigstore)Sigstore attestation for tauri-docs-mcpnpmjs.com/package/tauri-docs-mcp/v/0.2.0#provenance ↗Пройдено
- Open source лицензия (OSI)MITspdx.org/licenses/MIT.html ↗Пройдено
- Коммит или релиз за последний годLast commit or release 2026-09-12github.com/fxckcode/tauri-docs-mcp ↗Пройдено
- OpenSSF ScorecardНе проверялось
- Имя пакета не похоже на популярный пакетNo popular package one edit away from tauri-docs-mcpПройдено
- Нет критических предупреждений в пакете или его зависимостях99 resolved dependencies checked; no critical advisoryosv.dev ↗Пройдено
- Нет скрытых инструкций для модели0 tool descriptions and the README read; no override phrases, credential paths or hidden charactersПройдено
- Деструктивные инструменты помеченыНе проверялось
- Удалённая конечная точка отвечает на рукопожатие MCPНе проверялось
README
Открыть на GitHubtauri-docs-mcp
A read-only Model Context Protocol (MCP) server for resolving and querying a checked-in snapshot of official Tauri 2 documentation.
Requirements
- Node.js 20.19 or newer (supported Node LTS)
- npm 10 or newer
The committed package-lock.json is authoritative. Use npm install for
local development and dependency changes; CI and reproducible installs use
npm ci. Lockfile changes must be committed with dependency changes.
Install and run
Install the published package:
npm install --global tauri-docs-mcp
Or install it in a project and invoke the binary from node_modules/.bin:
npm install tauri-docs-mcp
npx tauri-docs-mcp
Build from a checkout, then run the compiled stdio server:
npm install
npm run build
node dist/src/index.js
Configure an MCP client to launch the installed binary over stdio:
{
"mcpServers": {
"tauri-docs": {
"command": "tauri-docs-mcp"
}
}
}
Portable configurations for generic MCP clients, Claude Desktop, Cursor, and
VS Code are in examples/mcp/. They pin the package version
and use stdio only. Installable agent guidance is in
skills/tauri-docs-mcp/SKILL.md.
The server writes MCP JSON-RPC messages only to stdout. It does not start an
HTTP listener. Diagnostics are disabled by default; opt in with
TAURI_DOCS_MCP_DIAGNOSTICS=1 and they are written to stderr as event names
only (never request arguments, corpus content, secrets, or PII).
Tool contract
The server exposes two stable tools and one backwards-compatible legacy tool.
resolve_tauri_docs
Resolve the default snapshot or an explicit identifier:
{}
{ "identifier": "tauri@2" }
Supported identifiers are tauri, tauri@2, and the immutable snapshot ID
tauri-2@58194ceb69424c4332b2780b196ced3a6fffb32b. Resolution is deterministic
and returns snapshot, source revision, generated-at, version, and entry-count
metadata. Unsupported identifiers return UNSUPPORTED_SNAPSHOT.
query_tauri_docs
Query content from the default or selected snapshot:
{ "query": "capabilities", "snapshot": "tauri@2", "limit": 3 }
query is required and must contain 1–200 non-whitespace characters and at
most 16 whitespace-separated terms. snapshot is optional and accepts the
resolver identifiers. limit is an optional integer from 1–10 (default 5).
Results are bounded, deterministic,
and include title, heading, section, canonical URL, content, corpus snapshot,
source revision, Tauri version, and versionSensitive. Empty matches return
results: [], not an application error. Inputs reject unknown fields.
Both tools are read-only and idempotent. They read only the checked-in corpus; there is no live fetching or arbitrary URL access.
Resource and lifecycle bounds
The shared tool contract enforces a 200-character query, 16 terms, 10 results, 1,200-character snippets, 8 KiB corpus entries, and 32 KiB serialized tool responses. The stdio frame buffer is capped at 64 KiB. EOF, transport errors, SIGINT, and SIGTERM share an idempotent shutdown path with a one-second cleanup bound; in-flight work is allowed to settle or is abandoned at that bound.
search_tauri_docs (compatibility)
Existing clients can continue to call:
{ "query": "capabilities", "limit": 3 }
It remains supported with its existing response shape and limits. New clients
should use resolve_tauri_docs followed by query_tauri_docs.
Application errors are returned with stable discriminated codes such as
INVALID_INPUT, INVALID_QUERY, INVALID_LIMIT, and
UNSUPPORTED_SNAPSHOT; protocol errors remain MCP protocol errors.
Product boundary
This package is intentionally:
- read-only;
- stdio-only;
- limited to its checked-in corpus; and
- constrained to official Tauri 2 sources under
https://v2.tauri.app/.
It never fetches user-controlled URLs, writes files, executes arbitrary code, controls a Tauri runtime, provides hosted HTTP, authenticates users, or emits telemetry. See docs/architecture.md for the module seams.
Development commands
npm install # install from package-lock.json
npm run typecheck # TypeScript validation
npm run build # compile runtime files to dist/
npm test # run the full Vitest suite
npm run lint # ESLint
npm run format # format tracked source and documentation
npm run format:check # verify formatting without writing
npm pack --dry-run # inspect the publish allowlist
npm run package:smoke -- /path/to/tauri-docs-mcp-0.1.0.tgz # test a packed install
The pull-request workflow runs the same commands from a clean checkout. To reproduce its package step locally, create a tarball and pass its path to the smoke test:
mkdir -p .tmp/package
TARBALL=$(npm pack --json --pack-destination .tmp/package | node -e "let s=''; process.stdin.on('data', d => s += d).on('end', () => process.stdout.write(JSON.parse(s)[0].filename))")
npm run package:smoke -- ".tmp/package/$TARBALL"
rm -rf .tmp
See CONTRIBUTING.md for contribution rules and SUPPORT.md for supported use cases. Report vulnerabilities privately as described in SECURITY.md.
Releases and registry
The release workflow runs from a version tag and checks package, immutable corpus metadata, registry metadata, and the pack allowlist before publishing. npm publishing uses provenance/trusted publishing where enabled, then runs a fresh published-package smoke gate. Official MCP Registry publication is a separately protected environment chained after the successful npm job. No release is published from pull requests. See CHANGELOG.md for the release and MCP contract-change process.
Corpus maintenance
The runtime reads only the checked-in generated snapshot under corpus/; it
never fetches documentation URLs. The approved manifest records canonical URLs,
section hierarchy, Tauri version, source revision/freshness metadata, and a
SHA-256 hash for each concise excerpt. The source revision is immutable, so a
future snapshot must use a new tauri-2@<revision> directory.
After an approved source review, regenerate and validate deterministically:
npm run ingest:docs
npm run validate:corpus
validate:corpus fails if the manifest is unsafe or incomplete, if content
hashes drift, or if the generated artifact differs from its manifest. Source
and license attribution is preserved in corpus/NOTICES.md.
Sources
Вопросы о Tauri Documentation MCP
Как добавить Tauri Documentation MCP в Claude Code?
Выполните claude mcp add tauri-docs-mcp -- npx -y tauri-docs-mcp в терминале. Добавьте --scope user, чтобы сервер был доступен во всех проектах.
Как добавить Tauri Documentation MCP в Cursor?
Откройте ~/.cursor/mcp.json и добавьте сервер в mcpServers, используя конфигурацию Cursor из раздела установки выше.
Какие инструменты предоставляет сервер?
Сервер предоставляет инструменты resolve_tauri_docs, query_tauri_docs и устаревший инструмент search_tauri_docs.
Загружает ли сервер документацию из интернета в реальном времени?
Нет, сервер работает только в режиме чтения и обращается к своему локальному корпусу данных без загрузки из сети или доступа к произвольным URL.
Как включить диагностику?
Вы можете включить диагностику, установив переменную окружения TAURI_DOCS_MCP_DIAGNOSTICS в значение 1.