mcp-app-development

mcp-app-development is a skill for Claude Code, Codex from asgeirtj/system_prompts_leaks. It costs 79 tokens per session (3,407 once invoked), scanned B, original, CC0-1.0.

A development guide for MCP Apps: MCP tools that return an interactive web page as well as data. It covers building, packaging, theming, and fixing these pages in Google Antigravity.

In plain words
What is it for?
Use it to add a user interface to an MCP tool, package the result as a plugin, or debug an app that does not display correctly.
Why use it?
It explains the connection between an MCP server tool and the page shown in the conversation or side panel, making rendering and packaging problems easier to diagnose.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to add a user interface to an MCP tool, package the result as a plugin, or debug an app that does not display correctly.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/asgeirtj/system_prompts_leaks/mcp-app-development
About the project

System Prompts Leaks is a collection of captured system instructions used to guide AI chatbots and coding agents before they receive user messages. It serves researchers and developers studying how different AI assistants are directed.

asgeirtj/system_prompts_leaks · 73,683 stars · on GitHub

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add asgeirtj/system_prompts_leaks --skill mcp-app-development
Clone the repo
git clone --depth 1 https://github.com/asgeirtj/system_prompts_leaks

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for mcp-app-development

README.md
[![agentmods](https://agentmods.dev/badge/skills/asgeirtj/system_prompts_leaks/mcp-app-development/github.svg)](https://agentmods.dev/skills/asgeirtj/system_prompts_leaks/mcp-app-development)
Your own site
<a href="https://agentmods.dev/skills/asgeirtj/system_prompts_leaks/mcp-app-development"><img src="https://agentmods.dev/badge/skills/asgeirtj/system_prompts_leaks/mcp-app-development/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for mcp-app-development

Your own site · 80×15
<a href="https://agentmods.dev/skills/asgeirtj/system_prompts_leaks/mcp-app-development"><img src="https://agentmods.dev/badge/skills/asgeirtj/system_prompts_leaks/mcp-app-development.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 79 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,407 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00079 $0.03407
Opus 5.5 $0.00032 $0.01363
Sonnet 5.5 $0.00016 $0.00681
Haiku 4.5 $0.00008 $0.00341

Measured 6d ago against content hash 7142f9ef9767, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

mcp-app-development scanned grade B with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

Ship the server as a plugin under `~/.gemini/config/plugins/<name>/`. There is

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -sf -H "Content-Type: application/json" \
Google/antigravity/skills/mcp-app-development/SKILL.md · 281 lines

How it starts

The opening of the file, as written. The whole thing — 281 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Developing MCP Apps

An MCP App is an MCP tool that ships its own UI. The tool's _meta points at a ui:// resource on the same server; when the tool runs, Antigravity reads that resource (one HTML document), renders it in an isolated iframe on its own origin, and talks to it over JSON-RPC on postMessage. The app gets the tool's input and result, and can call back into its server, message the conversation, and attach context to the user's next message.

Spec: modelcontextprotocol/ext-apps (SEP-1865). Antigravity implements it plus a few extensions, described below.

Server side

1. Declare the UI resource

Serve the app as a resource with a ui:// URI and MIME type text/html;profile=mcp-app. The HTML is fetched each time a view opens and is never stored in the trajectory. Limit: 10 MiB.

Optional resource _meta.ui fields the host acts on:

  • csp: connectDomains, resourceDomains, frameDomains, baseUriDomains (origins only, such as https://cdnjs.cloudflare.com; see Isolation and CSP).
  • prefersBorder (bool): whether the host draws a border around the frame.

2. Point tools at it

APP_URI = "ui://tasks/app.html"

# Renders the app inline in the conversation.
INLINE = {"ui": {"resourceUri": APP_URI}}

# Also openable from the side pane "+" menu and full-page from the left sidebar
PANE = {
    "ui": {"resourceUri": APP_URI},
    "com.google.antigravity/ui": {
        "entrypoints": [
            {"type": "aux_pane", "title": "Tasks"},
            {"type": "global", "title": "Tasks"},
        ]
    },
}

# Only the app may call it; the model never sees it.
APP_ONLY = {"ui": {"visibility": ["app"]}}

mcp.tool(title="Create a task board", meta=INLINE)(create_board)
mcp.tool(name="open_tasks", title="Tasks", meta=PANE)(open_tasks)
mcp.tool(meta=APP_ONLY)(app_save_board)
mcp.resource(APP_URI, name="Tasks app",
             mime_type="text/html;profile=mcp-app",
             meta={"ui": {"prefersBorder": False}})(app_html)

Read the full file on GitHub · 281 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 281 lines · 79 tokens per session scan B 7142f9ef9767

Subscribe to this mod's changes

mcp-app-development is a skill published in the GitHub repository asgeirtj/system_prompts_leaks (73,683 stars, last pushed yesterday), licensed CC0-1.0. It adds 79 tokens to every session and 3,407 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it B with 2 findings (reads agent configuration directories, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-24.

Related

mcp-app-development compared with skills from other repositories

mcp-app-development next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
mcp-app-developmentasgeirtj/system_prompts_leaksSkill74kyesterdayCC0-1.0B79Claude Code, Codex
arxivNousResearch/hermes-agentSkill267ktodayMITC18Claude Code, Codex
brand-voiceopen-octo/octo-agentSkill160yesterdayMITA200Claude Code, Codex
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill101ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill395ktodayMITA36Claude Code
systematic-debuggingobra/superpowersSkill330k2d agoMITA21Claude Code