Convert Web App
CheckedTransforms existing web application code into a streamlined, AI-powered model context protocol compatible format.
Install on your platform
Showing Claude Code. One command installs this skill into any of the agents below.
- 1
Run this in your project
terminal$ npx skills add modelcontextprotocol/ext-apps --skill convert-web-app -a claude-code Uses the open-source
skillsCLI and needs Node.js. Add-gto install it for your user instead of this project.
What we know about this skill
Publisher
modelcontextprotocol
Taken from the source listing. We haven't verified who controls this account.
Install target
Live repository
Not pinned. Installing fetches whatever the repository holds at the time you run the command.
Automated safety checks
This skill passed all 6 checks. We read its files at one commit and looked for the things that make a skill dangerous to run — not for whether it works.
Declares what it does: passed
SKILL.md parses and declares a name and a description.
SKILL.md exists, its frontmatter parses, and it declares a name and a description.
No undeclared network calls: passed
Makes no network calls.
Every host the skill dials — from its scripts, its config endpoints or the commands it tells the agent to run — is either well-known package and API infrastructure or declared in its own frontmatter. Links in documentation are not counted.
No obfuscated payloads: passed
No encoded or obfuscated payloads.
No base64, hex or compressed blob is decoded and then executed, and no encoded shell commands.
No credential access: passed
Reads no keys, tokens, keychains or credential files.
Neither the code nor the SKILL.md instructions read SSH keys, cloud credentials, keychains, token stores, browser cookie databases or dotfiles that hold secrets.
No pipe-to-shell installers: passed
No pipe-to-shell or download-and-run installers.
No `curl … | sh` pattern, in the code or in the instructions, that runs code fetched at run time.
Pinned to a commit: passed
Scanned modelcontextprotocol/ext-apps at 82221c0c8c.
The exact upstream commit SHA that was scanned is recorded, so the result refers to specific bytes.
- Commit
- 82221c0c8c
- Scanned
- 1 file, 503 lines
About this skill
What it does
This skill enables you to transform existing web application code into a format compatible with Model Context Protocol (MCP). It allows your web app to function both as a standalone webpage and as an MCP App that can be rendered inline within MCP-enabled hosts like Claude Desktop, all from a single codebase. The core of the functionality involves adding a thin initialization layer to detect the environment and fetch parameters accordingly, while preserving the original application's rendering logic.
When to use it
- You want to integrate an existing web application into an MCP ecosystem.
- You need your web app to be accessible both as a standalone webpage and within an AI agent workflow.
- You are using a framework like React, Vue, Svelte, Preact or SolidJS and want to leverage the benefits of MCP integration.
- You have an existing web application that relies on external data sources (URL parameters, APIs) and need to adapt it for use within an MCP environment.
Key capabilities
- Dual Functionality: Supports both standalone web app operation and MCP App rendering.
- Parameter Handling: Detects the execution environment and fetches parameters from appropriate sources.
- Resource Wrapping: Wraps the application's HTML as a resource for display within an MCP host.
- Framework Templates: Provides example code for common frameworks (VanillaJS, React, Vue, Svelte, Preact, Solid).
- API Documentation: Includes JSDoc documentation for key components and types.
Example prompts
While this skill doesn't directly respond to user prompts, it enables the AI agent to use your web application within an MCP environment. Examples of how a user might interact with an agent using your converted app include:
- "Can you show me my dashboard?" (The agent would launch the web app as an MCP App)
- "Display the results from [web app URL] in a new window." (Similar to above, but specifying a particular view within the application).
Tips & gotchas
- SDK Repository: You'll need to clone the SDK repository (
git clone --branch "v $( npm view @modelcontextprotocol/ext-apps version ) " --depth 1 https://github.com/modelcontextprotocol/ext-apps.git /tmp/mcp-ext-apps) to access reference code and API documentation. - Data Source Analysis: Carefully analyze your existing web app's data sources before implementing MCP support, as these will need adaptation.
- CSP Configuration: If your application uses external APIs or resources, you may need to configure Content Security Policy (CSP) settings.