oriliz/dsh-mcp-apps-host1

@deepseek-ai/dsh-mcp-apps-host

MCP Apps Host: connects to an MCP Apps server, preserves _meta.ui in tool results, renders interactive HTML cards via sandboxed iframe, and bridges postMessage to MCP calls

包名
@deepseek-ai/dsh-mcp-apps-host
版本
0.1.0-rc.2
最近更新
2026年8月29日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:oriliz/dsh-mcp-apps-host

Usage

1. Configure the connection

Declare one plugin instance per MCP Apps server in your overlay (serverName picks both the tool prefix mcp____* and the bridge path /mcp-apps//bridge). A ready-to-edit template ships in examples/connect-server.patch.yml:

- insert:
    - id: mcp-apps-host-my-server
      name: '@deepseek-ai/dsh-mcp-apps-host'
      config:
        transport: stdio
        serverName: my-server
        command: my-apps-server
        args: []
        env: {}
        cwd: ''
        toolCallTimeoutMs: 60000

transport: streamable-http with a url field is also supported.

2. Start DSH

dsh --profile web --patch ./examples/connect-server.patch.yml

3. Verify

Ask the agent to call one of your server's tools. The tool result renders as an interactive card inside the conversation instead of a plain result row — and the card's own buttons reach back to your server through the bridge (tools/call, resources/read, ui/message). No server at hand? Use the bundled demo first.