ast-mcp-server
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.
コード分析
npm 0 プラットフォーム
0 機能
インストール
npx -y ast-mcp-server
上記の設定をMCPクライアントの設定ファイル(Claude Desktop は claude_desktop_config.json)に追記し、クライアントを再起動してください。
{
"mcpServers": {
"ast-mcp-server": {
"command": "npx",
"args": [
"-y",
"ast-mcp-server"
],
"env": {
"AST_MCP_DIR": "<AST_MCP_DIR>",
"HERMES_HOME": "<HERMES_HOME>",
"CLAUDE_CONFIG_DIR": "<CLAUDE_CONFIG_DIR>",
"AST_TOOL_STATE_DIR": "<AST_TOOL_STATE_DIR>"
}
}
}
}上記の設定をMCPクライアントの設定ファイル(Claude Desktop は claude_desktop_config.json)に追記し、クライアントを再起動してください。
出典:公開されているMCPサーバーカタログ。当サイトは独立した第三者ディレクトリであり、各MCPサーバーの提供元との提携や推奨関係はありません。