2026-09-26·par Sijie Wang#standmeet#architecture#design

mcp-capability-plugins

Parent: capabilities

This page is the capability plane — StandMeet as MCP host (see confusables). The agent's external tools / skills (retrieval, booker, summarize, ask_visitor + owner-registered ext-mcp). Already plugin-shaped — one of the two plugin axes (the other is connector-plugins; the axes touch only at connector-deps).

  • Sandboxed: each runs in a bubblewrap namespace, --unshare-net (network-isolated), reaching the host only through one narrow unix socket per capability (/run/standmeet/<cap>.sock). ask_visitor has no socket at all — fully offline. (cmd/server/blockwire/block_register.go registers them; internal/infra/sandbox/ is the bwrap runner; the builtin manifests are data at backend/blocks/<id>/manifest.yaml, loaded by internal/plugin/load.go.)
  • Builtin == third-party: builtins are JS MCP servers (run by node inside the sandbox) loaded through the same sandbox_stdio path as third-party plugins; the contract is a manifest + the MCP protocol, not Go imports.
  • Manifest Requires: a capability declares its deps (calendar.book → requires: [calendar], mail.send → [mail]); the host validates them at boot (blockwire/block_register.go:172) and gates exposure if a dep isn't connected — the Android-manifest model of prompt-injection-is-buffer-overflow. A second, per-tool layer VisitorToolRequires (tool → action-qualified dep such as calendar:events.insert, F-B-8) hides only the tool the connection cannot perform, instead of the whole capability.

Class view

Transport.Kind selects the wire (stdio child / http / in-process); Sandbox.HostOps names the host ops (fixed vocabulary in routes/hostdesk) that the capsocket back-channel serves — the socket path is derived by the host from the plugin id, never declared (renamed from HostSockets when hostdesk landed, 2026-08-01, 5cb8d8464); Requires feeds connector-deps; PromptFragmentID feeds the prompt-hash regression.

How a capability gets the session's trusted scope without the LLM forging it → trusted-identity-via-meta.