Model Context Protocol server for Nanostores that enables AI assistants (e.g., Claude Desktop) to analyze, debug, and monitor Nanostores state management. Current stable version is 0.1.2 (beta). Release cadence is irregular; tool is actively developed. Key differentiators: zero-config setup, AST-based static analysis (dependency graphs, store inspection), runtime monitoring via @nanostores/logger integration, framework-agnostic support (React, Vue, Svelte, Angular, Solid, Preact, Lit), and built-in documentation search. Requires Node.js ^20.0.0 || >=22.0.0.
npm install nanostores-mcpNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Starts the Nano Stores MCP server programmatically with optional runtime monitoring. Shows default config and tool usage.
Upgrade Node.js to v20 LTS or v22+.
Install and configure @nanostores/logger in your application, e.g., import { logger } from '@nanostores/logger' and wrap your stores.Install the relevant peer dependency: npm install svelte or @vue/compiler-sfc.
Update calls from analyzeProject(path) to analyzeProject(projectRoot, { ... }) or use single argument for default.Pass { transport: 'http', port: 8080 } to startMCP or use the CLI flags --http-port in npx.Run: npm install nanostores-mcp. Then use ESM import syntax.
Update to @vue/compiler-sfc@^3.0.0: npm install @vue/compiler-sfc@latest
Verify that your project has .js/.ts/.vue/.svelte files importing from 'nanostores'. You can pass explicit project root path.
Specify a different port: startMCP({ monitoring: { port: 3002 } })