Enables deployment of a remote MCP server on Cloudflare Workers and connection to Cloudflare AI Playground
Provides the infrastructure for hosting the MCP server, allowing deployment to a Cloudflare Workers URL
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Remote MCP Servercreate a contact form for collecting customer feedback"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Weavely MCP โ Remote MCP Server for Form Generation
This project sets up a Model Context Protocol (MCP) server using the @modelcontextprotocol/sdk, hosted on Cloudflare Workers, to programmatically generate forms using the Weavely API.
๐ Features
Deploys an auth-less MCP server on Cloudflare Workers
Exposes a tool:
create-formto generate forms via promptUses
axiosfor external API calls to weavely.aiBuilt using TypeScript and the official
@modelcontextprotocol/sdk
Related MCP server: Remote MCP Server
๐ ๏ธ Technologies Used
๐ง MCP SDK:
@modelcontextprotocol/sdk๐ฉ๏ธ Cloudflare Workers + Wrangler
๐ก Type-safe schema validation with
zod๐ HTTP requests via
axios๐งน Formatting & linting with
biome
๐ฆ Installation
git clone https://github.com/weavely/mcp.git
cd mcp
npm install๐งช Development
Start a development server locally using Wrangler:
npm run dev๐ค Deployment
Deploy to Cloudflare Workers:
npm run deployOr use the Cloudflare Deploy Button:
๐บ Demo
Curious how it works? Watch a short demo here:
โถ๏ธ https://youtu.be/C1jZBrGV6jE
๐ง Tool: create-form
This MCP agent defines one tool:
Name:
create-formDescription: Create a new Weavely form.
Input Schema:
{ name?: string; prompt: string; }Behavior: Sends a POST request to
https://api.weavely.ai/v1/forms/generateand returns the form content.
๐งฐ Scripts
Script | Description |
| Start development server |
| Deploy to Cloudflare |
| Format code using Biome |
| Fix linting issues via Biome |
| Generate Cloudflare bindings |
๐ Folder Structure
weavely-mcp/
โโโ src/
โ โโโ index.ts # Main MCP logic and tool registration
โโโ worker-configuration.d.ts
โโโ package.json
โโโ wrangler.jsonc # Cloudflare deployment config
โโโ tsconfig.json
โโโ .vscode/This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.