Skip to main content
Glama
jbr

semantic-edit-mcp

by jbr

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

Related MCP server: Edit MCP

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


A
license - permissive license
Not graded
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    A
    quality
    D
    maintenance
    We all edit, including LLMs. Now using any MCP compatible client your can embed 'Microsoft's Edit CLI' in your chat workflow.
    9
    3
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    MCP server that detects semantic (non-textual) merge conflicts between Git branches using AST-level analysis. Catches incompatible changes that Git merges cleanly — signature changes, removed exports, parameter changes, interface breaks, and cross-file dependency conflicts.
    4
    24
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    AST-targeted code editing MCP server with 28 surgical tools for structural edits across 11 languages. Built on tree-sitter, replaces brittle search/replace with byte-correct edits keyed by symbol names.
    28
    MIT

View all related MCP servers

Related MCP Connectors

  • Semantic Versioning (semver) MCP.

  • Semantic Scholar Academic Graph MCP.

  • MCP-native collaborative markdown editor with real-time AI document editing

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/jbr/semantic-edit-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server