Skip to main content

Introduction to App Plugins

Build your product natively inside Qoder: no custom agent engine to maintain, no desktop client to rewrite—upgrade your existing app into an AI-collaborative workbench overnight and reach 8M+ developers and tens of thousands of enterprises. Integrating an App Plugin unlocks four high-impact advantages for your product:
  • The entire right-hand workbench container is yours—elevate from "headless API" to "first-class branded app": Go far beyond tiny widgets or text hidden inside chat. The full right-hand workbench container (plus a dedicated global main view in the left sidebar) is open for your app to render freely—bringing your full UI, canvases, charts, specialist toolbars, and brand experience straight into the user's active workflow.
  • Native real-time bidirectional communication between your UI and the host agent: Not a static embedded webpage, but a living AI workbench. Agent → Page: When the agent calls a tool in chat, your workbench opens automatically and receives live results. Page → Agent: When users select objects, tweak parameters, or click actions in your UI, you can push selections straight into the model context (ui/update-model-context) or send messages / prefill drafts (ui/message) to drive the agent's next step.
  • Reuse existing Web / SaaS investments to gain AI superpowers at low cost: No need to build an agent engine from scratch or rewrite a desktop app. Wrap your existing hosted web app in a lightweight local shell inside Qoder to reuse your frontend codebase and login sessions while handling the precision 20% of specialist work that pure chat can't replace.
  • 100% ownership of accounts, data, and monetization: Keep your existing authentication, OAuth flows, RBAC permissions, cloud storage, and billing intact. Qoder provides only the sandboxed UI container and protocol bridge—never intercepting your data or bypassing authorization.
Full Qoder client view: task chat on the left and SketchUp interactive workbench on the right
Real-world example: Chat with the Qoder agent on the left while the entire right-hand container is dedicated to the partner app (3D viewport, toolbars, material panel, object outliner), with real-time bidirectional sync between UI actions and the agent.

Two Integration Models: Pick What Fits Your Product

App Plugins follow the standard Plugin publishing flow and offer two low-friction paths:
Integration ModelBest ForHow It WorksKey Benefit
Embed an Existing Web / SaaS App (Most common for B2B)Teams with an established console, online canvas, BI dashboard, ticketing portal, or docs appWrap your hosted web URL inside a lightweight local HTML shell with a CSP domain allowlist and bridge host capabilities over postMessageReuses your existing frontend, auth sessions, and release cadence with minimal effort to become AI-collaborative
Bundled Lightweight Interactive View / CardHigh-frequency micro-workflows (approvals, parameter panels, result previews, research filters)Build with React, Vue, or vanilla HTML bundled directly in the Plugin ZIP, reading/writing data through the same MCP serverInstant startup with no extra frontend hosting required—ideal for tight, high-frequency loops

Products That Shine as App Plugins

Product CategorySignature User Experience
Design / 3D / Creative & Media ToolsDraft via chat, then orbit models, pick objects, and fine-tune layers and materials directly in the right-hand workbench
BI Dashboards / Observability / DatabasesRender interactive charts, logs, and SQL result grids; select anomalous metrics and have the agent diagnose root causes
Enterprise SaaS (CRM / ERP / Ticketing / Knowledge Bases)Search, filter, and multi-select records or docs right beside chat (with @ mention support), confirm changes, and write back in one click
Vertical Specialist Software (Bioinformatics / Finance / Legal / CAD)Purpose-built forms and visual inspectors handle intricate parameters and human sign-off while the agent automates end-to-end orchestration

3 Prime Surfaces Inside Qoder

In-Client SurfaceHow It's DeclaredHow Users Open ItTypical Use Cases
Left Sidebar Global App (global)Tool _meta["qoder/ui"].entrypointsClick More → Your App in the bottom-left sidebar to open a dedicated main viewFull SaaS workbenches, standalone high-frequency apps, project/resource hubs
Thread Right-Hand Workbench (thread / fullscreen)Tool thread entrypoint, or resource preferredDisplayMode: "fullscreen"The full right-hand container opens for your app, either launched by the user or slid open automatically when the agent calls a tool, synced live with chat on the leftSide-by-side inspection, canvas/3D manipulation, data filtering, document review
Inline Chat Card (inline)Resource preferredDisplayMode: "inline"Embedded directly inside the chat timeline when the agent calls a toolLightweight approvals, short input forms, single-chart previews
Selection tip: Entrypoints (global / thread) control where users proactively launch your app; display modes (inline / fullscreen) control which container renders the view after a tool call. The two are independent. fullscreen means a dedicated standalone container view (global main view or right-hand tab)—not full-monitor kiosk mode.

Architecture & Host Capabilities

App Plugins are built on the MCP Apps (2026-01-26) protocol, executing inside a Qoder sandboxed container (no Node integration, sandbox enabled) that bridges your UI to your MCP server and the Qoder agent:
User
 ├─ Chats with prompt  ──→ Qoder Agent ──→ Your MCP Tools ──→ Your Backend / Database
 └─ Interacts in UI    ──→ Your App UI ──→ Qoder Host Bridge ──→ Same-Server Tools
                                              ├─ Send chat messages / prefill drafts
                                              ├─ Sync selected items to model context
                                              ├─ Open / pick / Save-As export local files
                                              ├─ Host settings form / @ mentions / deep links
                                              └─ Theme, locale, container size & lifecycle events
Capability GroupExposed CapabilitiesIntegration MechanismKey Boundaries
Views & EntrypointsInteractive pages, global entry (global), thread entry (thread)ui.resourceUri + _meta["qoder/ui"].entrypointsTop-level resource must return text/html;profile=mcp-app; raw web URLs cannot be returned directly
Data & ToolsCall tools and read resources from UItools/call, resources/list / readRestricted to tools and resources on the same MCP server marked visible to the App
Agent CollaborationSend chat messages, prefill drafts, update model contextui/message, ui/update-model-contextSupports role: "user" only; the model cannot inspect the DOM automatically—sync explicitly
Remote & NavigationEmbed remote web apps, call remote APIs, open external/thread links, deep links_meta.ui.csp, ui/open-link, <scheme>://plugins/.../app/...Cross-origin child iframes must bridge through your validated local shell and cannot call host APIs directly
Files & ExportOpen/pick/drag local files, attach files to a new thread draft, Save-As downloadqoder/files/*, ui/download-fileLocal file APIs require a local session + stdio/inProcess; downloads always prompt the user for a path
Deep Host IntegrationHost settings forms, custom settings views, @ mention search in chat inputqoder/settings, settings entrypoint, qoder/mentionsSearch tools must be read-only; the settings entrypoint binds to existing settings navigation rather than inventing buttons

Environment Compatibility & Integration Boundaries

Runtime EnvironmentSupport LevelArchitectural Guidance
Qoder Desktop (macOS / Windows) Local SessionsFull support for App containers and host capabilitiesPrimary delivery surface for end users
Managed SSH / Peer Remote SessionsRenders App UIMessaging, model context updates, and local file open APIs are disabled based on session location
Qoder Web / Qoder CLI / Qoder Agent SDK / Qoder Cloud AgentsWeb does not render App containers; CLI and Cloud run pure tools and SkillsCheck io.modelcontextprotocol/ui during MCP initialize and fall back gracefully to pure tool workflows when UI is unavailable
  • Gate UI features by runtime capabilities: After handshake, call app.getHostCapabilities() to toggle buttons dynamically—never guess permissions from client version strings.
  • State & timeout boundaries: The model never reads your DOM automatically. If a write, message send, or download times out, its outcome is indeterminate—read back state or prompt the user to inspect chat instead of auto-retrying.
  • Unsupported features: App UIs cannot mutate Qoder's chat view, invoke host Node.js directly, or call tools across other Plugins. sampling/createMessage, prompts/get, resources/templates/list, Form Elicitation, host-level Onboarding, file-extension associations, and in-place requestDisplayMode container transitions are not supported.

Next Steps: Start Building

Your GoalGo To
Generate conversationally with /plugin-creator, or build a minimal working loop manually in 10 minutesApp Plugin Quickstart
Embed an existing web app via CSP + bridging, or integrate Agent collaboration, settings, @ mentions, and deep linksProtocol & Host Capabilities
Align with all three container layouts, light/dark themes, state contracts, and lifecycle hooksUI & Interaction Guidelines
Production persistence, security/CSP checks, Desktop QA checklist, and troubleshootingDebug & Verify App Plugins
Full protocol method matrix, size/concurrency budgets, and MCP_APP_* error codesConfiguration & API Reference