GPT Action & OpenAPI to MCP Server Generator
Pricing
from $100.00 / 1,000 mcp server generateds
GPT Action & OpenAPI to MCP Server Generator
Turn a custom GPT action or any OpenAPI 3 schema into a remote MCP server: a ready-to-deploy Cloudflare Worker zip with one MCP tool per operation, API key or OAuth sign-in, a rate limit and a test. Lists every tool in the dataset. $0.10 per server.
Pricing
from $100.00 / 1,000 mcp server generateds
Rating
0.0
(0)
Developer
Brasspage
Maintained by CommunityActor stats
0
Bookmarked
1
Total users
0
Monthly active users
a month ago
Last modified
Categories
Features
Share
GPT Action & OpenAPI to MCP Server Generator
Paste the OpenAPI schema of a custom GPT action, or any OpenAPI 3 schema. The Actor turns it into a remote MCP server: a ready-to-deploy Cloudflare Worker project in a zip, with one MCP tool per API operation.
- One tool per operation: each
get,post,put,patchanddeletebecomes a tool with a strict input schema made from its parameters and JSON body. - Sign-in like your GPT action: none, an API key kept as an encrypted Worker secret, or OAuth, where each person signs in with the API's own OAuth app.
- Ready to deploy:
src,tools.json,wrangler.toml,package.json, a test, and a README with the deploy steps. Runs on a free Cloudflare account. - A check of your schema: the dataset lists every operation, as a tool or with the reason it was left out.
Custom GPTs are set to retire on Dec 11, 2026 (the date can change), and custom actions do not move with them. An MCP server is how an action keeps working in apps that take MCP.
$0.10 per server. No API key needed to run it. The schema is read as data only: no code in it runs, and no API in it is called.
How to use
- Open the Actor in the Apify Console and go to the Input tab.
- Paste your schema into OpenAPI 3 schema or its URL, or give one https URL. JSON or YAML, OpenAPI 3.0 or 3.1.
- Pick the Sign-in your GPT action used. For OAuth, copy the authorization URL and token URL from the action's settings.
- Click Start. Download
mcp-server.zipfrom the Output tab and follow its README.
The prefilled input is a three-operation exchange rate API that needs no key. Run it as is to see the output.
Input example
{"schema": "https://api.example-api.com/openapi.json","authType": "oauth","oauthAuthorizationUrl": "https://auth.example-api.com/oauth/authorize","oauthTokenUrl": "https://auth.example-api.com/oauth/token","oauthScopes": "read","serverName": "example-api-mcp","rateLimitPerMinute": 60}
Never put API keys or client secrets in the input. You set them as Worker secrets on your own Cloudflare account, after you deploy.
Output example
One dataset row per operation:
{"status": "mapped","tool": "get_historical_rates","method": "GET","path": "/{date}","params": [{ "name": "date", "in": "path", "required": true },{ "name": "base", "in": "query", "required": false },{ "name": "symbols", "in": "query", "required": false }],"body": false,"description": "Exchange rates on one past date (working days, back to 1999-01-04)."}
An operation that cannot become a tool has "status": "skipped" and a reason, like cookie parameter "session" is not mapped. The mcp-server.zip record holds the project, and OUTPUT holds a summary with the tool names and the zip's download URL.
The zip, for the prefilled schema:
exchange-rates/README.md deploy steps for your sign-in typepackage.json MCP TypeScript SDK, JSON Schema checks, wranglerwrangler.toml Worker name, workers.dev URL, rate limittools.json the tools: names, descriptions, input schemastools.test.js checks every tool with a fake API, no networksrc/index.js the Workersrc/mcp.js stateless Streamable HTTP, a fresh server for each requestsrc/tools.js argument checks and the API call
What the generated server does
- Serves MCP over stateless Streamable HTTP at
/mcp, with plain JSON answers. No sessions, nothing shared between callers. - Checks arguments against each tool's input schema before any API call. Unknown arguments are refused.
- Takes the API host and base path only from
tools.json. A call that would leave them is refused. - Rate limits each IP address (60 a minute by default). Does not follow API redirects, times out after 10 seconds, and refuses answers over 100,000 characters.
- API key: the key stays a Worker secret and is never shown to the model. An optional
MCP_TOKENsecret locks the server to clients that send it. - OAuth: the Worker is the OAuth 2.1 server for MCP clients (dynamic client registration, PKCE), shows a consent page for each client, then signs each person in to the API. API tokens are stored encrypted, and renewed when the API gives a refresh token.
Pricing
Pay per event: $0.10 for each MCP server generated, plus a tiny start fee ($0.00005). You are charged only when the zip is saved. A schema with no operation that can become a tool fails the run and costs only the start fee.
The prefilled input makes one server, so a one-click run costs $0.10 plus the start fee.
FAQ
Do I need to know how to code? No, but you need a terminal for about 10 minutes: npm install, npx wrangler login, npx wrangler deploy. The zip's README lists each command.
Where does the server run? On your own Cloudflare account, on the free Workers plan for most uses. Nothing runs on Apify after the Actor finishes.
Does the Actor call my API? No. It reads the schema only. Your API is first called by the server you deploy.
My schema has $refs. $refs inside the schema are followed. $refs to other files or URLs are not, and a schema that refers to itself (a tree, for example) cannot become a flat tool schema. Those operations are listed as skipped, with the reason.
Can I change the tools later? Yes. Edit names and descriptions in tools.json, then run the test and deploy again. No code change is needed.
Limits
- OpenAPI 3.0 and 3.1 only (convert Swagger 2.0 first). Up to 2 MB of schema and 100 tools per server.
- Request bodies must be JSON. Cookie parameters, file uploads and streaming answers are not mapped.
- API answers must be JSON (or empty).
- Operations with their own
serversURL are skipped. Use Server URL to pick a different base URL for the whole API.
Issues and support
Found a bug or need a feature? Open an issue in this Actor's Issues tab. We check it every day and reply there.


