mcpField
T
Tanstack Mcp

Tanstack Mcp

Local
github.com/gihanranganaAI & Agents1Updated 31w ago

About Tanstack Mcp

Tanstack Mcp is an MCP server for coding agents working with the TanStack ecosystem. It provides documentation search and retrieval, library discovery, and CLI-backed project scaffolding and configuration tools.

Key features

  1. 01Search official TanStack documentation
  2. 02Fetch full Markdown guides
  3. 03Discover libraries and ecosystem partners
  4. 04Scaffold TanStack Start projects
  5. 05Add-ons and version pinning

Use cases

  1. 01Look up TanStack APIs while coding
  2. 02Read a complete guide in an agent chat
  3. 03Start a TanStack Start project
  4. 04Add integrations or pin library versions

MCP support

Exposes TanStack documentation, discovery, and CLI operations as tools for MCP clients and AI assistants.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"tanstack": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"gihan92/tanstack-mcp:latest"
]
}
}
}
Run commanddocker run -i --rm gihan92/tanstack-mcp:latest

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
ocigihan92/tanstack-mcp:latest

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

TanStack MCP Server

🚀 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

ToolPurpose
search_tanstack_docsSearch the official TanStack documentation with query, library, and framework filters.
fetch_tanstack_docRetrieve the full Markdown content of a doc page (e.g., router, guide/file-based-routing).
list_tanstack_librariesDiscover all official TanStack libraries (Query, Router, Table, Form, etc.).
list_tanstack_ecosystemFind partners for hosting, auth, databases, and more.
create_tanstack_projectBootstrap a new TanStack Start project with custom add-on configs.
add_tanstack_addonInstall add-ons (Tailwind, Clerk, etc.) into an existing project.
pin_tanstack_versionsPin all TanStack library versions in your package.json for stability.

💻 Configuration

You can run the server using npx or Docker.

Method 1: NPX (Recommended)

Add this to your MCP settings file:

{
  "mcpServers": {
    "tanstack": {
      "command": "npx",
      "args": ["-y", "@gihan92/tanstack-mcp"]
    }

  }
}
Method 2: Docker

Requirements: Docker Desktop must be running.

{
  "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:

    git clone https://github.com/your-username/tanstack-mcp.git
    cd tanstack-mcp
    
  2. Install dependencies:

    pnpm install
    
  3. Run in development mode:

    pnpm dev
    
  4. Build for production:

    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

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.