# Interactive MCP Apps in ChatGPT, Claude, and Local Agents

By [Sebastian Mertens](https://www.linkedin.com/in/auto-mate/) · December 5, 2026

Release `0.1.95` adds seven shared **MCP Apps** views (`ui://ohmyho.st/*.html`) across the remote OAuth endpoint (`https://app.ohmyho.st/mcp`), the ChatGPT and Claude plugins, and local stdio (`ohmyhost-mcp`). Every tool keeps its structured JSON text output unchanged while MCP Apps hosts render sandboxed interactive cards with zero external network requests.

<figure class="fig"><img src="/images/mcp-apps-architecture.png" alt="MCP Apps architecture on ohmyho.st: ChatGPT, Claude, and local CLI agents call ohmyho.st MCP tools, receiving structured JSON alongside a sandboxed zero-network ui://ohmyho.st/*.html resource pointer." width="1200" height="675" fetchpriority="high" decoding="async"><figcaption>MCP Apps hosts render self-contained HTML views from tool output while text-only agents keep receiving the exact same JSON payloads.</figcaption></figure>

## Why structured JSON alone slows down interactive chat

An MCP-first platform lets coding agents handle deployments, database migrations, domains, and diagnostics through typed tool calls. Structured JSON works well when the model needs to parse a trace, extract a `project_id`, or decide the next step in a workflow. Humans reviewing that work in a chat thread often want something simpler: a readable table of deployments, a sortable SQL query grid, a clear view of workspace credits and budgets, or a direct link to an active live preview.

Without a UI layer, users either read raw JSON blobs inside the transcript or wait for the model to summarize and occasionally reformat dozens of rows into Markdown tables. Leaving the chat to open a separate browser dashboard breaks context, especially when the next action ("promote this revision", "inspect that deployment failure", or "apply the migration in Dev") still happens back in the conversation.

Interactive MCP Apps close that gap cleanly under **SEP-1865** (`@modelcontextprotocol/ext-apps`). Instead of replacing JSON or creating a second API contract, a tool response continues to return the full `content` payload for the model and adds lightweight metadata pointing to a declared HTML resource (`text/html;profile=mcp-app`) served by the same MCP server.

## How zero-network-CSP views work across hosts

Security comes first whenever an HTML view runs inside a third-party AI host. Every view packaged in `@ohmyhost/mcp-apps` enforces a **zero-network Content Security Policy**:

- **`connectDomains: []`**: The rendered widget cannot open `fetch()`, `XHR`, or WebSocket connections to external origins or even back to arbitrary hosts.
- **`resourceDomains: []`**: The widget loads no external stylesheets, scripts, web fonts, or third-party images. Every icon, stylesheet, and interactive handler ships inline inside the self-contained HTML document.
- **Standard + OpenAI host metadata**: Both `apps/control-api` (remote MCP) and `apps/mcp` (local stdio) attach standard MCP Apps `_meta.ui.resourceUri` fields on mapped tools and `_meta.ui.csp` / `_meta.ui.prefersBorder` on resources. When remote requests originate from ChatGPT, the server also adds `_meta["openai/outputTemplate"]`, `_meta["openai/widgetCSP"]` (`connect_domains: []`, `resource_domains: []`), and `_meta["openai/widgetPrefersBorder"]`, propagating metadata consistently in `resources/list` and `resources/read` (`contents[0]._meta`).

Because view rendering consumes the tool's existing JSON output locally inside the sandboxed frame, text-only clients (including terminal scripts or CLI pipes) lose nothing. The exact same tool call gives an agent clean machine-readable JSON while giving compatible chat interfaces a structured visual card.

## The seven shared MCP App views

<figure class="fig"><img src="/images/mcp-apps-seven-views.png" alt="The seven shared ui://ohmyho.st/*.html MCP App views introduced in ohmyho.st 0.1.95: workspace-overview, project-cockpit, deployment-pipeline, database-explorer, domains-and-mail, native-auth, and secrets-and-connections." width="1200" height="675" loading="lazy" decoding="async"><figcaption>Seven self-contained views cover daily operations while leaving sensitive credential and checkout workflows strictly text-only.</figcaption></figure>

Rather than maintaining separate HTML templates per tool or divergence between ChatGPT, Claude, and local coding agents, ohmyho.st shares one canonical catalog of seven views:

| View resource URI | What the card displays | Representative tools |
| --- | --- | --- |
| `ui://ohmyho.st/workspace-overview.html` | Signed-in identity, workspace list, credit balance, usage breakdown, and project budgets | `identity_get`, `project_list`, `organization_credits_get`, `organization_usage_get`, `project_budget_get` |
| `ui://ohmyho.st/project-cockpit.html` | Project status, handles, Dev vs Prod environments, shared context, and live preview URLs | `project_get`, `project_status`, `project_context_get`, `preview_open`, `preview_draft` |
| `ui://ohmyho.st/deployment-pipeline.html` | Deployment plans, rollout operations, promotion/rollback previews, and runtime failure logs | `deployment_plan`, `deployment_create`, `deployment_logs`, `operation_get`, `deployment_promote` |
| `ui://ohmyho.st/database-explorer.html` | Tabular SQL query output, schema migrations, database compute state, schedules, and webhooks | `database_query`, `database_migrate`, `perform_database_schema_update`, `database_compute_get` |
| `ui://ohmyho.st/domains-and-mail.html` | Custom domain verification, Cloudflare DNS status, mail domain setup, and delivery history | `domain_paid_status`, `application_domain_identity_get`, `workspace_mail_domains_list`, `mail_messages_list` |
| `ui://ohmyho.st/native-auth.html` | Omh Native Auth readiness, email sender status, OAuth providers, and end-user directory | `native_auth_config_get`, `native_auth_provider_get`, `native_auth_users_list` |
| `ui://ohmyho.st/secrets-and-connections.html` | Configured secret names, protected secret-input link status, GitHub binding, and active MCP clients | `secrets_list`, `secret_input_request`, `connection_status`, `organization_mcp_connections_list` |

Each card displays only the data returned by that specific tool call, preserves clear Dev versus Prod context badges, and uses copyable monospaced identifiers for project handles, operation IDs, and preview URLs. Review the complete tool catalog in the [MCP tool reference](https://docs.ohmyho.st/mcp-tools) and the setup guide in [Connect your agent](https://docs.ohmyho.st/agents/mcp).

## Which workflows stay text-only by design

Adding a visual card to every endpoint without exception would blur important security and boundary rules. Four tool categories stay intentionally text-only without an attached UI view:

1. **Secret-returning and signing endpoints**: Tools that deal with credential rotation or private signing payloads (such as mail webhook rotation or export download-link issuance) never mirror values into an HTML iframe. Remote secret entry continues to flow exclusively through short-lived, single-use [protected secret forms](https://docs.ohmyho.st/secrets).
2. **Account-wide API key management and billing settings**: Reading workspace usage, remaining credits, and existing plan access renders cleanly inside `workspace-overview.html`, whereas checkout links, payment-method updates, automatic recharge configuration, and API-key lifecycle actions remain excluded or CLI-guided according to each plugin's permission contract.
3. **Low-level source trees and blob uploads**: Uploading complete file trees (`source_upload_prepare`, `source_blob_put`, `source_changes`) or fetching individual source files generates large text buffers better consumed directly in agent context or editor diffs than squeezed into a chat widget.
4. **`api_reference` lookups**: Inspecting OpenAPI endpoints and compiled contract hashes produces targeted developer documentation meant for the model's reasoning loop.

Keeping those boundaries strict ensures interactive cards act as a high-signal visual surface rather than a second credential-handling attack surface.

## Practical prompts to try in ChatGPT, Claude, or your local editor

Because both the remote endpoint (`https://app.ohmyho.st/mcp`) and the upgraded local client use the same view URIs, you can ask your agent to inspect live state right inside the conversation and review the resulting card alongside the summary.

To check your active account, available credits, and project list before starting work:

```text
Inspect my signed-in ohmyho.st identity, organization credits, and current projects. Keep Dev and Prod clearly separated and do not deploy anything yet.
```

To review a database schema change and recent deployment logs without switching browser tabs:

```text
Check the latest Dev deployment status and deployment logs for my active project, then show the current database compute state and table list before we touch migrations.
```

To verify custom domains and email delivery bindings ahead of a production launch:

```text
Read domain status, application domain identity, and managed mail readiness for this project. List any missing DNS or verification step before requesting approval to apply changes.
```

For workflows involving GitHub source sync, Postgres migrations, or end-user login setup, pair these prompts with the detailed instructions in [Database setup](https://docs.ohmyho.st/database), [Domains](https://docs.ohmyho.st/domains), and [Application Auth](https://docs.ohmyho.st/application-auth).

## Rolling out 0.1.95 across remote and local clients

The `0.1.95` update activates on two paths depending on how you connect to ohmyho.st:

- **Remote OAuth (`https://app.ohmyho.st/mcp`)**: Updated immediately in production. For existing connections in [ChatGPT](/blog/ohmyhost-chatgpt-plugin) or Claude, refresh the connected plugin/MCP catalog or open a fresh chat so the host reloads the updated tool `_meta` annotations and resource declarations while keeping your existing OAuth sign-in intact.
- **Local stdio (`ohmyhost-mcp`)**: Upgrade both the CLI and local MCP client to `0.1.95` from npm (`@amerged/ohmyhost-cli@0.1.95`, `@amerged/ohmyhost-mcp@0.1.95`), then restart any running local MCP server process in Codex, Claude Code, Cursor, or Hermes so the host picks up the new resources list.
- **Bundled plugins and open source**: The updated Claude plugin package in `amerged-org/ohmyhost-plugin`, the local MCP source mirror in `amerged-org/ohmyhost-mcp`, and the refreshed OpenAI plugin bundle all align on `0.1.95`, alongside the release notes in the [Changelog](https://docs.ohmyho.st/changelog).

Whether you build prototypes inside ChatGPT, migrate artifacts in Claude (see [Hosting a Claude artifact on your own domain](/blog/how-to-host-a-claude-artifact)), or operate production infrastructure from a local terminal, the agent workflow stays identical while interactive cards make operational state effortless to verify.

## FAQ

### Do text-only MCP hosts still work after 0.1.95?

Yes. Every tool continues returning the exact same JSON text content in its response alongside structured UI metadata. Hosts that do not implement SEP-1865 MCP Apps simply ignore `_meta.ui` and `resources/read` and operate from the JSON text as before.

### Why do the MCP App cards use connectDomains: [] and resourceDomains: []?

Setting both allowlists to empty arrays prevents the rendered HTML widget from performing outbound network requests or loading external scripts and fonts inside the AI host. Every card builds solely from inline styling, inline script logic, and the JSON result already delivered by the MCP tool call.

### Do I need to re-authenticate my OAuth connection to see the new cards?

No. Existing OAuth grants on `https://app.ohmyho.st/mcp` stay valid. In ChatGPT or Claude, refresh the connector or start a fresh chat session so the host fetches the updated `tools/list` metadata and `ui://ohmyho.st/*.html` resources.

### Why do billing checkout and secret-returning tools stay text-only?

Checkout configuration, payment-method management, API key revocation, and secret-value handling belong to explicit authorization flows or short-lived protected web forms rather than chat widgets. Rendering only read-safe summaries and protected-link statuses keeps sensitive credentials out of embedded iframes.