oriliz/dsh-mcp-apps-host

oriliz★ 1TypeScript最后同步: 2026-08-20

在 GitHub 打开

MCP Apps Host plugin for DeepSeek Harness: renders interactive HTML cards from MCP _meta.ui in sandboxed iframes, bridges postMessage to MCP tools/call and resources/read

README 摘要

DSH MCP Apps Host MCP Apps Host plugin for DeepSeek Harness. Connects to an MCP server that declares the io.modelcontextprotocol/ui extension, preserves meta.ui in tool results, renders interactive HTML cards in sandboxed iframes, and bridges postMessage between cards and the MCP server. Features - Tool discovery with meta preservation — MCP tools registered with full meta.ui payloads intact - Interactive HTML cards — sandboxed iframe rendering with per-card CSP - postMessage bridge — ui/initialize , tools/call , resources/read , ui/update-model-context , ui/message - Session ID injection — automatically injects session id into card-initiated tools/call - Invisible context injection — ui/update-model-context context injected as a plugin-sourced message via agent.inject() , classified as a collapsed context row (not a visible user message bubble) - HTTP bridge endpoint — /mcp-apps/ /bridge for secure iframe-to-MCP-server proxying - stdio + streamable-http — supports both MCP transport types Install From source (monorepo) Usage 1. Configure in DSH profile Add to your cordis.patch.yml : 2. Start DSH 3. Verify Ask the agent to search for a product. The MCP tool result renders as an int…

在 GitHub 查看完整 README →
工具/开发deepseek-harnessdsh-pluginmcpmcp-apps

分类