# OpenAPI MCP Proxy

Convert any REST OpenAPI or Swagger spec into instant MCP tools

Dynamically translates OpenAPI 3.0/3.1 specifications into Model Context Protocol tools with automated parameter validation.

## Overview

- **Website**: https://github.com/sotayamashita/openapi-mcp-server
- **GitHub**: https://github.com/sotayamashita/openapi-mcp-server
- **License / Pricing**: Open Source
- **Directory Entry**: https://agentaccess.dk/enablers/openapi-mcp-server

## About

OpenAPI MCP Proxy allows agents to instantly connect to any REST API that provides a Swagger or OpenAPI specification. It automatically parses endpoints, schemas, and parameters, exposing them as typed tools with Zod validation over stdio or HTTP transports.

## Key Features

- Dynamic mapping of OpenAPI operations to MCP tools
- Zod schema validation on input parameters
- Supports HTTP Bearer, API key, and Basic auth
- Runs locally via npx without manual code generation

## Danish System Application Recipes

### Mount Any Danish OpenAPI Document into Claude Desktop
Point OpenAPI MCP Proxy at the official OpenAPI JSON specification of a Danish municipality or service to enable tool calling immediately.

```bash
npx -y @sotayamashita/openapi-mcp-server --spec https://api.datafordeler.dk/openapi.json
```

## Quickstart

```json
{
  "mcpServers": {
    "danish-api": {
      "command": "npx",
      "args": [
        "-y",
        "@sotayamashita/openapi-mcp-server",
        "--spec",
        "https://example.dk/openapi.json"
      ]
    }
  }
}
```

---
Source: [AgentAccess Enablers](https://agentaccess.dk/enablers/openapi-mcp-server)