APIFold logo

APIFold

by Work90210

Generates MCP servers from OpenAPI or Swagger specifications and routes agent tool calls to upstream REST APIs.

Install APIFold

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "work90210-apifold": {
      "command": "npx",
      "args": [
        "-y",
        "apifold"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Install not yet sandbox-tested— we haven't run this command through our automated sandbox yet. Not a red flag; we're working through the catalog.

Overview

Work90210/APIFold MCP server converts OpenAPI 3.x or Swagger 2.x specifications into live MCP endpoints that execute HTTP requests against upstream APIs. It provides a CLI for local SSE or Streamable HTTP servers, a hosted platform, and a registry with eight prepared API specifications. Authentication options include bearer credentials and OAuth 2.0 flows, while access profiles can restrict generated tools. Reach for it when an agent needs structured access to a REST API without writing a custom MCP adapter.

Use cases

  • Generate local MCP tools from an OpenAPI specification
  • Connect Claude Desktop or Cursor to a REST API
  • Expose selected API operations with tag and method filters
  • Deploy a hosted MCP endpoint for an existing API
  • Transform Swagger 2.0 definitions into MCP tool schemas

Key features

  • OpenAPI 3.x and Swagger 2.x conversion
  • CLI for local MCP servers
  • SSE and Streamable HTTP transports
  • Bearer authentication and OAuth 2.0
  • Tool-level access profiles
  • API registry with eight prepared specifications

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

18/19 checks healthy over the last 111d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 9d ago via OSV.dev · apifold (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars13Stargazers on the source repository.
Last commit5mo agoMost recent push to the default branch.
Directory activity2 viewsConfig copies, upvotes, and views on AllMCPs.

How APIFold works

What Work90210/APIFold MCP server does

Work90210/APIFold reads an OpenAPI 3.x or Swagger 2.x document and turns its described operations into MCP tool definitions. Calls made by an MCP-compatible client are translated into real HTTP requests to the configured upstream API. Swagger 2.0 documents are converted automatically during processing.

The project can run locally through its CLI or as a hosted service. The hosted platform accepts specifications from a URL or file upload and provides a connection endpoint for clients such as Claude Desktop and Cursor. Its API registry includes prepared specifications for Stripe, GitHub, Slack, HubSpot, Twilio, OpenAI, Notion, and Petstore.

How it works

The transformer parses the API specification, derives MCP tools from its operations, and passes those tools to a runtime built around Express. The runtime supports both Server-Sent Events and Streamable HTTP transport. When an agent invokes a generated tool, the runtime sends the corresponding request to the upstream service using the configured base URL and credentials.

Authentication can use bearer credentials or OAuth 2.0. The OAuth implementation supports Authorization Code with PKCE and Client Credentials flows, along with eight provider presets and automatic token refresh. Hosted deployments encrypt stored credentials with AES-256-GCM. Generated servers can also use access profiles that limit callers to read-only, read-write, or full access.

Setup and configuration

For a local server, install the CLI globally or run it with npx:

Terminal
npm install -g @apifold/cli
npx apifold serve ./your-openapi-spec.yaml --base-url https://api.example.com

The default example starts an SSE server on localhost port 3000. A registry specification can be selected instead, such as npx apifold serve --registry stripe --base-url https://api.stripe.com.

Use apifold init to create an apifold.config.yaml template. Configuration can specify the specification path, port, transport, base URL, authentication, and filters. Filters can restrict generated tools by API tags and HTTP methods. The CLI also provides transform for emitting MCP tool definitions as JSON and validate for parse-only validation with warnings.

The hosted option requires an account at apifold.dev. Import a specification, configure credentials, and copy the resulting connection details into an MCP client. Self-hosting requires the repository, Node.js 20 or newer, pnpm, environment configuration, and the supplied Docker Compose files.

Tools and capabilities

The Work90210/APIFold MCP server exposes generated tools rather than a fixed, manually maintained tool list. The available tools depend on the operations in the supplied API specification and any configured tag or method filters.

The standalone @apifold/transformer package can parse, convert, and transform specifications for use in another MCP runtime. The broader application adds a web dashboard, credential management, analytics, custom domains, unique endpoint identifiers, and the API registry. Hosted deployments include DNS verification for custom domains, call-volume and latency metrics, error breakdowns, and usage quotas.

Limitations and notes

APIFold depends on a usable OpenAPI 3.x or Swagger 2.x specification. Its generated tool surface therefore reflects the completeness and accuracy of that document. It sends requests to the configured upstream API; it does not provide mock or stub responses.

The main repository is licensed under AGPL-3.0, while the @apifold/transformer package is separately licensed under MIT. Credentials and upstream API permissions still need to be configured for the target service.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about APIFold

Work90210/APIFold is an MCP server that connects OpenAPI or Swagger-described REST APIs to MCP-compatible clients. It generates tools from API operations, routes tool calls as real HTTP requests, and supports bearer authentication or OAuth 2.0. It can run locally through the CLI or as a hosted endpoint.

Install the CLI with `npm install -g @apifold/cli`, or run it directly with npx. Start a server with `npx apifold serve ./your-openapi-spec.yaml --base-url https://api.example.com`. The CLI also accepts a registry API name instead of a local specification.

Yes, Work90210/APIFold works with Cursor through its MCP connection. A local CLI server can be started with SSE transport, while hosted deployments provide a connection endpoint that can be copied into Cursor.

Yes, Work90210/APIFold automatically converts Swagger 2.0 specifications before generating MCP tools. OpenAPI 3.x specifications are supported directly, and the `validate` command can check a specification with warnings without starting a server.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewAPIFold AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/work90210-apifold?style=directory)](https://allmcps.com/mcp/work90210-apifold)
HTML Embed
<a href="https://allmcps.com/mcp/work90210-apifold"><img src="https://allmcps.com/api/badge/work90210-apifold?style=directory" alt="APIFold on AllMCPs" /></a>