strata-mcp
Provides structural AST search, component usage analysis, route topology discovery, and Astro island hydration directive detection across .astro files.
Discovers file-based route topology, nested layouts, dynamic parameters, and API handlers for Inertia.js applications.
Enables AST-based code search, component tree mapping, route topology discovery, and state impact tracing across Next.js applications.
Supports structural search, component adoption audits, route scanning, and state impact analysis for Nuxt 3 apps using Vue SFC-aware AST parsing.
Provides AST-powered structural code search, component hierarchy trees, blast radius analysis, and state store consumption tracing across React/JSX/TSX codebases.
Traces components, layout wrappers, and pages that consume Redux state stores for state impact and dependency analysis.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Strata
Frontend Structural Analysis & Component Graph Engine for AI Coding Agents.
Strata provides fast structural code search, component dependency graphs, and route mapping for modern frontend applications: Vue, Nuxt, React, Next.js, Astro, and Svelte.
Instead of loading thousands of lines of raw templates and components into AI context windows, Strata extracts compact component contracts, state dependencies, routes, and API endpoints directly into an embedded SQLite cache (.strata/graph.db).
Supported Frameworks
Framework | Extensions | Capabilities |
Vue.js (2 & 3) |
| Props, emits, slots, v-model, Composition & Options API, Pinia stores |
Nuxt.js |
| File-system routing ( |
React.js |
| Function & class components, JSX elements, React hooks ( |
Next.js |
| App Router ( |
Astro |
| Islands architecture ( |
Svelte (4 & 5) |
| Svelte 5 Runes ( |
Related MCP server: code-intel
Installation
Standalone Binary (Zero Dependencies)
Download and install the compiled single binary without needing Node.js or Bun installed locally:
Linux & macOS:
curl -fsSL https://raw.githubusercontent.com/Shironim/strata-mcp/master/scripts/install.sh | bashWindows (PowerShell):
irm https://raw.githubusercontent.com/Shironim/strata-mcp/master/scripts/install.ps1 | iexVia Bun Package Manager
bun add -g @dimassetoid/strata-mcp(You can also run commands directly with bunx @dimassetoid/strata-mcp <command>)
Quick Start & AI Agent Setup
Run strata init in your project root to set up MCP configuration and AI agent skills:
strata initYou can target a specific AI harness directly:
strata init --harness antigravity # Google Antigravity (.gemini/)
strata init --harness claude # Claude Code (.claude/)
strata init --harness codex # OpenAI Codex (.codex/)
strata init --harness opencode # OpenCode (opencode/)
strata init --harness agents # Universal Agent Harness (.agents/)MCP Tools Reference
Strata provides 6 tools via the Model Context Protocol (MCP):
Tool | Description |
| Search structural code patterns across templates and scripts without loading entire files into context |
| Extract public component interfaces (props, emits, slots, state) and retrieve specific code slices |
| Inspect component hierarchies, parent-child trees, and find all callers of a component |
| Trace reactive state dependencies and locate all components reading or mutating a given state store |
| Scan application routes, outbound HTTP API calls, and detect unused reactive state |
| Generate safe refactoring plans when renaming props, events, or component names across consumers |
CLI Reference
Common Commands
Command | Description |
| Start the MCP server over stdio for AI coding agents |
| Initialize agent rules, skills, and graph cache |
| Update the |
| View MCP performance telemetry (latency, request counts, errors) |
Analysis Commands
Command | Description |
| Search code patterns across |
| Inspect component props, emits, slots, and state |
| View component hierarchy tree or dependent callers ( |
| Trace where a reactive state or store is used |
| List application routes and page mappings |
| List outbound HTTP API calls and their caller components |
| Find unused reactive state composables or stores |
| Generate refactoring plans for prop or event renames |
Development
# Clone and install dependencies
git clone https://github.com/Shironim/strata-mcp.git
cd strata-mcp
bun install
# Run test suite & build
bun test
bun run buildLicense
MIT © shironim
This server cannot be deployed
Maintenance
Related MCP Connectors
Code intelligence for coding agents: semantic, AST, graph, and full-text search. 279+ languages.
Codebase intelligence for AI agents — dead code, blast radius, ownership.
Code intelligence platform for AI agents. 20 tools for architecture, security & impact analysis.
AI-powered codebase analysis — call graphs, security, dead code, complexity. 150+ tools.
Related MCP Servers
- AlicenseAqualityCmaintenanceEnables AI assistants to understand and navigate codebases through structural analysis. Provides code mapping, symbol search, and impact analysis using ast-grep for accurate parsing of Python, JavaScript, TypeScript, and Go projects.452MIT
- AlicenseNot gradedqualityCmaintenanceProvides semantic code search and code insights via a knowledge graph, enabling AI to understand, navigate, and modify complex projects with deep dependency and architecture analysis.MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to navigate and refactor a codebase through an AST index, offering project overviews, symbol and usage search, module dependency exploration, and LSP-backed operations such as rename, go-to-definition, diagnostics, and extract-method. Supports TypeScript/JavaScript and C# with automatic reindexing and watch mode.MIT
- AlicenseNot gradedqualityAmaintenanceEnables AI agents and terminal users to query codebases for callers, impact, tests, dependencies, and refactor previews using static AST analysis, with every match accounted for and uncertain relationships clearly marked.747 npm2MIT