gpt-action-mcp-demo
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
A custom GPT action, rebuilt as a remote MCP server
The worked example for the DEV tutorial "Rebuild a custom GPT action as a remote MCP server". Code: https://github.com/brasspage/gpt-action-to-mcp (MIT).
openapi.json is a custom GPT action schema for the free Frankfurter exchange rate API (no key, commercial use allowed). The Worker turns each operation into one MCP tool and serves them over stateless Streamable HTTP on Cloudflare Workers, with the official MCP TypeScript SDK.
Live demo: https://gpt-action-mcp-demo.brasspage.workers.dev/mcp (60 requests a minute for each IP address).
Action operation | MCP tool |
|
|
|
|
|
|
Files
openapi.json: the action schema, as you would paste it into the GPT editor.src/tools.js: schema to tools (one per operation), argument checks, and the call to the API.src/index.js: the Worker. A fresh SDK server and transport for each POST to/mcp.wrangler.toml: Worker name, workers.dev URL, and the rate limit.tools.test.js: the mapping and the argument checks, with a fake fetch (no network).check.mjs: an SDK client that lists the tools and calls each one.output.txt: the real output ofcheck.mjsand the MCP Inspector against the live demo.
Related MCP server: remote-mcp-server-authless
Run it
npm install
node --test --test-concurrency=1 tools.test.js
npx wrangler dev # local, on http://localhost:8787
node check.mjs http://localhost:8787/mcp
npx wrangler login && npx wrangler deploy
npx @modelcontextprotocol/inspector --cli https://<your worker>/mcp --method tools/listLimits
The mapper handles GET operations with path and query parameters. A POST body or a header parameter throws when the Worker loads; map those by hand.
No sign-in. For an API key, keep it as a Worker secret (
npx wrangler secret put API_KEY) and add it to the request incallTool, never to tool arguments. For per-user data, use OAuth.Checked with the SDK client and the MCP Inspector, not inside a plugin.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Zero-dependency Cloudflare Worker gateway turning websites and REST APIs into MCP tools.
Remote streamable-HTTP MCP server running on a single Cloudflare Worker. Your assistant gets live Airbnb, Amazon, Booking.com, Google Flights, Maps and Reddit data, social search on X, Instagram and TikTok, the Meta Ad Library, and image/video generation without any keys. Connect your own accounts to let it send WhatsApp or Telegram messages, work an IMAP inbox, manage Meta Ads campaigns and publish to X and LinkedIn. OAuth 2.1 with PKCE; stored credentials are AES-256-GCM encrypted.
Cloudflare Workers MCP server: api-contract-validator
Cloudflare Workers MCP server: ai-rate-limit-tracker
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceExpose any API to an LLM agent as two sandboxed MCP tools (search + execute) on Cloudflare Workers.11 npm2MIT
- FlicenseNot gradedqualityDmaintenanceDeploys a stateless, authentication-free remote MCP server on Cloudflare Workers, enabling custom tool registration and seamless connection from clients like Cloudflare AI Playground or Claude Desktop via mcp-remote.-
- FlicenseNot gradedqualityNot gradedmaintenanceA stateless remote MCP server deployed on Cloudflare Workers without authentication, implementing the MCP 2026-07-28 specification and supporting custom tools. Can be connected to Cloudflare AI Playground and local MCP clients like Claude Desktop via mcp-remote proxy.-
- AlicenseNot gradedqualityDmaintenanceEnables running a minimal, dependency-free Model Context Protocol server on Cloudflare Workers that exposes custom tools to MCP clients over plain POST, with optional token auth and rate limiting.MIT