Tanstack Mcp

by gihanrangana

377 downloads Not rated yet
GitHub

About

This Model Context Protocol (MCP) server brings the full power of the TanStack CLI directly into your AI assistant (Claude, Cursor, etc.). It enables your AI to search official documentation, discover libraries, fetch guides, and scaffold new projects—all without leaving the chat

Explore

- Keyless Doc Search: Search the official TanStack documentation (Algolia backend) without needing any API keys.
- Full-Text Guides: Fetch real-time Markdown content for any page in the ecosystem.
- Project Scaffolding: Create new TanStack Start applications with AI-assisted commands.
- Ecosystem Discovery: List 16+ libraries, ecosystem partners (hosting, auth, DB), and version info.
- CLI Power: Direct access to scaffolding, add-ons, and version pinning tools.

---

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Tanstack Mcp
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Requirements: Docker Desktop must be running in the background.

Add the following to your MCP settings file (Claude Desktop, Cursor, Cline, etc.):

``json
{
"mcpServers": {
"tanstack": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"gihan92/tanstack-mcp:latest"
]
}
}
}
``

---

search_tanstack_docs

Search the official TanStack documentation with query, library, and framework filters.

fetch_tanstack_doc

Retrieve the full Markdown content of a doc page (e.g., `router`, `guide/file-based-routing`).

list_tanstack_libraries

Discover all official TanStack libraries (Query, Router, Table, Form, etc.).

list_tanstack_ecosystem

Find partners for hosting, auth, databases, and more.

create_tanstack_project

Bootstrap a new TanStack Start project with custom add-on configs.

add_tanstack_addon

Install add-ons (Tailwind, Clerk, etc.) into an existing project.

pin_tanstack_versions

Pin all TanStack library versions in your `package.json` for stability.

| Tool | Purpose |
| :--- | :--- |
| search_tanstack_docs | Search the official TanStack documentation with query, library, and framework filters. |
| fetch_tanstack_doc | Retrieve the full Markdown content of a doc page (e.g., router, guide/file-based-routing). |
| list_tanstack_libraries | Discover all official TanStack libraries (Query, Router, Table, Form, etc.). |
| list_tanstack_ecosystem | Find partners for hosting, auth, databases, and more. |
| create_tanstack_project | Bootstrap a new TanStack Start project with custom add-on configs. |
| add_tanstack_addon | Install add-ons (Tailwind, Clerk, etc.) into an existing project. |
| pin_tanstack_versions | Pin all TanStack library versions in your package.json for stability. |

---

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "tanstack mcp": {
            "tanstack": {
                "command": "docker",
                "args": [
                    "run",
                    "-i",
                    "--rm",
                    "gihan92/tanstack-mcp:latest"
                ]
            }
        }
    }
}

McpServers

{
    "tanstack": {
        "command": "docker",
        "args": [
            "run",
            "-i",
            "--rm",
            "gihan92/tanstack-mcp:latest"
        ]
    }
}
🚀 The ultimate bridge between AI coding agents and the TanStack ecosystem. An official-grade Model Context Protocol (MCP) server that brings the full power of the TanStack CLI directly into your AI assistant. It enables your AI to search official documentation, discover libraries, fetch guides, and scaffold new projects—all without leaving the chat. ---

🌟 Key Features

- Keyless Doc Search: Search the official TanStack documentation (Algolia backend) without needing any API keys. - Full-Text Guides: Fetch real-time Markdown content for any page in the ecosystem. - Project Scaffolding: Create new TanStack Start applications with AI-assisted commands. - Ecosystem Discovery: List 16+ libraries, ecosystem partners (hosting, auth, DB), and version info. - CLI Power: Direct access to scaffolding, add-ons, and version pinning tools. ---

🛠️ Tools Reference

| Tool | Purpose | | :--- | :--- | | search_tanstack_docs | Search the official TanStack documentation with query, library, and framework filters. | | fetch_tanstack_doc | Retrieve the full Markdown content of a doc page (e.g., router, guide/file-based-routing). | | list_tanstack_libraries | Discover all official TanStack libraries (Query, Router, Table, Form, etc.). | | list_tanstack_ecosystem | Find partners for hosting, auth, databases, and more. | | create_tanstack_project | Bootstrap a new TanStack Start project with custom add-on configs. | | add_tanstack_addon | Install add-ons (Tailwind, Clerk, etc.) into an existing project. | | pin_tanstack_versions | Pin all TanStack library versions in your package.json for stability. | ---

💻 Configuration

Requirements: Docker Desktop must be running in the background. Add the following to your MCP settings file (Claude Desktop, Cursor, Cline, etc.): ``json { "mcpServers": { "tanstack": { "command": "docker", "args": [ "run", "-i", "--rm", "gihan92/tanstack-mcp:latest" ] } } } ` ---

🚀 Local Development

To contribute or test the server locally: 1. Clone the repository:
`bash git clone https://github.com/your-username/tanstack-mcp.git cd tanstack-mcp ` 2. Install dependencies: `bash pnpm install ` 3. Run in development mode: `bash pnpm dev ` 4. Build for production: `bash pnpm build ` ---

📝 Credits & License

This server is a wrapper around the official
@tanstack/cli`. All documentation and library data are property of TanStack. Author: gihan92
No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.