T
Tanstack Start Dev Tool MCP
by @mantrakp04
MCP server by mantrakp04
Created 4/30/2026
Updated about 8 hours ago
README
Repository documentation and setup instructions
TanStack Start Devtools MCP
Local development bridge between TanStack Devtools and MCP-capable coding agents.
This repo is clone-and-use local tooling, not an npm-published package. See INSTALL.md for setup instructions and an agent install prompt.
Packages
@barreloflube/tanstack-start-dev-tool-mcp-shared: shared browser/server protocol schemas.@barreloflube/tanstack-start-dev-tool-mcp-react: React panel for@tanstack/react-devtools.@barreloflube/tanstack-start-dev-tool-mcp-server: MCP server plus local WebSocket bridge.
Development
pnpm install
pnpm dev:mcp
pnpm dev:mcp uses tsx watch, so edits to the MCP server restart the process automatically.
Environment
TANSTACK_AGENT_DEVTOOLS_PORT: bridge port, defaults to8129.TANSTACK_AGENT_DEVTOOLS_HOST: bridge host, defaults to127.0.0.1.TANSTACK_AGENT_DEVTOOLS_TOKEN: shared browser/server token, defaults totanstack-agent-devtools-local.
MCP Client Config
For stdio-based clients:
{
"mcpServers": {
"tanstack-start-devtools": {
"command": "/Users/barreloflube/Desktop/tanstack-start-dev-tool-mcp/node_modules/.bin/tsx",
"args": [
"/Users/barreloflube/Desktop/tanstack-start-dev-tool-mcp/packages/mcp-server/src/cli.ts"
],
"env": {
"TANSTACK_AGENT_DEVTOOLS_TOKEN": "tanstack-agent-devtools-local"
}
}
}
}
For stdio clients, launch tsx directly instead of pnpm mcp; package-manager lifecycle banners can corrupt the MCP JSON-RPC stream.
Codex launches its own MCP process. Stop pnpm dev:mcp before restarting Codex unless you are intentionally testing the watched development server.
Prompts used to build this
- “i want to make a mcp server that allows the tanstack start dev tool's access to the agent. how should we go around making it”
- “i want a sep personal repo for this.”
- “you can make the sep repo in the Desktop/tanstack-start-dev-tool-mcp folder and work in there, import it here and start the mcp server test it, dont stop until it works, also support hmr for the mcp server so you can itereate quickly.”
Quick Setup
Installation guide for this server
Install Package (if required)
npx @modelcontextprotocol/server-tanstack-start-dev-tool-mcp
Cursor configuration (mcp.json)
{
"mcpServers": {
"mantrakp04-tanstack-start-dev-tool-mcp": {
"command": "npx",
"args": [
"mantrakp04-tanstack-start-dev-tool-mcp"
]
}
}
}