Feedback

MCP Chunk Editor

@dwymark Claim

Basic information

Runtime
python
Category
License
MIT license
Transports
stdio
Author
dwymark
Submitted by
Community
Quality
20
Stars
5

About MCP Chunk Editor Server

An MCP server providing an efficient and safe text editor for LLMs

MCP Chunk Editor is a MCP server in the Other category listed in the AddMCP.net directory, published by dwymark. Supported transport: stdio. Runtime: python. License: MIT license. The repository has 5 GitHub stars. Source code is hosted on github.com. Related topics: llm-editor, mcp-chunk-editor, text-editor.

Setup

{
    "mcpServers": {
        "chunk-editor": {
            "command": "uvx",
            "args": [
                "mcp-chunk-editor"
            ]
        }
    }
}

MCP Chunk Editor config

Add this server to your MCP-compatible client using the configuration below.

{
    "mcpServers": {
        "chunk-editor": {
            "command": "uvx",
            "args": [
                "mcp-chunk-editor"
            ]
        }
    }
}

MCP Chunk Editor tools

Tool list not available yet

This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is MCP Chunk Editor?

MCP Chunk Editor is a Model Context Protocol server that enables LLMs to edit text files using semantically meaningful chunks (functions, classes, methods) rather than line numbers. It uses Universal CTags to parse files into chunks and provides immediate application of edits with preview. It is designed for AI-assisted code editing workflows.

How to use MCP Chunk Editor?

Install via pip install mcp-chunk-editor or run directly with uvx mcp-chunk-editor. Configure it in Claude.app by adding a JSON entry under mcpServers using the uvx, docker, or python command. Optionally set a custom --max-chunk-size argument (default 100 lines) to control chunk sizes.

Key features of MCP Chunk Editor

  • Semantic chunking using Universal CTags
  • Immediate change application with preview generation
  • Simple undo for the most recent change per file
  • Optimized for LLM token usage with incremental updates

Use cases of MCP Chunk Editor

  • An LLM reads a file’s function-level chunks, then replaces a specific method’s content
  • An LLM creates a new file with create_file and later deletes it with delete_file
  • An LLM edits a codebase chunk by chunk, undoing a change if the preview shows an error

Frequently asked questions

1 What Python version is required?

Python 3.10 or 3.11 is required; Python 3.12+ is not supported yet due to python-ctags3 compatibility.

2 Does MCP Chunk Editor support undo for multiple changes?

It supports undoing the most recent change per file, with one level of undo.

3 What external dependency does it need?

Universal CTags must be installed (e.g., apt-get install universal-ctags on Debian/Ubuntu).

4 Can I adjust the maximum chunk size?

Yes, pass the --max-chunk-size argument to set a custom maximum chunk size (default is 100 lines).

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬