You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
🎯 工具简介
分享一个开箱即用的 MCP 工具服务器,专门为 FastGPT 这类 AI 应用提供:
接入后可实现类似 云端Cursor 和 Google AI Studio 的效果
项目地址:https://github.com/answerlink/MCP-Workspace-Server
⚡ 快速接入 FastGPT
1️⃣ 部署服务
git clone https://github.com/answerlink/MCP-Workspace-Server.git cd MCP-Workspace-Server docker-compose up -d --build服务启动在
http://your-server-ip:180892️⃣ FastGPT 中配置(1 分钟)
在 FastGPT 的 MCP 配置界面添加:
就这么简单! FastGPT 会自动发现所有可用的工具。
🛠️ 提供的工具能力
配置后,AI 助手会自动获得以下工具:
📁 文件操作类
fs_read- 读取文件(支持 txt/json/csv/xlsx 等,可批量读取)fs_write- 创建/覆盖文件(自动识别格式:text/md/xlsx/python/html 等)fs_replace- 精确编辑文件(基于 SEARCH/REPLACE 模式)fs_ops- 文件系统操作(list 列目录、mkdir 创建目录、move 移动、info 获取信息、delete 删除)fs_search- 搜索文件名或文件内容📊 Excel 专项类
excel_edit- 编辑 Excel(单元格/公式/格式/工作表/行列/图表)list_excel_templates- 列出可用的 Excel 模板create_excel_from_template- 从模板创建 Excel 文件🐍 代码执行类
exec- 执行 Python 代码或文件(内置 pandas、numpy、matplotlib 等常用库)🎨 可视化类
generate_image- 生成图像(数据图表、Mermaid 流程图、HTML 渲染)preview_frontend- 部署静态前端项目(HTML/CSS/JS)📚 知识库类(可选)
kb_search- 企业知识库搜索kb_read- 读取知识库文件🎨 额外:工作区查看器
提供了一个用户友好的 Web 界面,让用户可以:
访问地址:
http://your-server:18089/workspace/viewer?user_id=xxx&chat_id=xxx注:这些都有API,也可以自己实现工作空间预览的UI
演示截图:


🔒 安全性
🤝 为什么分享给 FastGPT 社区
希望能帮到正在用 FastGPT 构建应用的朋友们!如果有问题或建议,欢迎在 GitHub 讨论 🎉
Beta Was this translation helpful? Give feedback.
All reactions