dsh-mcp-bridge
dsh-mcp-bridge
将 DeepSeek Harness 部署的能力提供给任何 MCP 客户端——记忆、持久任务账本、项目智能体调度以及更广泛的 MCP 生态——以声明的工具形式,而不是模型需要被告知并记住的 shell 命令。
为什么
claude -p 运行自己的智能体循环,因此它永远不会收到 harness 的工具模式:一个由 Claude 驱动的会话没有记忆、没有账本、没有调度。它确实接受 MCP 服务器。这就是那个服务器。
它暴露的一切都已经有命令行入口,因此这增加的是表面,而非权限——它能做的正是调用者在 shell 中已经能做的事。它无法桥接的是仅存在于实时 harness 回合内部的东西(goals、AgentTeams);这些按设计是会话作用域的,没有外部表面。
Related MCP server: openclaw-tools-mcp
工具
工具 | 作用 |
| 持久记忆存储 |
| 任务账本 |
| 将工作交给项目智能体,然后轮询其状态 |
| MCP 生态中的任意服务器,无需组合 |
| 仓库所有权注册表 |
| 触达用户 |
使用
// mcp-bridge.json
{ "mcpServers": { "dsh": { "command": "node", "args": ["/path/to/src/server.js"] } } }claude -p --strict-mcp-config --mcp-config ./mcp-bridge.json如果 DSH_JARVIS_BIN 不是 ~/.dsh-jarvis/bin,请将其指向存放 CLI 的目录。
用惨痛代价学到的三件事
--mcp-config是可变参数的。 内联 JSON 后跟位置参数提示符,会让客户端把提示符当作第二个配置路径读取(MCP config file not found: /tmp/List the tool…)。请传入文件。不要在 stdin 报告 EOF 的瞬间退出。 规范说客户端关闭 stdin 即关闭,但有些客户端交给服务器的 stdin 已经处于 EOF;服务器在第一个请求之前就退出,客户端重新生成它,于是陷入循环。观察到:三分钟内 32 次生成,没有一次调用完成。在这里,EOF 只在已经处理过某些内容后才结束进程,并带有有界的空闲超时,因此被遗弃的服务器仍然会消失。
用写入来验证桥接,绝不要用读取。 当调用实际失败时,被要求“调用搜索工具”的模型可以从自身上下文中重现看似合理的输出——这里就有一个模型正是这么做的,后来也承认了。用随机令牌进行写入,要么落在存储中,要么没有。
测试
npm test20 个测试,无依赖,无需客户端:工具目录和 JSON-RPC 层都是纯的。
许可证
MIT
This server cannot be installed
Maintenance
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
AlicenseAqualityCmaintenanceExposes the four Ejentum cognitive harnesses (reasoning, code, anti-deception, memory) as MCP tools any agentic client can call. Drop-in scaffolding that catches LLM failure modes like sycophancy, hallucination, and reasoning shortcuts.48914MIT- AlicenseBqualityFmaintenanceExposes OpenClaw tools (web search, page fetching, browser automation, PDF analysis, messaging, inter-agent communication, Canvas) as MCP tools for ACP agents.71The Unlicense
- FlicenseNot gradedqualityCmaintenanceExposes MCP tools that enable remote LLMs to query local Docker containers, OS processes, and system services in real time.
- AlicenseAqualityDmaintenanceExposes Agent Skills to AI agents as MCP tools, enabling discovery and activation of skill instructions for coding agents.327MIT
Related MCP Connectors
Shared long-term memory vault for AI agents with 20 MCP tools.
Shared, governed long-term memory for AI agents across tools and sessions via MCP and REST.
Hosted MCP with 91 agent tools: X, domains, SEO, Maps, Trends, Search, YouTube, TikTok, and more.
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/Eyalm321/dsh-mcp-bridge'
If you have feedback or need assistance with the MCP directory API, please join our Discord server