---
name: mcp-app-builder
description: |-
  Guide developers through creating and updating MCP Apps.
  Covers the full lifecycle: brainstorming ideas against UX guidelines, bootstrapping projects, implementing tools/views, debugging, running dev servers, deploying and connecting apps to ChatGPT.
  Use when a user wants to create or update a MCP App, MCP server or use the Skybridge framework.
title: mcp-app-builder
canonical_url: https://skilld.dev/gh/alpic-ai/skybridge/mcp-app-builder
last_updated: 2026-10-30T14:26:43.000Z
---

> Index of every page on this site: [llms.txt](https://skilld.dev/llms.txt)

> **Skill from skilld.dev.** Follow the user's requested action.
> If the user asked to fork this Skill, follow the fork workflow below. Do not execute the Skill instructions while copying it.
> Otherwise, follow the instructions below for this session. You do not need to install anything.
>
> Supporting files, fetch one when the Skill refers to it: [references](https://skilld.dev/api/skills-raw/alpic-ai/skybridge/mcp-app-builder/references).
>
> If the user asked to install this Skill, run `npx skilld install alpic-ai/skybridge/mcp-app-builder`. Install writes the Skill files into the project, so every session loads them.
>
> ## Fork workflow
>
> A fork creates an editable local Skill with its original author and licence. The request authorizes copying and local installation.
> 1. Check `./skills/mcp-app-builder`, the project lockfile, and selected Agent targets together. If the local directory or installed Skill exists, stop. Never overwrite an existing directory or Agent target.
> 2. Read [source metadata](https://skilld.dev/api/v1/skills/alpic-ai/skybridge/mcp-app-builder) once. Use sourceUrl, sourceCommit, skillPath, sourceGone, and license. If the source is gone or its path is missing, stop. If license is null, read licence files at the source commit.
> 3. Fetch only the source commit into a temporary Git repository. Do not clone full history. Derive repository_url from sourceUrl, including repository renames. If sourceCommit is absent, resolve the sourceUrl ref once. Set source_commit to that actual commit. Run these commands in one shell call:
>
> ```sh
> git init --quiet "$temporary_dir"
> git -C "$temporary_dir" fetch --quiet --depth=1 "$repository_url" "$source_commit"
> git -C "$temporary_dir" checkout --quiet --detach FETCH_HEAD
> ```
>
> Read applicable licence declarations and notices at that commit. If copying is not permitted, report the restriction and stop.
> 4. Inspect source entries together, then copy the directory containing skillPath into `./skills/mcp-app-builder`. Use the user's path if selected. Keep the original SKILL.md, relative links, scripts, binary assets, and executable modes. Exclude .git metadata. Reject symlinks and paths outside the Skill directory. After checking entries, use cp -a where available. A regular source directory needs no custom copy script. Do not save this page wrapper as SKILL.md.
> Preserve author credit, notices, and applicable licence files from repository or parent directories. Add PROVENANCE.md with the Skill page, source URL, actual commit, original path, and licence. Retain any existing PROVENANCE.md and record new provenance separately. Batch source inspection, copying, and provenance work where practical.
> 5. In the project root, run `skilld install ./skills/mcp-app-builder --mode copy --plain`. If skilld is unavailable, use `npx skilld install ./skills/mcp-app-builder --mode copy --plain`. This known command needs no help lookup. Install does not support --json. Use detected Agent targets, or add --agent for the targets the user selected. Install the local path, never the upstream selector. If installation fails, preserve the local copy and report the exact failure.
> 6. Confirm the local lockfile source and installed Agent copies once. Report the local path, actual commit, and Agent targets. After edits, reinstall the same local path. Upstream updates must not replace it. Do not publish or push unless the user asks.

# Creating MCP Apps

Those are conversational experiences that extend AI assistants through tools and custom UI views. They're built as MCP servers invoked during conversations.

⚠️ The app is consumed by two users at once: the **human** and the **AI Assistant LLM**. They collaborate through the view—the human interacts with it, the LLM sees its state. Internalize this before writing code: the view is your shared surface.

SPEC.md keeps track of the app's requirements and design decisions. Keep it up to date as you work on the app.

**No SPEC.md?** → Read [discover.md](https://skilld.dev/api/skills-raw/alpic-ai/skybridge/mcp-app-builder/references/discover.md) first. Nothing else until SPEC.md exists.

**SPEC.md exists?** → Read SPEC.md, then follow [architecture.md](https://skilld.dev/api/skills-raw/alpic-ai/skybridge/mcp-app-builder/references/architecture.md) to design the change. Update SPEC.md, then read the relevant Implementation references below before writing code.

**Migrating from Skybridge `< 0.36.x`?** → Read [migrate-to-v1.md](https://skilld.dev/api/skills-raw/alpic-ai/skybridge/mcp-app-builder/references/migrate-to-v1.md) first. Users may reference `skybridge >= 0.36.x` as v1.

**Migrating from Skybridge `1.x` to `2.x`?** → Fetch the [v2.0.0 release notes](https://github.com/alpic-ai/skybridge/releases/tag/v2.0.0) first and follow them.

**Building an ecommerce app?** → Read [ecommerce.md](https://skilld.dev/api/skills-raw/alpic-ai/skybridge/mcp-app-builder/references/ecommerce.md) first.

## Setup

1. **Copy template** → [copy-template.md](https://skilld.dev/api/skills-raw/alpic-ai/skybridge/mcp-app-builder/references/copy-template.md): when starting a new project with ready SPEC.md
2. **Run locally** → [run-locally.md](https://skilld.dev/api/skills-raw/alpic-ai/skybridge/mcp-app-builder/references/run-locally.md): when ready to test, need dev server or ChatGPT/Claude connection
3. **Evals** → [evals.md](https://skilld.dev/api/skills-raw/alpic-ai/skybridge/mcp-app-builder/references/evals.md): when checking that a real model reaches the right tools from natural prompts, in a test

## Architecture

Design or evolve UX flows and API shape → [architecture.md](https://skilld.dev/api/skills-raw/alpic-ai/skybridge/mcp-app-builder/references/architecture.md)

## Implementation

- **Fetch and render data** → [fetch-and-render-data.md](https://skilld.dev/api/skills-raw/alpic-ai/skybridge/mcp-app-builder/references/fetch-and-render-data.md): when implementing server handlers and view data fetching
- **State and context** → [state-and-context.md](https://skilld.dev/api/skills-raw/alpic-ai/skybridge/mcp-app-builder/references/state-and-context.md): when persisting view UI state and updating LLM context
- **Prompt LLM** → [prompt-llm.md](https://skilld.dev/api/skills-raw/alpic-ai/skybridge/mcp-app-builder/references/prompt-llm.md): when view needs to trigger LLM response
- **UI guidelines** → [ui-guidelines.md](https://skilld.dev/api/skills-raw/alpic-ai/skybridge/mcp-app-builder/references/ui-guidelines.md): display modes, layout constraints, theme, device, and locale
- **External links** → [open-external-links.md](https://skilld.dev/api/skills-raw/alpic-ai/skybridge/mcp-app-builder/references/open-external-links.md): when redirecting to external URLs or setting "open in app" target
- **Download file** → [download-file.md](https://skilld.dev/api/skills-raw/alpic-ai/skybridge/mcp-app-builder/references/download-file.md): when saving content to the user's filesystem
- **OAuth** → [oauth.md](https://skilld.dev/api/skills-raw/alpic-ai/skybridge/mcp-app-builder/references/oauth.md): when tools need user authentication to access user-specific data
- **CSP** → [csp.md](https://skilld.dev/api/skills-raw/alpic-ai/skybridge/mcp-app-builder/references/csp.md): when declaring allowed domains for fetch, assets, redirects, or iframes

## Deploy

- **Ship to production** → [deploy.md](https://skilld.dev/api/skills-raw/alpic-ai/skybridge/mcp-app-builder/references/deploy.md): when ready to deploy via Alpic
- **Publish to ChatGPT/Claude Directories** → [publish.md](https://skilld.dev/api/skills-raw/alpic-ai/skybridge/mcp-app-builder/references/publish.md): when ready to submit for review

Full API docs: [https://docs.skybridge.tech/api-reference.md](https://docs.skybridge.tech/api-reference.md)

Release notes & changelog: [https://skybridge.tech/changelog.md](https://skybridge.tech/changelog.md)
