Skip to content

Latest commit

 

History

History
80 lines (60 loc) · 1.77 KB

File metadata and controls

80 lines (60 loc) · 1.77 KB
id mcp-overview
title MCP Server

The TanStack CLI includes a Model Context Protocol (MCP) server that enables AI assistants to:

  • Create TanStack Start projects with add-ons
  • Search and fetch TanStack documentation
  • Explore the TanStack ecosystem (partners, libraries)

Claude Desktop Setup

Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS):

{
  "mcpServers": {
    "tanstack": {
      "command": "npx",
      "args": ["@tanstack/cli", "mcp"]
    }
  }
}

Restart Claude Desktop. Then try:

"Create a TanStack Start project called 'my-app' with Clerk auth and Drizzle ORM"

Or:

"How do I use loaders in TanStack Router?"

OpenCode Desktop Setup

Add to your OpenCode JSON config file:

{
	"$schema": "https://opencode.ai/config.json",
	"mcp": {
      "tanstack": {
        "type": "local",
        "command": ["npx", "@tanstack/cli", "mcp"],
        "enabled": true
      },
  }
}

Manual Start

# Stdio (default, for MCP clients)
tanstack mcp

# HTTP/SSE
tanstack mcp --sse

Tools

Project Creation

Tool Description
listTanStackAddOns Get available add-ons for project creation
getAddOnDetails Get detailed info about a specific add-on
createTanStackApplication Create a new TanStack Start project

Documentation & Ecosystem

Tool Description
tanstack_list_libraries List TanStack libraries with metadata
tanstack_doc Fetch a documentation page by library and path
tanstack_search_docs Search documentation via Algolia
tanstack_ecosystem Browse ecosystem partners by category or library

See Tools Reference for parameters and examples.