semantic-edit-mcp-0.2.1 is not a library.
semantic-edit-mcp
A Model Context Protocol server for AST-aware code editing
Supported Languages and Important Language Notes
- Rust
- Must have
rustfmtavailable on thePATH - Currently assumes edition 2024 for formatting, eventually this will be determined from context
- Must have
- Python
- Must have
ruffavailable on thePATH
- Must have
- JavaScript/TypeScript/JSON/JSX/TSX
- Must have
biomeavailable on thePATH
- Must have
- TOML
- No external dependencies, taplo formatting included
- Plaintext / markdown / default editor
- No external dependencies
Tools
preview-edit Stage an operation and see a preview of the changes
retarget-edit Change the targeting of an already-staged operation without rewriting the content
persist-edit Execute the currently staged operation
set-working-directory Set the working context path for a session
Installation
Usage with Claude Desktop or gemini-cli
Add this to your MCP configuration JSON file: