s

semantic-edit-mcp

@jbr/semantic-edit-mcp
0 Stars 4 次浏览 jbr 更新于 2026-08-23
该服务暂未提供标准配置,请参考 README 手动接入

服务介绍

semantic-edit-mcp

codecov
ci
crates.io version badge

A Model Context Protocol server for AST-aware code editing

Supported Languages and Important Language Notes

  • Rust
    • Must have rustfmt available on the PATH
    • Currently assumes edition 2024 for formatting, eventually this will be determined from context
  • Python
    • Must have ruff available on the PATH
  • JavaScript/TypeScript/JSON/JSX/TSX
    • Must have biome available on the PATH
  • 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

$ cargo install semantic-edit-mcp

Usage with Claude Desktop or gemini-cli

Add this to your MCP configuration JSON file:

{
  "mcpServers": {
    "edit": {
      "command": "/path/to/semantic-edit-mcp/semantic-edit-mcp",
      "args": ["serve"]
    }
  }
}

License


相关 MCP 服务