📡 MCP Radar

yailPeralta/ast-mcp-server

Correctness-oriented MCP server and batch CLI for compact structural reads and reviewed TypeScript/JavaScript edits.

3 stars
0 forks
TypeScript
momentum ▲ 6.0
created 2026-08-03
on radar since 2026-08-08
View on GitHub ↗

About ast-mcp-server

ast-mcp-server gives coding agents compact, type-aware access to TypeScript and JavaScript projects. It uses the real compiler project model through ts-morph, so declarations, references, rename locations, and diagnostics come from the AST instead of text-search guesses.

Reads are bounded and structured. Writes follow an explicit prepare → review → apply protocol with immutable hashes, workspace freshness checks, diagnostic guards, and idempotent receipts.

Coding agents often fall back to two generic operations: read files as plain text and write text patches. That works, but it has three predictable costs:

1. Too much context. The agent may load hundreds of lines when it only needs one signature or method body. That consumes model context and tokens without improving the answer. 2. Fragile edits. Text patches do not inherently understand declarations, scopes, overloads, or TypeScript diagnostics. A plausible-looking edit can target the wrong construct or introduce a new compiler error. 3. Weak cross-file reasoning. Text search can find matching words, but it cannot reliably distinguish two unrelated symbols with the same name. Project-wide references and renames need the compiler's understanding of the program.

This MCP server gives the agent structural code tools in addition to generic file reads and writes. Under the hood, ts-morph uses the TypeScript compiler project model, so the server can reason about declarations and references as code rather than undifferentiated text.

From the project README.

Maintaining this server?

Add the radar badge to your README — it shows your project was picked up by MCP Radar and links to this page:

[![On MCP Radar](https://mcp.liqiwa.com/badge.svg)](https://mcp.liqiwa.com/s/yailPeralta--ast-mcp-server.html)

Related MCP servers

XiaoDuoYa/codex-with-chatgpt

ChatGPT thinks. Codex works. Use ChatGPT as the planning brain while keeping the Codex harness.

⭐ 1090TypeScript
0xwilliamortiz/openclaude-improved

runs anywhere. uses anything

⭐ 563TypeScript
halofyai/halofy

Halofy is the open access and governance layer for AI agents across your organization. Identity, policy, provenance, audit, and signed erasure.

⭐ 440TypeScript
OpenLabs-so/openanalytics

Open-source, privacy-first and cookieless web analytics with revenue attribution and an MCP server.

⭐ 217TypeScript
Dominic789654/awesome-deepseek-harness

A curated list of plugins, skills, MCP servers, patch/profile layers, orchestrators & UIs for DeepSeek Harness (DSH). Visualization · PPT · Coding · Agents · Loops (auto-research) and more. #dsh

⭐ 151TypeScript
pueschel88/Tradingview-MCP

Tradingview MCP server for controlling Tradingview Desktop from Claude Code via Chrome DevTools Protocol

⭐ 133TypeScript

📬 Get the weekly radar in your inbox

The top new MCP servers of the week, every Monday. No spam, unsubscribe anytime.