# openapi-mcp-gateway

> Use this tool when you need to expose your REST APIs to Model Context Protocol (MCP) clients, such as Claude or Cursor, with built-in authentication support for Bearer, API Key, or OAuth2. It takes an OpenAPI/Swagger spec as input and generates an MCP server, enabling seamless integration with MCP clients. Ideal for use cases where you want to provide MCP clients with access to your existing REST APIs.

Canonical page: https://skillsregistry.net/skills/mroops0111-openapi-mcp-gateway  
JSON: https://api.skillsregistry.net/v1/skills/mroops0111-openapi-mcp-gateway

## Description

Python gateway that turns any OpenAPI/Swagger spec or FastAPI app into a Model Context Protocol (MCP) server. Multi-spec in one process, per-user OAuth2 with token relay, route-level @mcp_tool decorator, and dynamic meta-tools for large APIs. Works with Claude Desktop, Cursor, Cline, Codex.

## Trust

- **Trust score (0–1):** 0.41
- **Verification tier:** scanned
- **Last scanned:** 2026-09-28

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** container
- **Runtime environment:** vm
- **Category:** security
- **Updated:** 2026-09-28

## Source

- **Source listing:** [GitHub](https://github.com/mroops0111/openapi-mcp-gateway)

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "mroops0111-openapi-mcp-gateway"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/mroops0111-openapi-mcp-gateway` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/mroops0111-openapi-mcp-gateway/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
