Debug and analyze Nanostores apps with AI: scan stores, monitor runtime events, and search docs.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β we're steadily working through the catalog.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Inspect callable tools, capabilities, and parameters exposed to AI agents by Nanostores MCP.
nanostores_scan_projectScan project for all stores, subscribers, and dependencies
nanostores_store_summaryDetailed summary of a specific store
nanostores_project_outlineHigh-level overview: store kinds, top directories, hub stores
nanostores_store_subgraphBFS-expanded dependency neighborhood of a store
nanostores_store_impactDownstream causal chain β what recomputes/re-renders if X changes
nanostores_runtime_overviewOverall health report with statistics for all stores
Model Context Protocol server for Nanostores β analyze, debug and monitor your nanostores in AI assistants like Claude Desktop.
@nanostores/logger, performance metrics, activity trackingAsk your AI: "Analyze my store architecture" or "Which stores update most frequently?"
Made at Evil Martians, product consulting for developer tools.
Understand your nanostores architecture without running your app:
.subscribe() / .listen() calls and component bindings across React, Vue, Svelte, and Angular<script> and <script setup> blocks in .vue files (requires @vue/compiler-sfc)<script context="module"> and instance <script> blocks, auto-subscriptions ($storeName in templates), and filters out Svelte 5 runes ($state, $derived, $effect, etc.) so they are not mistaken for store references (requires svelte)@nanostores/angular NanostoresService constructor injections and detects this.nanostores.useStore(...) call patterns in TypeScript component filesReal-time insights into your running application:
@nanostores/loggerSearch and browse Nanostores documentation directly from your AI assistant:
nanostores in your node_modules automatically| Requirement | Version |
|---|---|
| Node.js | ^20.0.0 || >=22.0.0 |
Required peer dependency (for static analysis):
Optional peer dependencies β install only if you use the corresponding file format:
| Package | When needed |
|---|---|
@vue/compiler-sfc | Vue SFC (.vue) file scanning |
svelte | Svelte (.svelte) file scanning |
@nanostores/logger | Runtime monitoring (attachMcpLogger) |
Without these optional packages the server still works β it silently skips unsupported file types.
Or run directly without installation:
Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
Requires GitHub Copilot extension (VS Code 1.99+). Create .vscode/mcp.json in your project:
Tools are available in Copilot's Agent mode (select "Agent" in the Copilot Chat dropdown).
Create .cursor/mcp.json in your project root (or ~/.cursor/mcp.json for global):
Add to your Zed settings.json:
The server appears in Zed's Agent Panel settings.
Add to ~/.codeium/windsurf/mcp_config.json:
You can also open this file from the MCP icon in the Cascade panel β "Configure".
Add via CLI:
Or create .mcp.json in your project root (shared with the team):
| Variable | Default | Description |
|---|---|---|
NANOSTORES_MCP_ROOT | cwd | Project root path |
NANOSTORES_MCP_ROOTS | β | Platform-delimited roots (: on Unix, ; on Windows) for multi-project setup |
WORKSPACE_FOLDER | β | Alias for NANOSTORES_MCP_ROOT β set automatically by VS Code and some editors |
WORKSPACE_FOLDER_PATHS | β | Alias for NANOSTORES_MCP_ROOTS β set automatically by some editors |
NANOSTORES_MCP_LOGGER_ENABLED | true | Set to false or 0 to disable runtime event collection and the logger bridge |
NANOSTORES_MCP_LOGGER_PORT | 3999 | HTTP port for logger bridge |
NANOSTORES_MCP_LOGGER_HOST | 127.0.0.1 | Host to bind. Allowed values: 127.0.0.1, localhost, ::1 |
NANOSTORES_DOCS_ROOT | auto-detect | Path to documentation directory |
NANOSTORES_DOCS_PATTERNS | **/*.md | Comma-separated glob patterns for docs |
The server picks workspace roots in priority order:
NANOSTORES_MCP_ROOTS / NANOSTORES_MCP_ROOT / WORKSPACE_FOLDER_PATHS / WORKSPACE_FOLDERroots/list capability (set automatically by some editors)process.cwd() used as fallback when neither env nor client roots are configuredWhen a tool is called without an explicit projectRoot argument the server uses the first configured root. In a multi-root setup always pass projectRoot to avoid ambiguity.
Works out of the box β just point at your project and ask:
Auto-detected from nanostores in your node_modules:
Requires logger integration in your app. See Runtime Monitoring below.
Run these four tools in order to confirm everything is working:
Factual signals from GitHub, npm, and our automated checks β not a rating.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/nanostores-mcp)<a href="https://allmcps.com/mcp/nanostores-mcp"><img src="https://allmcps.com/api/badge/nanostores-mcp?style=directory" alt="Nanostores MCP on AllMCPs" /></a>