mcp-editor
mcp-편집기
Anthropic의 파일 시스템 편집 도구를 컴퓨터 사용 데모에서 TypeScript MCP 서버로 직접 포팅한 것입니다. 주로 Claude Sonnet 3.5가 Roo Cline(현 Roo Code)에서 직접 작성한 것으로, 직접 감독은 충분히 받지 못한 것 같습니다. 코드를 꼼꼼히 검토하고 매일 이 서버를 사용하고 있지만, 오류나 AI 관련 문제가 있을 수 있습니다.
이 서버를 mcp-server-commands 와 함께 사용하는 것이 좋습니다.
경고: 이 MCP 서버는 접근 제어 기능이 없으며 전적으로 클라이언트의 승인 메커니즘에 의존합니다. 사용 시 발생하는 모든 위험은 사용자에게 있습니다. 쓰기 작업을 자동으로 승인하지 마십시오. 쓰기 작업을 자동으로 승인하면 LLM이 사용자 컴퓨터를 삭제할 수 있는 권한을 부여하는 것과 마찬가지입니다.
경고: 이 MCP 서버는 적극적으로 관리되지 않으며, 참고용으로만 제공됩니다(예: 적절한 액세스 제어를 통해 직접 MCP 서버 생성). 가끔 업데이트될 수 있습니다.
용법
컴퓨터에서 파일을 가져오세요. 실행:
지엑스피1
Claude 데스크톱 앱을 사용하는 경우 "mcpServers" 아래의 구성에 이 내용을 붙여넣고 mcp-editor를 넣은 위치와 일치하도록 경로를 편집하세요.
{
"mcpServers":
... your existing servers ...
"mcp-editor": {
"command": "node",
"args": ["/absolute/path/to/mcp-editor/dist/server.js"]
}
}
}MCP 설치 프로그램을 사용하는 경우 디스크의 mcp-editor 경로만 LLM에 제공하면 됩니다.
Available Tools
5 toolscreateC
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
Scored across 5 tools
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.
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.
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.
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
Related MCP Connectors
A TypeScript MCP server for Home Assistant, enabling programmatic management of entities, automati…
A simple Typescript MCP server built using the official MCP Typescript SDK and smithery/cli. This…
Shared memory MCP server for Claude Code, Codex, Gemini CLI and Cursor. Cited, editable.
Nifty's MCP server — exposes tasks, projects, messages, and files as tools for AI agents.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA TypeScript-based MCP server that provides tools for making precise line-based edits to text files within allowed directories.34MIT
- AlicenseAqualityDmaintenanceAn 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.15305MIT
- AlicenseAqualityDmaintenanceA 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.6MIT
- AlicenseNot gradedqualityDmaintenanceStandalone TypeScript MCP server for filesystem operations with robust security, encoding support, and cross-platform path handling.MIT