Nanostores MCP Server

MCP server for Nano Stores: devtools, migration helpers, logger integration

Local serverstdioTypeScript

What is the Nanostores MCP MCP server?

MCP server for Nano Stores: devtools, migration helpers, logger integration. That is what the nanostores mcp mcp server brings to an AI assistant: the same capability, reachable through the Model Context Protocol rather than a separate app or dashboard.

The short version

Ask your AI: "Analyze my store architecture" or "Which stores update most frequently?"

The tools it exposes

The server publishes 14 tools. What each one is for:

  • nanostores_scan_project — Scan project for all stores, subscribers, and dependencies
  • nanostores_store_summary — Detailed summary of a specific store
  • nanostores_project_outline — High-level overview: store kinds, top directories, hub stores
  • nanostores_store_subgraph — BFS-expanded dependency neighborhood of a store
  • nanostores_store_impact — Downstream causal chain — what recomputes/re-renders if X changes
  • nanostores_runtime_overview — Overall health report with statistics for all stores
  • nanostores_store_activity — Activity timeline for a specific store (filterable by kind/action)
  • nanostores_find_noisy_stores — Identify stores with high change frequency or error rates
  • nanostores_runtime_coverage — Compare static graph with runtime events to find coverage gaps
  • nanostores_docs_search — Search docs by query (full-text), storeKind (atom, map, computed, persistentAtom, etc.), or both. Optional: limit (default 10), tags
  • nanostores_ping — Server health check and logger bridge status
  • nanostores_clear_cache — Clear project index cache to force rescan

Getting it running

Installation goes through your MCP client rather than a global install: point it at nanostores-mcp on npm and it is fetched when the client starts. The copy-paste blocks for Claude Desktop, Claude Code and Cursor are further down this page.

What it needs from you

Configuration is passed through the environment: NANOSTORES_MCP_ROOT, NANOSTORES_MCP_LOGGER_HOST. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.

| 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 | |

How it compares

Plenty of developer tooling servers cover similar ground. The differences that matter in practice are scope of access and how much setup stands between you and a working tool call. Nanostores MCP's toolset — nanostores_scan_project, nanostores_store_summary, nanostores_project_outline and 11 more — is a fair guide to whether it matches your workflow. It is maintained by valyay; worth a glance at recent repository activity before you build anything load-bearing on it.

SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.

Things to watch

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • With 14 tools registered it takes up a noticeable share of the context window; turn it off in projects that never touch Nanostores MCP.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

Available tools

ToolWhat it does
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
nanostores_store_activityActivity timeline for a specific store (filterable by kind/action)
nanostores_find_noisy_storesIdentify stores with high change frequency or error rates
nanostores_runtime_coverageCompare static graph with runtime events to find coverage gaps
nanostores_docs_searchSearch docs by query (full-text), storeKind (atom, map, computed, persistentAtom, etc.), or both. Optional: limit (default 10), tags
nanostores_pingServer health check and logger bridge status
nanostores_clear_cacheClear project index cache to force rescan
CursorCreate .cursor/mcp.json in your project root (or ~/.cursor/mcp.json for global):
WindsurfYou can also open this file from the MCP icon in the Cascade panel → "Configure".

How to install the Nanostores MCP MCP server

{
	"mcpServers": {
		"nanostores": {
			"command": "npx",
			"args": ["-y", "nanostores-mcp"],
			"env": {
				"NANOSTORES_MCP_ROOT": "/path/to/your/project"
			}
		}
	}
}

Configuration as documented by the project. Restart the client after saving.

Configuration

| 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 | |

VariableDescriptionRequired
NANOSTORES_MCP_ROOTConfiguration value read at startup.Optional
NANOSTORES_MCP_LOGGER_HOSTEndpoint or connection string the server talks to.Optional

Example prompts to try

  • Use Nanostores MCP to nanostores scan project.
  • Use Nanostores MCP to nanostores store summary.
  • Use Nanostores MCP to nanostores project outline.

Frequently asked questions

It connects Nanostores MCP to MCP-compatible AI assistants such as Claude and Cursor, exposing 14 tools (nanostores_scan_project, nanostores_store_summary, nanostores_project_outline, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Nanostores MCP directly.