# ast-mcp-server

> ast-mcp-server — yailperalta-ast-mcp-server. Use this tool when you need to analyze and modify TypeScript and JavaScript projects with precision, as it provides compact, type-aware access to project structures and code tools. It solves problems such as code refactoring, declaration management, and diagnostic analysis, with safe mutation semantics and immutable plans. The tool accepts project models as input and outputs modified code structures, making it ideal for coding agents requiring robust code manipulation capabilities.

Canonical page: https://skillsregistry.net/skills/yailperalta-ast-mcp-server  
JSON: https://api.skillsregistry.net/v1/skills/yailperalta-ast-mcp-server

## Description

ast-mcp-server gives coding agents compact, type-aware access to TypeScript and JavaScript projects, providing structural code tools based on the real compiler project model through ts-morph for declarations, references, renames, and diagnostics, with safe prepare → review → apply mutation semantics and immutable hash-bound plans.

## Trust

- **Trust score (0–1):** 0.69
- **Verification tier:** scanned
- **Last scanned:** 2026-08-29

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** other
- **Updated:** 2026-08-29

## Source

- **Source listing:** [Glama](https://glama.ai/mcp/servers/zecvct25xl)
- **Repository:** <https://github.com/yailPeralta/ast-mcp-server>

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "yailperalta-ast-mcp-server"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/yailperalta-ast-mcp-server` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/yailperalta-ast-mcp-server/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
