Skip to main content
Glama
mcp-editor

mcp-editor

by arathald

editor mcp

Esta es una adaptación directa de las herramientas de edición del sistema de archivos de Anthropic, desde sus demos de uso informático a un servidor MCP de TypeScript. Fue escrito principalmente por Claude Sonnet 3.5 en Roo Cline (ahora Roo Code), probablemente con poca supervisión directa. Revisé el código y uso este servidor a diario, pero podría contener errores o anomalías de la IA.

Recomiendo usar este servidor junto con mcp-server-commands

ADVERTENCIA: Este servidor MCP no tiene controles de acceso y depende completamente de los mecanismos de aprobación de su cliente. Úselo bajo su propia responsabilidad. NO apruebe automáticamente las operaciones de escritura; al hacerlo, le da permiso al LLM para destruir su computadora.

ADVERTENCIA: Este servidor MCP no se mantiene activamente y se proporciona como referencia (por ejemplo, para crear su propio servidor MCP con los controles de acceso adecuados). Es posible que lo actualice ocasionalmente.

Uso

Descarga los archivos en tu ordenador. Ejecuta:

npm install
npm build

Si está usando la aplicación de escritorio Claude, pegue esto en su configuración en "mcpServers" y edite la ruta para que coincida con donde colocó mcp-editor:

{
  "mcpServers":
... your existing servers ...
    "mcp-editor": {
      "command": "node",
      "args": ["/absolute/path/to/mcp-editor/dist/server.js"]
    }
  }
}

Si está utilizando el instalador MCP , solo necesita proporcionar a su LLM la ruta en su disco al editor mcp.

Available Tools

5 tools
createC

Create a new file with specified content

Inputs: path (required), file_text (required).

insertC

Insert text at a specific line in the file

Inputs: path (required), insert_line (required), new_str (required).

string_replaceC

Replace a string in a file with a new string

Inputs: path (required), old_str (required), new_str.

undo_editC

Undo the last edit to a file

Inputs: path (required).

viewB

View file contents or directory listing

Inputs: path (required), view_range.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.4/5.0

    Scored across 5 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose with no overlap: create makes new files, insert adds text at lines, string_replace modifies content, undo_edit reverses changes, and view reads content or lists directories. The descriptions make it easy to differentiate between file creation, editing operations, and viewing.

    Naming Consistency4/5

    Most tools follow a consistent verb-based naming pattern (create, insert, view, undo_edit), but 'string_replace' deviates slightly by using a compound term instead of a simple verb like 'replace'. This minor inconsistency is still readable and doesn't hinder usability significantly.

    Tool Count5/5

    With 5 tools, this server is well-scoped for basic file editing operations. Each tool earns its place by covering essential functions like creation, insertion, replacement, undo, and viewing, making it neither too sparse nor overloaded for its domain.

    Completeness4/5

    The tool set covers core file editing workflows well, including create, modify (insert and replace), undo, and view. A minor gap is the lack of a delete or rename tool, which agents might need for full file management, but the existing tools allow effective editing without dead ends.

    Maintenance

    ActivityInactive
    ResponsivenessLimited data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      An MCP server that implements Claude Code-like functionality, allowing the AI to analyze codebases, modify files, execute commands, and manage projects through direct file system interactions.
      15
      305
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      A TypeScript-based MCP server that enables Claude Desktop to perform file operations and retrieve system information, with built-in security features that restrict access to safe directories only.
      6
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Standalone TypeScript MCP server for filesystem operations with robust security, encoding support, and cross-platform path handling.
      MIT