@dimassetoid/strata-mcp · v0.12.1
Structural frontend context for AI coding agents.
Strata indexes Vue, Nuxt, React, Next.js, Svelte, and Astro projects into a local SQLite graph backed by the TypeScript Language Service. AI coding agents inspect routes, component contracts, references, and state flow without reading entire files.
What Strata Does
Five focused MCP tools (plus matching CLI commands) that run 100% locally. Static analysis inspects your source files and TypeScript types without running your app.
Map Workspace & Routes
List packages, frameworks, page/API routes, files, and unused component candidates without reading file bodies.
map_workspaceInspect File Contracts
Read symbol outlines, TypeScript-resolved props, emits, slots, rendered children, and outbound HTTP calls in one call.
inspect_fileQuery References & Impact
Jump to definitions, find references, trace component trees, follow state readers/writers, and estimate refactor impact across packages.
query_graphSearch & Read Targeted Slices
Search symbols, component usages, or prop usages in-process, then read only the exact lines or SFC block you need with stale-file checks.
search_code · read_sliceSupported Frameworks
Works across single-repo apps, fullstack projects, monoliths, and monorepos.
Props, emits, defineModel, slots, Pinia stores, Nuxt pages/layers, server/api routes, and auto-imports.
Function/class components, hooks, Context, Zustand, App & Pages Router, and API routes.
Svelte 5 runes ($state, $props, $derived), Svelte 4 stores, and SvelteKit page/server routes.
Frontmatter props, slots, component imports, client:* island directives, and file-based routes.
Installation
Install via Bun/npm or as a standalone binary, then run strata init in your project root.
bun add -g @dimassetoid/strata-mcpcurl -fsSL https://raw.githubusercontent.com/Shironim/strata-mcp/master/scripts/install.sh | bashirm https://raw.githubusercontent.com/Shironim/strata-mcp/master/scripts/install.ps1 | iex{
"mcpServers": {
"strata": {
"command": "strata",
"args": ["serve"]
}
}
}