A library of reusable prompts for Webflow MCP tools, displayed as an interactive searchable interface. This application is embedded as an iFrame in Webflow documentation.
This repository contains a collection of prompts that are used across Webflow's MCP (Model Context Protocol) tools. Each prompt is stored as a structured JSON/YAML pair, making them easy to maintain, test, and reuse.
Note: This repository is a subpackage of the openapi repo and stays in sync with it to ensure consistency across the Webflow ecosystem.
/
├── src/
│ ├── prompts/ # Prompt definitions
│ │ └── {prompt-id}/
│ │ ├── prompt.json # Metadata (id, description, tags, href, etc.)
│ │ └── prompt.yml # Prompt content
│ ├── components/ # React components
│ ├── pages/ # Astro pages
│ └── layouts/ # Page layouts
├── public/ # Static assets
└── dist/ # Build output (deployed to CF Workers)
To add a new prompt to the library:
-
Create a new directory in
src/prompts/with your prompt ID (kebab-case):mkdir src/prompts/your-prompt-id
-
Create
prompt.jsonwith metadata:{ "id": "your-prompt-id", "icon": "https://example.com/icon.svg", "description": "A clear description of what this prompt does", "tags": ["webflow", "category", "tag"], "href": "/mcp/prompts/your-prompt-id", "variables": {}, "metadata": {}, "contentFile": null } -
Create
prompt.ymlwith the actual prompt content:# Your prompt content here # Can include variables using {{variableName}} syntax
-
Test thoroughly - See Testing section below
-
Commit and push - The prompt will automatically appear in the library
id(required): Unique identifier in kebab-caseicon(optional): URL to an icon imagedescription(required): Brief description shown in the cardtags(required): Array of tags for searchabilityhref(required): Link destination (typically/mcp/prompts/{id})variables(optional): Variable definitions for dynamic promptsmetadata(optional): Additional metadatacontentFile(optional): Reference to external content file
Contains the actual prompt text. Supports:
- YAML frontmatter
- Variable interpolation:
{{variableName}} - Multi-line content
Test prompts thoroughly before adding them to the library.
- Test the prompt content - Ensure it works correctly with the intended MCP tool
- Test variable interpolation - If using variables, verify they work as expected
- Test the UI - Verify the prompt card displays correctly:
- Icon loads properly
- Description is clear and accurate
- Tags are appropriate
- Link works correctly
- Test search functionality - Ensure the prompt is discoverable via search
- Test in iFrame context - Verify it works when embedded in Webflow docs
- Node.js 18+
- npm or yarn
npm install| Command | Action |
|---|---|
npm install |
Installs dependencies |
npm run dev |
Starts local dev server at localhost:4321 |
npm run build |
Build your production site to ./dist/ |
npm run preview |
Preview your build locally, before deploying |
npm run deploy |
Build and deploy to Cloudflare Workers |
The application is currently hosted on Cloudflare Workers but this can be changed if needed.
npm run deployThis will:
- Build the Astro application
- Deploy to Cloudflare Workers using Wrangler
Deployment configuration is managed in wrangler.jsonc and astro.config.mjs.
This application is designed to be embedded as an iFrame in Webflow documentation:
<iframe
src="https://your-deployment-url.com"
width="100%"
height="600px"
frameborder="0"
></iframe>The interface provides:
- Search functionality - Filter prompts by name, description, or tags
- Prompt cards - Visual cards with icons, descriptions, and tags
- Direct links - Each card links to the prompt's destination (opens in new window)
This repository is a subpackage of the openapi repo and stays in sync with it. Changes here should be coordinated with the main repository to ensure consistency.
- Create a new prompt following the structure above
- Test thoroughly (see Testing)
- Submit a pull request
- Ensure all prompts follow the established patterns and conventions
[Add your license here]