MCP.Market

Jsc Typescript Ast MCP server

by jscoobyced·io.github.jscoobyced/jsc-typescript-ast-mcp·v1.0.10

AST for TypeScript, supports creating JSON representations of React components

B82/100grade B
What users say
No reviews yet
Be the first
Safety scan
B82/100

full report

Adoption
New

0 stars49 downloads/wk

Reviews

Write one

Nobody has reviewed Jsc Typescript Ast yet.

If you have run it, two minutes of your experience saves the next person an afternoon.

Jsc Typescript Ast tools (3)

write = sends, deletes, buys or posts

Read from the package source without running it. The installed server may list more.

  • component_tree

    Get the component tree for a given entry file and maximum depth

  • find_dependency

    Find files with a given dependency

  • find_reference

    Find references for a given class and method

Public scan report

scanner v0.1.9 · 2026-09-27 · same rubric, same numbers if you re-run it

no findings
  • Code scan16 source files scanned25/25
  • –Live reliabilityno gateway calls yet and no remote to proben/a
  • –Tool poisoningtools not inspected (local package is not executed); not countedn/a
  • Auth qualitylocal package, no credentials required12/15
  • Maintenancelast push 172 days ago8/15
  • Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
Overall 82/100. Components that don't apply are left out of the denominator. Any critical finding is an F.RubricAppeal a findingJSON

How Jsc Typescript Ast compares

Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.

Safety score
82/100
higher than 63% of 48,255 servers
Tools
3
the typical server has 7
Tools that change things
0%
typical: 0%. Fewer write tools means less an agent can break
Downloads a week
49
more than 41% of 12,191 servers with a package

What its tools let an agent do: 3 read

Install Jsc Typescript Ast in Claude Code, Cursor or VS Code

Runs npx -y jsc-typescript-ast-mcp on your machine. Read the scan report first; the gateway never runs local packages.

claude mcp add jsc-typescript-ast-mcp -- npx -y jsc-typescript-ast-mcp
Add to Cursor

What the publisher says

From the Jsc Typescript Ast repository's README, as published. We do not edit it. Read it on GitHub

TypeScript AST MCP Server

A Model Context Protocol (MCP) server that provides TypeScript AST (Abstract Syntax Tree) analysis capabilities. This server allows you to find references for classes and methods, analyze component trees, and find dependencies in TypeScript code using the ts-morph library.

Features

  • MCP Server: Implements the Model Context Protocol for integration with AI assistants
  • TypeScript Analysis: Uses ts-morph for powerful TypeScript AST parsing and analysis
  • Reference Finding: Find all references to a given class method in your codebase
  • Dependency Finding: Use the find_dependency tool to list all files that import a specified library.
  • Component Tree Analysis: Use the component_tree tool to analyze React component structures in your codebase.
  • The tools are part of the MCP server and can be invoked via Claude Code or other MCP clients.

Prerequisites

  • Node.js (version compatible with the project)
  • Yarn package manager

Setup

  1. Clone the repository
  2. Install dependencies:
yarn install
  1. Copy the example configuration files:
cp .env.example .env
  1. Update .env with your project's tsconfig path:
PROJECT_TSCONFIG_PATH=/path/to/your/project/tsconfig.json

How to Run

Build the project:

yarn build

Test the MCP server:

yarn test:mcp

This will start the MCP server that can be connected to by MCP-compatible clients.

Installing in Claude Code

To use this MCP server in Claude Code:

  1. Build the server:
yarn build
  1. Configure Claude Code:
  • Copy the .mcp.example.json to .mcp.json (or update your existing one with the content of the MCP configuration)
  • Edit your .claude/settings.local.json and add the MCP section (or the subset needed if you already have some MCPs configured)
“enableAllProjectMcpServers”: true,
  “enabledMcpjsonServers”: [
    “typescript-ast”
  ]
  • Start Claude Code
  • Type the /mcp command and check the MCP is connected

Development

Update the code:

  1. Make changes to the TypeScript source files in src/
  2. Build the project:
yarn build
  1. Test the changes:
yarn test:mcp

Environment Variables

The server uses the following environment variable:

  • PROJECTTSCONFIGPATH: Path to the tsconfig.json file to use for project analysis (defaults to 'tsconfig.json')

Example Configuration Files

  • .env.example: Example environment variables file
  • .mcp.example.json: Example MCP configuration file (if applicable)

Tool Descriptions

The server provides three tools:

1. find_reference

Find all references to a given class method in your codebase.

  • Input:
  • filePath: Path to the file
  • className: Name of the class
  • methodName: Name of the method
  • Output: List of file paths with line numbers where the method is referenced

2. find_dependency

List all files that import a specified library.

  • Input:
  • dependencyName: Name of the dependency to search for
  • Output: List of file paths that import the specified dependency

3. component_tree

Analyze React component structures in your codebase.

  • Input:
  • entryFilePath: Path to the entry file
  • maxDepth: Maximum depth of the component tree (default: 3)
  • data-id (optional): Attribute name to capture into TreeNode.dataId (example: data-attribute-id)
  • Output: JSON representation of the component tree structure, including optional element metadata such as props, dataId, and onClick

License

MIT

Nothing above is checked by us. What we check is on the safety report.

Jsc Typescript Ast: common questions

Is Jsc Typescript Ast MCP server safe?
Mostly: it is graded B (82/100). Read the Jsc Typescript Ast safety report
How do I install Jsc Typescript Ast?
It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
Does Jsc Typescript Ast need an API key?
No secret keys are declared. It reads 1 setting from the environment.
Is Jsc Typescript Ast maintained?
The last commit was 210 days ago (2026-04-08). The latest release is v1.0.10.
What can I use instead of Jsc Typescript Ast?
Servers from other publishers that do the same job: Webcomponents React MCP server.
How does Jsc Typescript Ast compare with other MCP servers?
safety score 82/100 (higher than 63% of 48,255 servers); tools 3 (the typical server has 7); tools that change things 0% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.

Alternatives to Jsc Typescript Ast

Same job from other publishers: the closest match first, then the best rated.

  • Webcomponents React
    MCP server for UI5 Web Components for React - Developer documentation and API assistance
    A