dsh-mcp-proxy:为 DSH 提供上下文更省的 MCP 访问方式
dsh-mcp-proxy 是一个 MIT 许可证的 DSH 插件,旨在解决配置多个 MCP 服务器时,将所有工具完整 Schema 注册到提示上下文导致的开销增加问题。该插件通过仅注册 `mcp_discover` 和 `mcp_call` 两个代理工具,利用懒连接机制和磁盘工具目录缓存来管理后续的发现与调用,从而大幅降低常驻提示成本。 其核心功能包括按关键字搜索工具目录的 `mcp_discover`,以及指定服务器和工具名进行调用的 `mcp_call`。插件启动时不连接服务器,支持 stdio 或 streamable-http 类型,且默认服务器列表为空,需用户手动配置。安装要求 N
Read Moredsh-rtk-filter: Passing Oversized Command Output to RTK for the Model
`dsh-rtk-filter` is a community plugin for DeepSeek Harness (DSH), maintained by Aeternus123 and licensed under the MIT License. This plugin addresses the issue of excessive token consumption and high context usage caused by overly long tool outputs during agent command execution. Its core mechanism involves condensing text results that meet certain conditions (e.g., byte size exceeding the threshold `minBytes`) via the external `rtk` CLI after tool execution but before the model receives the output. The plugin is registered as a `tools/post-execute` transformer, replacing only the model-visible content without altering the original tool values, while strictly preserving critical status markers such as exit codes, timeouts, and signals. If `rtk` is missing, fails, or produces no changes, the plugin silently degrades to outputting the original content, ensuring stability.
Read More