safe-agent-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@safe-agent-mcpRunls -lain the sandbox and show me the output."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
safe-agent-mcp
A secure multi-agent MCP gateway based on DeepSeek Harness: it wraps DSH's agent execution capabilities into standard MCP tools, so any MCP client (Claude Desktop, Cursor, etc.) can call them.
What this project solves
DSH is a multi-agent framework, but its capabilities can only be used in its own interface;
MCP is a standard protocol that any client can connect to, but it has no agent capabilities of its own;
safe-agent-mcp is the bridge between the two: an MCP server that provides standard tools externally and drives DSH's agents internally (including sub-agents and the sandbox).
Related MCP server: py-sandbox
Features
Keyword | Implementation |
MCP | Standard MCP server ( |
Multi-Agent | (Planned in v1.1) Drive DSH sub-agent task execution via |
Sandbox/Security | (Planned in v1.2) Dangerous command interception, secret redaction, audit logs, timeout and concurrency limits |
Quick Start
npm install
npm run smoke # 自动化冒烟测试(协议握手 + 工具调用)
npm run inspect # 打开 MCP Inspector 可视化调试Currently implemented tools:
run_command: executes a shell command in the sandbox and returns stdout / stderr / exit code (the GBK encoding issue of cmd is handled on Windows).
Directory Structure
src/index.ts # MCP 服务器入口
tests/smoke.mjs # 冒烟测试
docs/DEVELOPMENT.md # 开发文档(架构、里程碑、开发日志)Milestones
v1.0: MCP server +
run_commandtool (smoke tests all green)v1.1:
run_agent_taskmulti-agent integration (headless bridge)v1.2: Security shell (dangerous command interception + secret redaction + audit logs)
v1.3: Web dashboard (bonus)
See docs/DEVELOPMENT.md for details.
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