Provides access to Tauri documentation from tauri.app, including tools for listing documentation sections, retrieving page content, searching by keywords, and accessing plugin documentation with real-time web scraping capabilities.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Tauri Docs MCP Servershow me how to set up a Tauri project with React"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
tauri-docs
Mastra MCP server providing access to Tauri documentation from tauri.app.
Production Deployments
Deployment | URL | Description |
Mastra Cloud | Primary choice - Zero cold start, maximum responsiveness, and consistently reliable performance. |
Append
/api/mcp/tauri-docs/ssefor the SSE transport (best for editors that keep long-lived connections).Append
/api/mcp/tauri-docs/mcpfor the HTTP transport (handy for CLIs and quick one-off calls).Mastra Cloud is the recommended primary deployment - it offers zero cold start and maximum responsiveness.
This repository contains a Mastra-based MCP server that provides access to Tauri documentation from tauri.app. Use it in your AI-powered code editor to get instant access to the latest Tauri documentation directly from the official Tauri documentation site.
π Features
β MCP server deployed on Mastra Cloud
β Four main MCP tools for documentation discovery, page retrieval, and search
β Advanced LRU caching with automatic eviction and size limits
β Request metrics and health monitoring
β TypeScript type safety with Zod schemas
β Resources API for static documentation metadata
β Guided prompts for common Tauri workflows
β Support for all major AI code editors (Cursor, Windsurf, VS Code, Zed, Claude Code, Codex)
β HTTP and SSE transport protocols
β Real-time web scraping from tauri.app
Editor Setup
Mastra Cloud is the recommended deployment for reliability and responsiveness.
Windsurf
Edit
~/.codeium/windsurf/mcp_config.json.Add the SSE transport:
Save, restart Windsurf, then open
mcp.jsonin Agent mode and click "start".
Zed
Open Zed settings (
Cmd/Ctrl+,).Edit
~/.config/zed/settings.jsonand add an entry undercontext_servers:
Save, restart Zed, and confirm the server shows a green indicator in the Agent panel.
Cursor
Open Cursor Settings (
Cmd/Ctrl+,).Navigate to "MCP" / "Model Context Protocol" and add a new server configuration.
Mastra Cloud β SSE example:
Mastra Cloud β HTTP example:
VS Code
VS Code users can open the Command Palette (Cmd/Ctrl+Shift+P) and run MCP: Add server to paste either URL.
CLI & Agent Configuration
The same base URLs work across CLIs. Mastra Cloud is the recommended primary deployment for the fastest responses with zero cold start.
Claude Code CLI (Anthropic)
Global settings (
~/.claude/settings.json):
Project-scoped override (
.mcp.json):
Enable project servers with:
Command palette alternative:
OpenAI Codex CLI
Register the Mastra Cloud endpoint for codex:
Gemini CLI (Google)
Create or edit
~/.gemini/settings.json:
Add a configuration:
Prefer the
npx mcp-remotecommand variant if your CLI version expects a command:
Verification & Quick Tests
claude mcp listcodex mcp listnpx mcp-remote https://tauri-docs.mastra.cloud/api/mcp/tauri-docs/mcpcurl -I https://tauri-docs.mastra.cloud/api/mcp/tauri-docs/mcpcurl -N https://tauri-docs.mastra.cloud/api/mcp/tauri-docs/sse
Claude Code may prompt for tool permissions β use /permissions or set allowedTools in ~/.claude.json. Editors that maintain long-lived connections should use the SSE URL; quick scripts can stick with HTTP.
Available Tools
Once installed, your AI assistant will have access to these tools (IDs exactly as exposed by the MCP server):
Core Tools
list_sectionsβ Parsehttps://tauri.app/llms.txtto list doc sectionsget_pageβ Fetch a Tauri doc page and return cleaned HTML contentsearchβ Keyword search across the llms.txt indexget_pluginβ Fetch plugin doc pages by name
Resources (NEW)
Static, auto-updating resources available via the MCP Resources API:
tauri://docs/structureβ Complete documentation structure from llms.txttauri://platformsβ Supported platforms (Windows, macOS, Linux, iOS, Android)tauri://metricsβ Real-time server metrics (requests, cache, health)
Prompts (NEW)
Guided workflows for common tasks:
getting-startedβ Step-by-step guide to create your first Tauri apptroubleshootingβ Common issues and debugging workflowsplugin-setupβ Guide to installing and configuring pluginsmigration-v1-to-v2β Guide for migrating from Tauri v1 to v2
Tool response formats (quick reference)
list_sections: List of documentation sections from llms.txt with total countget_page: Cleaned HTML documentation for a specific pagesearch: List of matching sections with relevance scores and total count
Example Usage
After installing the MCP server in your editor, you can ask your AI assistant:
"Show me the Tauri plugin documentation"
"Get the overview of Tauri APIs"
"List all sections in Tauri docs"
"Search for Tauri configuration options"
"What are the methods available in Tauri?"
"Find plugins related to web frameworks"
"Get documentation for the Tauri window API"
"Search for docs with 'security' in the name"
"Show me the Tauri CLI documentation"
Local Development
Want to run the MCP server locally or contribute to the project?
Quick start (development smoke-test)
Install dependencies (using your preferred package manager).
Run the development smoke-test (recommended):
License
This project is licensed under the MIT License - see the LICENSE file for details.
Contributing
We welcome contributions! Please read our Contributing Guidelines and Code of Conduct before getting started.
Contact
Issues & Support: GitHub Issues
Maintainer: Michael Obele
For more details:
Web scraping services: See
src/mastra/lib/for documentation fetching and parsing implementation