MarcusJellinghaus/mcp-workspace
为 AI 助手提供限定在项目目录内的文件系统操作
解决什么问题
没有它,AI 助手无法直接读写本地项目文件,只能靠人工复制粘贴,也难以限制访问范围。
- 读写并精确编辑文件
- 路径限定在项目目录内
- 拒绝 .git 与 gitignore 路径
适用客户端
- claude-desktop
- vscode
- cline
- cli
安装命令
pip install -e . pip install git+https://github.com/MarcusJellinghaus/mcp-config.git 一键配置
{
"mcpServers": {
"filesystem": {
"command": "mcp-workspace",
"args": [
"--project-dir",
"C:\\path\\to\\your\\specific\\project",
"--reference-project",
"name=docs,path=C:\\path\\to\\documentation",
"--reference-project",
"name=examples,path=C:\\path\\to\\examples",
"--log-level",
"INFO"
]
}
}
} 安全标记
- 需要 API Key: 未标注
- 本地运行: 是
- 访问网络: 是
- 需要 root: 否
维护状态
| 最近提交 | 2026-12-06(0d) |
|---|---|
| Star | 49 |
| 待处理 issue | 18 |
| 协议 | MIT |
| 已归档 | 否 |
| 数据抓取于 | 2026-12-06 |
原文摘录
以下为仓库 README 原文,未做改写,用于核对上面的摘要。
A simple Model Context Protocol (MCP) server providing file system operations.