safe-agent-mcp
safe-agent-mcp
基于 DeepSeek Harness 的安全多 Agent MCP 网关:把 DSH 的 agent 执行能力封装成标准 MCP 工具,让任何 MCP 客户端(Claude Desktop、Cursor 等)都能调用。
这个项目解决什么
DSH 是多 Agent 框架,但能力只能在自己的界面里用;
MCP 是标准协议,任何客户端都能接,但本身没有 agent 能力;
safe-agent-mcp 是两者的桥:一个 MCP 服务器,对外提供标准工具,对内驱动 DSH 的 agent(含子 Agent、沙箱)。
Related MCP server: py-sandbox
特性
关键词 | 实现 |
MCP | 标准 MCP 服务器( |
多 Agent | (规划中 v1.1)通过 |
沙箱/安全 | (规划中 v1.2)危险命令拦截、密钥脱敏、审计日志、超时与并发限制 |
快速开始
npm install
npm run smoke # 自动化冒烟测试(协议握手 + 工具调用)
npm run inspect # 打开 MCP Inspector 可视化调试当前已实现工具:
run_command:在沙箱中执行一条 shell 命令,返回 stdout / stderr / 退出码(Windows 下已处理 cmd 的 GBK 编码问题)。
目录结构
src/index.ts # MCP 服务器入口
tests/smoke.mjs # 冒烟测试
docs/DEVELOPMENT.md # 开发文档(架构、里程碑、开发日志)里程碑
v1.0:MCP 服务器 +
run_command工具(冒烟测试全绿)v1.1:
run_agent_task多 Agent 接入(headless 桥接)v1.2:安全壳(危险命令拦截 + 密钥脱敏 + 审计日志)
v1.3:Web 仪表盘(加分项)
License
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Tools
Related MCP Servers
AlicenseNot gradedqualityCmaintenanceEnables LLM clients to execute shell commands safely through the MCP protocol, with features like session management, safe mode, and process control.1Apache 2.0- AlicenseNot gradedqualityCmaintenanceEnables AI agents to execute arbitrary Python code securely in a sandboxed environment with resource limits and security constraints via MCP protocol.MIT
- AlicenseNot gradedqualityAmaintenanceExposes DeepSeek Harness agent capabilities as an MCP server, letting any MCP client drive Harness to execute real coding tasks with structured results, context isolation, and parallel execution.8MIT
- AlicenseNot gradedqualityBmaintenanceExposes opencode's coding agent and shell as MCP tools, enabling MCP-only AI clients to execute shell commands, manage files, and run agent sessions with async job handling.28MIT
Related MCP Connectors
OCR, transcription, file extraction, and image generation for AI agents via MCP.
Agent-native collaboration network: orchestrate a team of long-running agents from any MCP client.
MCP server exposing the Backtest360 engine API as tools for AI agents.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/YYDW-1211/safe-agent-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server