# OpenAPI to MCP

> Use this tool when you need to automatically generate callable tools from OpenAPI or Swagger specs, solving integration and API management problems by providing a simple interface to access API endpoints with features like authentication and retry mechanisms. It takes an OpenAPI 3.x or Swagger 2.0 spec URL as input and outputs callable tools for every API endpoint, supporting both stdio and SSE transports. Ideal for use cases requiring efficient API integration and management.

Canonical page: https://skillsregistry.net/skills/docat0209-openapi-to-mcp  
JSON: https://api.skillsregistry.net/v1/skills/docat0209-openapi-to-mcp

## Description

Point at any OpenAPI 3.x or Swagger 2.0 spec URL and it automatically generates callable tools for every API endpoint. Features LLM-optimized flat parameter schemas, built-in authentication (API key, Bearer, OAuth2), automatic retry with exponential backoff, and response truncation for context window efficiency. Supports both stdio and SSE transports.

## Trust

- **Trust score (0–1):** 0.81
- **Verification tier:** verified
- **Last scanned:** 2026-09-19

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** ai-ml
- **Updated:** 2026-09-19

## Source

- **Source listing:** [PulseMCP](https://www.pulsemcp.com/servers/docat0209-openapi-to-mcp)
- **Repository:** <https://github.com/docat0209/mcp-openapi>

## 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": "docat0209-openapi-to-mcp"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/docat0209-openapi-to-mcp` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/docat0209-openapi-to-mcp/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
