Ast MCP Server
UnclaimedCorrectness-oriented MCP server and batch CLI for compact structural reads and reviewed TypeScript/JavaScript edits.
Install
npm install --global ast-mcp-server --ignore-scriptsSet up this server
More in Developer Tools
Browse the full directoryUnclaimed listing
Is this your MCP server?
This listing was auto-indexed from the public record. Claim it to edit the page, set compatibility and unlock growth tools. Takes under two minutes.
Claim this serverSecurity profile
Claimed and verified servers get a weekly static scan that shows what the code can reach: external services, environment variables, shell commands, agent configuration folders, plus any dependencies with known advisories. Claim this listing to get one. How the security profile works
16 of 16 tools
Documented tools (16)
From project documentation. A server handshake does not verify each tool’s description or behavior.
ast_apply_operation
Apply one reviewed, hash-bound plan
ast_explore
Bounded composed selectors, source evidence, and references
ast_find_references
Compiler-resolved references with bounded context
ast_find_test_candidates
Paginated affected tests with atomic compiler relationship proofs
ast_get_diagnostics
Project- or file-scoped TypeScript diagnostics
ast_get_file
Bounded exact source lines, byte hash, and snapshot state
ast_get_impact
Bounded incoming/outgoing compiler-backed impact evidence
ast_get_operation_preview
Retrieve the complete retained diff for a prepared plan
ast_get_outline
Body-free declaration signatures; detailed symbol metadata is opt-in
ast_get_project_status
Read-only compiler, freshness, index, and operation status
ast_get_symbol_source
Exact source for one declaration
ast_list_files
Paginated, project-relative source file inventory
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_search_symbols
Paginated structural symbol discovery
Tool change history
FAQ
Questions about Ast MCP Server
- How do I connect Ast MCP Server to Claude?
- The listing records `npm install --global ast-mcp-server --ignore-scripts` as its setup step. Run it, then follow the repository's instructions for the client configuration; the listing names Claude Code, Cursor, Windsurf as compatible clients.
- Is Ast MCP Server free?
- The listed licence is ISC. Check the upstream terms for permitted use and commercial requirements; a public repository does not by itself mean the software is free or open source. Connected APIs and hosted services may have separate charges.
- What can Ast MCP Server do?
- Ast MCP Server documents 16 tools to the agent, including ast_apply_operation, ast_explore, ast_find_references. The descriptions above come from project documentation. A live handshake does not test individual tool behavior.