-
securityF
license-
qualityAn MCP server that allows Claude AI to perform filesystem operations including reading, writing, listing, moving files, and searching directories within specified allowed paths.
Last updated -
5
1
JavaScript
使用模型上下文协议 (MCP) 实现 Claude 代码功能。
该项目提供了一个 MCP 服务器,实现了类似 Claude Code 的功能,允许 Claude 直接执行修改和改进项目文件的指令。通过利用模型上下文协议 (MCP),该实现能够与包括 Claude Desktop 在内的各种 MCP 客户端无缝集成。
工具 | 描述 |
---|---|
read | 读取���件内容,包括行号、偏移量和限制功能 |
write | 创建或覆盖文件 |
edit | 对文本文件进行基于行的编辑 |
multi_edit | 使用原子事务在单个文件操作中进行多次精确的文本替换 |
directory_tree | 获取目录的递归树视图 |
grep | 使用 ripgrep 集成在文件中进行快速模式搜索以获得最佳性能(文档) |
content_replace | 替换文件内容中的模式 |
grep_ast | 使用 AST 上下文搜索代码,显示函数、类和其他结构内的匹配项 |
run_command | 执行 shell 命令(也用于创建目录、移动文件和列出目录) |
notebook_read | 从 Jupyter 笔记本的所有单元中提取并读取源代码,并输出 |
notebook_edit | 在 Jupyter 笔记本中编辑、插入或删除单元格 |
think | 结构化空间,无需改变即可进行复杂的推理和分析 |
dispatch_agent | 启动一个或多个可以使用只读工具同时执行任务的代理 |
batch | 在单个请求中并行或串行执行多个工具调用 |
todo_write | 创建和管理结构化任务列表 |
todo_read | 阅读结构化任务列表 |
详细的安装配置说明请参考INSTALL.md 。
0.3版本详细教程请参考TUTORIAL.md
此实现遵循保护文件系统访问的最佳实践:
为该项目做出贡献:
git checkout -b feature/amazing-feature
)git commit -m 'Add some amazing feature'
)git push origin feature/amazing-feature
)该项目根据 MIT 许可证获得许可 - 有关详细信息,请参阅 LICENSE 文件。
This server cannot be installed
local-only server
The server can only run on the client's local machine because it depends on local resources.
实现类似 Claude Code 功能的 MCP 服务器,允许 AI 通过直接文件系统交互来分析代码库、修改文件、执行命令和管理项目。
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/SDGLBL/mcp-claude-code'
If you have feedback or need assistance with the MCP directory API, please join our Discord server