Convert any OpenAPI/Swagger REST API spec into a live MCP server with CLI and hosted options.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent โ or use 1-click editor setup below.
The install command below didn't complete successfully in our automated test.
npx -y apifoldnpm notice npm notice New major version of npm available! 10.1.0 -> 12.0.2 npm notice Changelog: <https://github.com/npm/cli/releases/tag/v12.0.2> npm notice Run `npm install -g npm@12.0.2` to update! npm notice npm ERR! code E404 npm ERR! 404 Not Found - GET https://registry.npmjs.org/apifold - Not found npm ERR! 404 npm ERR! 404 'apifold@*' is not in this registry. npm ERR! 404 npm ERR! 404 Note that you can also install from a npm ERR! 404 tarball, folder, http url, or git url. npm ERR!
This is an experimental automated check and can have false negatives โ missing environment variables, a slow cold install, etc. It doesnโt necessarily mean somethingโs wrong. Last checked 1mo ago.
๐ก Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Inspect callable tools, capabilities, and parameters exposed to AI agents by APIFold.
Turn any REST API into an MCP server. No code required.
APIFold reads an OpenAPI 3.x or Swagger 2.x specification and generates a live, production-ready MCP server endpoint. AI agents โ Claude, Cursor, Copilot, or any MCP-compatible client โ can connect immediately. Tool calls execute real HTTP requests to real upstream APIs with securely stored credentials. No stubs, no mocks, no glue code.
One command. Your spec becomes a running MCP server with SSE transport on localhost:3000. Connect Claude or Cursor immediately.
Ships with 8 pre-configured API specs: Stripe, GitHub, Slack, HubSpot, Twilio, OpenAI, Notion, and Petstore.
npx apifold serve for zero-config local MCP serversmcp.yourcompany.com with DNS verification| Command | Description |
|---|---|
apifold serve <spec> | Start an MCP server from an OpenAPI spec |
apifold serve --registry stripe | Start from a registry spec |
apifold transform <spec> | Output MCP tool definitions as JSON |
apifold validate <spec> | Parse-only validation with warnings |
apifold init [spec] | Generate an apifold.config.yaml template |
Open http://localhost:3000 to access the dashboard.
The core conversion logic is a standalone MIT-licensed npm package:
| Component | Path | Description |
|---|---|---|
| Transformer | packages/transformer | OpenAPI to MCP conversion. Pure functions. MIT licensed. |
| Runtime | apps/runtime | Express MCP server with SSE/HTTP, OAuth token refresh, access profiles. |
| Web App | apps/web | Next.js dashboard. Import specs, manage credentials, analytics, custom domains. |
| CLI | apps/cli | Standalone CLI tool. npx apifold serve for local MCP servers. |
| Registry | packages/registry | Curated catalog of 8 validated API specs with one-click deploy. |
| Types | packages/types | Shared TypeScript type definitions. |
| UI | packages/ui | Design system and component library. |
| Command | Description |
|---|---|
pnpm dev | Start all services with hot-reload |
pnpm build | Build all packages |
pnpm test | Run tests |
pnpm lint | Lint all packages |
pnpm typecheck | Type-check all packages |
pnpm format | Format all files with Prettier |
pnpm db:migrate | Run database migrations |
pnpm db:studio | Open Drizzle Studio |
All code contributions must go through a pull request and be approved before merging. See the contribution guide.
Want to add an API to the registry? See packages/registry/CONTRIBUTING.md.
For security issues, please refer to our security policy. Do not post security vulnerabilities as public GitHub issues.
@apifold/transformer โ MIT LicenseFactual signals from GitHub, npm, and our automated checks โ not a rating.
No reviews yet โ be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/work90210-apifold)<a href="https://allmcps.com/mcp/work90210-apifold"><img src="https://allmcps.com/api/badge/work90210-apifold?style=directory" alt="APIFold on AllMCPs" /></a>