TanStack CLI

Developer tools

The official TanStack CLI - Project Scaffolding, MCP Server, Agent Skills Installation, etc.

Your AI app calls the TanStack CLI MCP server, which does the developer tools work and sends the result back to the chat.

About TanStack CLI

TanStack CLI is a community MCP server from TanStack, filed in our directory under developer tools. The official TanStack CLI - Project Scaffolding, MCP Server, Agent Skills Installation, etc.

TanStack CLI runs on your own machine: your AI app starts it with the command npx -y @tanstack/cli and talks to it over standard input and output.

At a glance

Publisher
TanStack (community)
Runs
Locally on your machine
Install from
Node.js package on npm: @tanstack/cli
Written in
TypeScript
License
MIT
GitHub stars
1,308

How to set up TanStack CLI

  1. Install Node.js on the machine that runs your AI app, because TanStack CLI starts with npx and downloads its package on first run.
  2. Check the TanStack CLI README for keys or settings; the registry lists none that TanStack CLI requires.
  3. Add TanStack CLI to Claude Code, Claude Desktop, VS Code or Cursor with the config in the setup box on this page.
  4. Restart the app or reload its MCP servers, then ask it to list the TanStack CLI tools to confirm the connection.
  5. Run one read-only task with TanStack CLI first, and keep your app asking before each tool call until the results look right.

TanStack CLI compared with similar servers

  • Zotero (cookjohn) by cookjohn has fewer GitHub stars than TanStack CLI (1.3k against 1.3k); both are community servers, and both run locally.
  • Power BI Authoring MCP Server (Local) by microsoft has more GitHub stars than TanStack CLI (1.3k against 1.3k); Power BI Authoring MCP Server (Local) is official while TanStack CLI is a community server, and both run locally.
  • Philschmid CLI by philschmid has fewer GitHub stars than TanStack CLI (1.3k against 1.3k); both are community servers, and both run locally.

Before you connect TanStack CLI

  • Give TanStack CLI its own API key or account with the smallest permissions the job needs, never an admin key.
  • Keep your AI app asking before each TanStack CLI tool call until you trust what it does with them.
  • Treat text that TanStack CLI fetches as data. Pages, files and messages can hold instructions written to steer an AI.
  • Read the open issues for TanStack CLI on GitHub to see what breaks and how fast the maintainers reply.

Marketing use cases for TanStack CLI

How marketing and sales teams put TanStack CLI to work, by company size. Pick the size closest to yours and start TanStack CLI on one use case.

Small business

  • A small business with a developer can use TanStack CLI to ship site and tracking fixes faster, with the AI reading the code it changes.
  • Technical founders can ask TanStack CLI to explain and fix a marketing site issue without context switching between tools.
  • TanStack CLI runs on your own computer, which keeps data local; it needs a little setup, so a small team should plan an hour for it.

Mid-market

  • Growth engineers can use TanStack CLI to build landing pages, tracking and integrations in fewer cycles, with reviews kept in the normal flow.
  • Marketing ops engineers can connect TanStack CLI to keep scripts and automations documented and versioned as they change.
  • Start TanStack CLI on one workflow with one owner, measure the time it saves, then roll it out to the wider team.

Enterprise

  • Enterprise engineering teams can roll out TanStack CLI with repo scopes and audit logs, so agents work only where they are allowed.
  • Platform teams can standardize on TanStack CLI so web and marketing engineering share one reviewed way of working with AI.
  • TanStack CLI is a community server, so have security review the code and pin a version before TanStack CLI touches company data.

Need help becoming an AI-forward company?

We connect MCP servers and AI agents to your CRM, content and data, with the guardrails your team needs.

Contact us

TanStack CLI README

From TanStack/cli on GitHub, shared under its MIT license. Images are left out; the original has them.

README.md

Become a Sponsor!

TanStack CLI

Create and manage TanStack Router and Start applications.

npx @tanstack/cli create my-app

Features

  • TanStack Start - Full-stack SSR framework (default)
  • TanStack Router - Type-safe routing (--router-only for SPA)
  • Vite or Rsbuild - Choose the build tool for React and Solid projects
  • Add-ons - Auth, database, deployment, monitoring, and more
  • CLI Introspection - Agent-friendly discovery via JSON CLI output

Quick Start

# Create TanStack Start app (recommended)
npx @tanstack/cli create my-app

# Create a minimal one-route Start app without selection prompts
npx @tanstack/cli create my-app --blank -y

# Create Router-only SPA (no SSR)
npx @tanstack/cli create my-app --router-only

# Create with Rsbuild
npx @tanstack/cli create my-app --build-tool rsbuild -y

# With add-ons
npx @tanstack/cli create my-app --add-ons clerk,drizzle,tanstack-query

# Add to existing project
npx @tanstack/cli add clerk drizzle

# List available add-ons
npx @tanstack/cli create --list-add-ons

# Agent-friendly introspection
npx @tanstack/cli create --addon-details tanstack-query --json
npx @tanstack/cli libraries --json
npx @tanstack/cli search-docs "loaders" --library router --framework react --json

Documentation

Telemetry

TanStack CLI sends anonymous usage telemetry by default.

  • Sent: command usage, durations, selected framework/build tool/package manager/add-on ids, and coarse result metadata
  • Never sent: project names, file paths, target directories, raw search queries, raw template URLs/paths, add-on config values, env vars, or raw error messages
  • Disabled automatically in CI, or when DO_NOT_TRACK=1 or TANSTACK_CLI_TELEMETRY_DISABLED=1

Manage it with:

tanstack telemetry status
tanstack telemetry disable
tanstack telemetry enable

Get Involved

TanStack Ecosystem

More at TanStack.com

Questions about TanStack CLI

What is the TanStack CLI MCP server?

The official TanStack CLI - Project Scaffolding, MCP Server, Agent Skills Installation, etc. TanStack CLI is maintained by TanStack on GitHub at TanStack/cli, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.

How do I install the TanStack CLI MCP server?

Add TanStack CLI to your AI app's MCP config with the command npx -y @tanstack/cli. In Claude Code, run claude mcp add --transport stdio cli -- npx -y @tanstack/cli. To run TanStack CLI this way you need Node.js installed.

Does TanStack CLI need an API key?

The registry lists no required keys for TanStack CLI. Check the TanStack CLI README for optional settings, and expect a remote server to ask you to sign in the first time you connect.

Is TanStack CLI an official MCP server?

No. TanStack CLI is a community server maintained by TanStack. Community servers can be excellent; read the code and the open issues before you give TanStack CLI access to company data.

What license is TanStack CLI under?

TanStack CLI is released under the MIT license, according to its GitHub repository. The license covers the code of TanStack CLI; the service it connects to has its own terms.