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…
ast-mcp-server is an MCP project maintained in the yailperalta/ast-mcp-server repository. The maintainer describes its purpose as “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…”. Read the project documentation for the complete scope.
Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.
Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.
| Tool | What it does |
|---|---|
| ast_list_files | Paginated, project-relative source file inventory |
| ast_get_project_status | Read-only compiler, freshness, index, and operation status |
| ast_explore | Bounded composed selectors, source evidence, and references |
| ast_get_file | Bounded exact source lines, byte hash, and snapshot state |
| ast_get_outline | Body-free declaration signatures; detailed symbol metadata is opt-in |
| ast_get_symbol_source | Exact source for one declaration |
| ast_search_symbols | Paginated structural symbol discovery |
| ast_find_references | Compiler-resolved references with bounded context |
| ast_get_impact | Bounded incoming/outgoing compiler-backed impact evidence |
| ast_find_test_candidates | Paginated affected tests with atomic compiler relationship proofs |
| ast_get_diagnostics | Project- or file-scoped TypeScript diagnostics |
| ast_rename_symbol | Prepare a project-wide rename |
| ast_replace_symbol_body | Prepare a body-only replacement while preserving the signature |
| ast_scaffold_class | Prepare one new class file with explicit placeholder methods |
| ast_get_operation_preview | Retrieve the complete retained diff for a prepared plan |
| ast_apply_operation | Apply one reviewed, hash-bound plan |
Read, search and edit files inside allowed directories with the Model Context Protocol reference Filesystem server.
Retrieve version-aware library documentation and code examples with Context7 MCP, using resolve-library-id and query-docs.
Threat modeling, code/cloud/pipeline scanning, shadow-AI discovery, compliance checks and fixes.
MCP Server for the GitHub API, enabling file operations, repository management, search functionality, and more.
Get GitHub repository stats, search repos, analyze languages, and compare projects
Korean ad-compliance linter for cosmetics and health-food marketing copy