What runtime does Files require?
Node.js version 20 or higher is required.
@flesler
基本信息
⚡ Surgical Code Editing: Superhuman Precision
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"mcp-files": {
"command": "npx",
"args": [
"-y",
"mcp-files"
]
}
}
}Find and extract symbol block by name from files, supports a lot of file formats (like TS, JS, GraphQL, CSS and most that use braces for blocks). Uses streaming with concurrency control for better performance
Insert or replace text at precise line ranges in files - Ideal for direct line-number operations (from code citations like 12:15:file.ts) and large files where context-heavy editing is inefficient. - TIP: Combine with read_symbol (must use optimize: false!) to edit any symbol anywhere without knowing its file or line range!
Send OS notifications using native notification systems.
Files is an MCP server that provides file-oriented tools for AI agents like Cursor. It supports reading symbols from code, performing search-and-replace, inserting text at precise line ranges, inspecting JavaScript/TypeScript modules, and sending OS notifications.
Install and run via npx mcp-files or as a Docker container. Configure the MCP client (e.g., Cursor or Claude Desktop) with a JSON entry pointing to npx -y mcp-files. Alternatively use HTTP transport by setting the environment variable TRANSPORT=http. Tools can also be invoked directly from the command line, e.g., mcp-files read_symbol "MySymbol" src/file.ts.
read_symbol.search_replace.insert_text.os_notification.Node.js version 20 or higher is required.
Run `npx clear-npx-cache` followed by `npx mcp-files` to resolve `ERR_MODULE_NOT_FOUND` errors.
Yes, set the environment variable `TRANSPORT=http` and optionally `PORT` (default 4657) to expose an HTTP server.
It supports stdio (default) and HTTP transport modes.
The README lists tools such as `read_symbol`, `import_symbol`, `search_replace`, `insert_text`, and `os_notification` with their parameters. Running `mcp-files --help` also shows usage.

DeviceLink lets you share folders from your computer with AI assistants, securely and in real-time. Nothing is uploaded. Your files stay on your machine, and are only accessible while the device sharing them is connected
Go server implementing Model Context Protocol (MCP) for filesystem operations.

AI tools (Claude, ChatGPT, Gemini, Grok, etc.) generate HTML constantly, from reports to landing pages to prototypes, but there's no easy way to share it or know if anyone looked. HTMLvault turns any HTML into a clean, t
MCP server to integrate AWS S3 and LLM
MCP Workspace Server: A secure Model Context Protocol server providing file, git, and GitHub tools for AI assistants within a sandboxed project directory.
评论