Overview
MCP Apps are visual templates that render API or tool results as interactive widgets in MCP-compatible hosts (for example charts, tables, and custom layouts). You manage organization templates under MCP Apps, and per-agent generative UI templates on the agent Generative UI tab. MCP Apps complement native MCP servers and OpenAPI applications: they control how results look, not which backend you connect.Accessing MCP Apps
Navigate to MCP Apps from the main menu (admin). The list shows templates grouped by application, with search and actions to create, clone, edit, or delete.Create a template
- Open MCP Apps
- Click Create Template
- Choose the target application (API / MCP app name)
- Define the template id and layout (starter layouts or JSON / json-render style specs, depending on editor)
- Preview with sample state when available
- Save
run_action_ui, run_multi_actions_ui, and generative UI tools when MCP App UI is enabled on your deployment. See MCP Gateway Tools.
Edit, clone, and delete
- Edit — open the template editor for an existing template
- Clone — duplicate a template to another id or app context
- Delete — remove a template from the organization library
GitHub Sync
MCP Apps supports optional GitHub Sync for template source control:- Connect a GitHub repository
- Push local templates to the repo
- Pull remote changes into Apigene
- Review Sync History
- Disconnect when you no longer need sync
Generative UI on agents
Each agent can also manage generative UI templates after the agent is saved:- Open Agents → select an agent → Generative UI
- Create or edit templates used when that agent renders MCP App results
- Preview with sample state
- Save the agent
show_generative_ui, template CRUD tools, and show_generative_ui_from_template. Prefer putting dynamic values in template state so runtime data can merge cleanly.
Editor tips
- Start from a starter layout when available, then customize
- Keep layouts focused on one job (one chart, one table, one form)
- Preview before attaching the agent to external MCP clients
- Disable unused UI tools under agent Setup → Enable MCP Tools for least privilege
When templates apply
Feature availability depends on deployment flags for MCP App UI / generative UI.
