Open IDE settings
Add MCP server configuration
<your-project-directory>
with the path to your project folder.Restart your IDE
dump_ast
- Dump AST nodes in an AI-friendly format for given source code and languageget_node_types
- Get compressed tree-sitter node types for specific programming languagesrun_jssg_tests
- Run tests for jssg (JavaScript AST-grep) codemods with test casesget_jssg_instructions
- Get jssg instructions for creating codemodsget_ast_grep_instructions
- Get ast-grep instructions for creating ast-grep rulesget_codemod_cli_instructions
- Get Codemod CLI instructions for creating codemodsCodemod MCP | Codemod Studio | |
---|---|---|
Interface | Integrated into your IDE | Web-based interface |
AI Model | Your choice of AI model | Built-in AI assistant |
Control | Granular control over codemod creation | Quick prototyping and sharing |
Iteration | Direct, instant control in your IDE | Web-based iteration |
Sharing | Export and version control | Built-in sharing with peers |
Best For | Power users, framework maintainers, pro codemods | Quick codemod creation and collaboration |
Be specific about output format
Provide clear requirements
Break down complex changes
Server won't start
cwd
path exists and is accessiblenpx codemod@latest mcp
manually to testTools not available
Performance issues