Skip to main content
Glama

safe-agent-mcp

Sicheres Multi-Agent-MCP-Gateway basierend auf DeepSeek Harness: Es kapselt die Agent-Ausführungsfähigkeiten von DSH in standardisierte MCP-Tools, sodass jeder MCP-Client (Claude Desktop, Cursor usw.) sie aufrufen kann.

Was dieses Projekt löst

  • DSH ist ein Multi-Agent-Framework, aber seine Fähigkeiten können nur in der eigenen Oberfläche genutzt werden;

  • MCP ist ein Standardprotokoll, das jeder Client anbinden kann, hat aber selbst keine Agent-Fähigkeiten;

  • safe-agent-mcp ist die Brücke zwischen beiden: ein MCP-Server, der nach außen Standard-Tools bereitstellt und nach innen die Agents von DSH steuert (einschließlich Sub-Agents und Sandbox).

Related MCP server: py-sandbox

Funktionen

Schlüsselwort

Implementierung

MCP

Standard-MCP-Server (@modelcontextprotocol/sdk), Plug-and-Play für jeden MCP-Client

Multi-Agent

(geplant für v1.1) Steuert DSH-Sub-Agents über dsh --profile headless zur Aufgabenausführung

Sandbox/Sicherheit

(geplant für v1.2) Blockierung gefährlicher Befehle, Schlüssel-Maskierung, Audit-Logs, Timeout- und Parallelitätsbegrenzungen

Schnellstart

npm install
npm run smoke     # 自动化冒烟测试(协议握手 + 工具调用)
npm run inspect   # 打开 MCP Inspector 可视化调试

Derzeit implementierte Tools:

  • run_command: Führt einen Shell-Befehl in der Sandbox aus und gibt stdout / stderr / Exit-Code zurück (unter Windows wird das GBK-Kodierungsproblem von cmd behandelt).

Verzeichnisstruktur

src/index.ts        # MCP 服务器入口
tests/smoke.mjs     # 冒烟测试
docs/DEVELOPMENT.md # 开发文档(架构、里程碑、开发日志)

Meilensteine

  • v1.0: MCP-Server + run_command-Tool (Smoke-Tests alle grün)

  • v1.1: run_agent_task Multi-Agent-Anbindung (Headless-Brücke)

  • v1.2: Sicherheitshülle (Blockierung gefährlicher Befehle + Schlüssel-Maskierung + Audit-Logs)

  • v1.3: Web-Dashboard (Bonus)

Siehe docs/DEVELOPMENT.md.

License

MIT

Install Server
A
license - permissive license
A
quality
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables LLM clients to execute shell commands safely through the MCP protocol, with features like session management, safe mode, and process control.
    1
    Apache 2.0
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables AI agents to execute arbitrary Python code securely in a sandboxed environment with resource limits and security constraints via MCP protocol.
    MIT
  • A
    license
    Not graded
    quality
    A
    maintenance
    Exposes 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.
    8
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Exposes 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.
    28
    MIT

View all related MCP servers

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.

View all MCP Connectors

Latest Blog Posts

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