Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

dsh-mcp-apps

Latest version: v0.3.1

Overview

Last scanned
29 Nov 2026
Published
29 Nov 2026
npm package Publisher: keitalax
1 Stars
1 Forks
11 Versions
1.2K Downloads
TypeScript Repo language

Scan summary

dsh-mcp-apps was last scanned on 29 Nov 2026 at version 0.3.1. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 11 versions; the latest 3 were published on 29 Nov 2026.
  • Findings: No rules fired in version 0.3.1.
  • Downloads: 1,162 downloads.

Versions

11 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.3.1 LATEST 29 Nov 2026 No rules fired
0.3.0 29 Nov 2026 No rules fired
0.2.7 29 Nov 2026 No rules fired
0.2.6 5 Nov 2026 Not shown
0.2.5 5 Nov 2026 Not shown

No rules fired in 0.3.1

Findings

Findings for v0.3.1. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 0.3.1; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

dsh-mcp-apps

npm Downloads TypeScript React Cordis CI License: MIT

Renders MCP Apps as sandboxed interactive iframes in DeepSeek Harness (DSH) web chat, with a built-in MCP Servers UI, Elicitation, Tasks, and OAuth.

Fixture MCP App rendered inline in DSH chat (Refresh requires allowAppToolCalls enabled).

Quickstart · Configuration & Recipes · Security Model · Compatibility · Troubleshooting


Features

  • Interactive MCP Apps (ui://): Renders tools declaring _meta.ui.resourceUri (MCP Apps, SEP-1865) as sandboxed iframes with auto-generated CSP, Interactive App badge, and anti-collapse behavior.
  • Built-in MCP Servers UI: Add, probe, edit, hot-reload, and inspect remote MCP servers directly from Plugins → MCP Servers (or Plugins → dsh-mcp-apps) without restarting DSH.
  • App actions (tools/call & ui/message): Gated per server via allowAppToolCalls (default 'deny') and allowAppMessages (default 'approve', with provenance stamping and rate limits).
  • MCP Elicitation (form + url): Supports MCP Elicitation (2025-11-25) prompts in a host-wide overlay (shell.overlay) plus automatic single retry on -32042 (UrlElicitationRequired).
  • Opt-in MCP Tasks: Supports MCP Tasks (2025-11-25) (enableTasks: true) with live status and a per-task Cancel action.
  • Native OAuth: Browser PKCE + DCR (MCP Authorization) and machine-to-machine OAuth Client Credentials (io.modelcontextprotocol/oauth-client-credentials, client_secret_basic).
  • Headless-safe: Registers host-side MCP tools on tui/headless profiles too (no hard webServer requirement).

Requirements

  • Node.js >= 22 and Cordis >= 4.0.2
  • DSH matching ^0.2.1-rc.5 (>=0.2.1-rc.5 <0.3.0) for 0.2.5+ — web profile required for iframe UI. See docs/dsh-compatibility.md.
dsh-mcp-apps Requires DSH
0.2.5+ ^0.2.1-rc.5 (>=0.2.1-rc.5 <0.3.0)
0.2.2 – 0.2.4 ^0.1.7-rc.2 (>=0.1.7-rc.2 <0.2.0)
<= 0.2.1 0.1.5-rc.x

Quickstart

1. Install the plugin

In DSH Harness, open Plugins → + Add plugin, enter dsh-mcp-apps (Official npm registry), and click Install:

Or install via the DSH CLI:

pnpm dlx @deepseek-ai/dsh@0.2.1-rc.5 plugin --profile web add dsh-mcp-apps

dsh-mcp-apps is a self-activating DSH bundle (id: mcp-apps) — no manual insert: entry needed.

2. Add an MCP server

Via the DSH UI (recommended for remote servers):

  1. Open Plugins → MCP Servers (or Plugins → dsh-mcp-apps).
  2. Click Add server and paste your remote MCP endpoint URL (streamable-http or sse).
  3. DSH auto-probes the transport and auth mode (None, Header, OAuth, or M2M), saves to ~/.dsh/mcp-apps/servers.json, and connects immediately — no restart needed.

Via YAML (for local stdio servers or elevated policies):

Add a bare patch targeting id: mcp-apps in ~/.dsh/profiles/web/cordis.patch.yml (no insert:):

- id: mcp-apps
  config:
    servers:
      my-server:
        transport: streamable-http
        url: 'https://your-mcp-server.example.com/mcp'

See docs/configuration.md for stdio, ${VAR} secrets (allowedVars), OAuth PKCE / client_credentials, Elicitation, Tasks, and the full Configuration Reference.

3. Run & verify

If you added servers via YAML, restart DSH (pnpm dlx @deepseek-ai/dsh@0.2.1-rc.5 web). Then call a tool whose definition declares _meta.ui.resourceUri (ui://...) — it renders inline with an Interactive App badge.

Elicitation overlay (form / url) Server status, tasks & OAuth
Try the demo server

A hosted demo exercises all three 0.3.0 features without you writing a server: OAuth client_credentials, form + URL + out-of-band (-32042) elicitation, and task-augmented calls with live status and cancellation.

  1. Plugins → MCP Servers → Add server and paste https://dsh-demo-all-in-one.keita-atticot.workers.dev/mcp.
  2. DSH probes it as M2M; enter client id demo-client and secret demo-secret.
  3. Call these tools from the agent:
Tool What it demonstrates
demo_form_elicit Form overlay with string, email, integer, boolean, oneOf, anyOf, date and date-time fields
demo_url_elicit In-band URL overlay; the served /connect page closes it
demo_oob_auth Server responds -32042 (URL elicitation required); authorize, then retry
reset_oob_auth Makes demo_oob_auth fail with -32042 again
demo_long_task Task-augmented call with live statusMessage and a working Cancel
demo_optional_task taskSupport: optional routing — a task when the host augments the call
expire_token Revokes every token; the next call gets 401 and DSH re-fetches one

It is a public demo: the authorization server is a mock (fixed client id/secret, opaque 300 s tokens, unauthenticated /connect), so do not put anything private behind it. Run your own instead: node scripts/demo-all-in-one-server.mjs serves the same server on 127.0.0.1:4321, or deploy deploy/cloudflare-demo to your own Cloudflare account (npx wrangler dev locally, npx wrangler deploy to host).


How it works

flowchart LR
  chat["DSH Web Chat<br/>(McpAppToolView)"] <-->|"postMessage<br/>AppBridge"| iframe["Sandboxed iframe<br/>(ui:// MCP App)"]
  chat <-->|"RPC + resource fetch<br/>(/api/mcp-apps/*)"| host["dsh-mcp-apps Host<br/>(ServerPool / Brokers)"]
  ui["Elicitation Overlay<br/>& MCP Servers UI"] <-->|"RPC + poll"| host
  host <-->|"stdio / HTTP / OAuth<br/>Elicitation / Tasks"| mcp["MCP Servers"]

For full internals (CSP synthesis, handshake buffering, tool fingerprinting, anti-collapse), see docs/how-it-works.md.

Documentation

  • Configuration & How-To Recipes — UI vs YAML comparison, stdio, OAuth PKCE & client_credentials, Elicitation, Tasks, full Configuration Reference, and migrating from <= 0.2.2.
  • Security Model — Reverse tool calls, ui/message provenance & bounds, Elicitation validation, MCP Tasks limits, and UI servers.json boundaries.
  • DSH Compatibility — Peer ranges, host service contracts, and slot requirements.
  • How It Works — Architecture and runtime internals.

Troubleshooting

  • Tools show up twice: Do not register the same MCP server in both @deepseek-ai/dsh-mcp-client and dsh-mcp-apps.
  • ${VAR} isn't expanding: DSH_*, secret-shaped names (KEY/PASSWORD/SECRET/TOKEN), and agent sockets are blocked unless listed in that server's allowedVars (YAML only).
  • App button does nothing: allowAppToolCalls defaults to 'deny'. Set 'approve' (requires an active agent turn) or 'allow' (YAML only).
  • Remote connection rejected: Plain http:// is loopback-only (localhost, 127.0.0.1, ::1); use https:// elsewhere.
  • Duplicate plugin crash on load: Remove any legacy - insert: block for dsh-mcp-apps (see Migrating from 0.2.2 or Earlier) and verify with pnpm dlx @deepseek-ai/dsh@0.2.1-rc.5 --profile web --dump-config.
  • Peer incompatibility error: 0.2.5+ requires DSH ^0.2.1-rc.5; match your plugin and DSH versions using the table above.
  • OAuth popup fails: sign-in completes against a loopback listener on this machine by default, so it only works from a browser on the DSH host; set externalUrl in YAML when using DSH from another device, and keep it reachable by that browser. PKCE verifiers expire after 10 minutes. Clear ~/.dsh/mcp-apps/oauth/<server>.json if the callback address changed.

Development & Testing

pnpm install
pnpm typecheck
pnpm build
pnpm test

./client is a loader-only browser bundle (no exported TypeScript declarations). See CONTRIBUTING.md for the release process.

License

MIT © katticot

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • npm dsh-mcp-apps

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Vulnerability Insights

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?

Ethersphere Hijacked With Crypto Stealing Malware (1)
npm

Ethersphere Hijacked With Crypto Stealing Malware Via Github & npm

Copy of Template Design OX Blog (3)
Research

Ruby2Shell: Ruby Memory Corruption Flaws Expose Applications to Remote Code Execution, But is it an Actual Risk?

Frame 2085668439 (1)
Group 1261154229