
Jsc Typescript Ast Mcp
Parse your TypeScript project and emit structured AST or React-component JSON so agents refactor UI code with accurate symbol awareness.
Overview
jsc-typescript-ast-mcp is a MCP server for the Build phase that parses TypeScript using your tsconfig and can produce JSON representations of React components for agents.
What is this MCP server?
- TypeScript AST tooling scoped via required PROJECT_TSCONFIG_PATH
- JSON representations of React components for agent-friendly refactors
- Stdio MCP via npm package jsc-typescript-ast-mcp
- npm registry install for Claude Code and Cursor workflows
- Static analysis bridge—not a browser automation or test runner skill
- Required env: PROJECT_TSCONFIG_PATH
- npm identifier: jsc-typescript-ast-mcp
- Stdio transport
Community signal: 1 GitHub stars.
What problem does it solve?
Agents often misread React and TypeScript files because text chunks hide exports, types, and component boundaries.
Who is it for?
Solo frontend devs shipping React + TypeScript who want MCP-driven refactors, component inventories, or API surface discovery from one repo.
Skip if: Pure JavaScript codebases without tsconfig, non-React backends-only repos where AST JSON adds little, or teams that forbid local AST tooling in the agent loop.
What do I get? / Deliverables
After configuration, your agent queries AST-grounded structure and component JSON so refactors and reviews align with the real compile graph.
- AST-backed views of TypeScript sources in agent context
- JSON summaries of React components for planning edits
- Repeatable structural queries tied to your compiler config
Recommended MCP Servers
Journey fit
AST analysis happens while you are building and changing React/TS codebases, not when you are only ideating or operating production monitors. Frontend is the primary shelf because the server explicitly supports JSON representations of React components from your tsconfig-scoped project.
How it compares
TypeScript/React AST MCP server—not a generic file-search or Ripgrep skill.
Common Questions / FAQ
Who is jsc-typescript-ast-mcp for?
It is for TypeScript and React developers who want their MCP client to analyze project structure via tsconfig rather than relying on ad-hoc file snippets.
When should I use jsc-typescript-ast-mcp?
Use it during build when you are restructuring components, documenting props, or planning type-safe changes that need compiler-aligned AST data.
How do I add jsc-typescript-ast-mcp to my agent?
Install jsc-typescript-ast-mcp from npm, set PROJECT_TSCONFIG_PATH to your project's tsconfig.json, and register the stdio server in your agent MCP settings.