Atlas / MCP servers / abutbul / Openapi Mcp Generator

Openapi Mcp GeneratorSAFE

mcp/abutbul/openapi-mcp-generator

A Python tool that automatically converts OpenAPI(Swagger, ETAPI) compatible specifications into fully functional Model Context Protocol (MCP) servers. Generates Docker-ready implementations with support for SSE/IO communication protocols, authentication, and comprehensive error handling. https://py

Verdict
SAFE
Grade
B
Trust score
89 /100
Exposed tools
29 29r · 0w · 0d
Transport
sse · stdio
License
MIT
Stars
28
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

A Python tool that automatically converts OpenAPI specifications into fully functional Model Context Protocol (MCP) servers. Generates Docker-ready implementations with support for SSE/IO communication protocols, authentication, and comprehensive error handling.

Key features:

  • 🔄 OpenAPI to MCP tools/resources conversion
  • 🐳 Docker-ready with multi-stage builds
  • 🔐 Multiple authentication methods
  • ⚡ Async operations & rate limiting
  • 📡 SSE/IO communication protocols
  • 📦 Modular code structure with package support

Modular Code Structure

The generator has been refactored into a proper Python package while maintaining backward compatibility:

  1. Original Entry Point: The generator.py script still works exactly as before
  2. Modular Organization: Code is now split into focused modules
  3. Package Installation: Can be installed as a proper Python package
  4. Same Templates: Uses the exact same templates in the /templates directory
  5. Docker Support: Preserves all Docker functionality

You can use the tool in whatever way you prefer:

  1. Run generator.py directly (original approach)
  2. Install as a package and use mcp-generator command
  3. Use the module programmatically in your own Python code

For more details on the modular code structure, see MODULAR_REFACTORING.md.

Features

  • Convert OpenAPI specifications to MCP servers
  • Docker-ready implementation with multi-stage builds
  • Support for multiple authentication methods
  • Choice of SSE or IO communication protocols
  • Comprehensive error handling and logging
  • Built-in rate limiting and security features
  • Async operations for optimal performance
  • Extensive test suite with coverage reporting

Prerequisites

  • Python 3.10+
  • Docker (for running the generated server)
  • pip or uv (Python package manager)

Installation

From Source

# Clone the repository
git clone https://github.com/abutbul/openapi-mcp-ge
Read from source at commit 946b9f7283d0OBSERVED · 2026-10-08
02

Connect

Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control. Replace the environment placeholders with a token scoped to the least it needs.

claude-code
claude mcp add {{ project_name }} --env API_AUTH_TYPE=${API_AUTH_TYPE} --env API_PASSWORD=${API_PASSWORD} --env API_TOKEN=${API_TOKEN} -- uvx {{ project_name }}
claude-desktop
{
  "mcpServers": {
    "{{ project_name }}": {
      "command": "uvx",
      "args": [
        "{{ project_name }}"
      ],
      "env": {
        "API_AUTH_TYPE": "${API_AUTH_TYPE}",
        "API_PASSWORD": "${API_PASSWORD}",
        "API_TOKEN": "${API_TOKEN}"
      }
    }
  }
}
03

Exposed tools (29)

29 read · 0 write · 0 destructive.

ToolRiskDescription
createBackupread
createNoteread
createRevisionread
deleteAttachmentByIdread
deleteAttributeByIdread
deleteNoteByIdread
exportNoteSubtreeread
getAppInforead
getAttachmentByIdread
getAttachmentContentread
getAttributeByIdread
getBranchByIdread
getDayNoteread
getMonthNoteread
getNoteByIdread
getNoteContentread
getWeekFirstDayNoteread
getYearNoteread
importZipread
loginread
patchAttachmentByIdread
patchAttributeByIdread
patchBranchByIdread
patchNoteByIdread
postAttachmentread
postAttributeread
putAttachmentContentByIdread
putNoteContentByIdread
searchNotesread
04

Trust audit

SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codePASS
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfacePASS
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
none-observed
Network
declared (1 observation(s))
Shell
none-observed
Dependencies
not all pinned
Secrets in source
none-found

Findings (5)

LOWInventory / provenance · inv.hidden_file · CWE-1104
samples/TriliumNext/trilnext/openapi-mcp-etapi-518d0db5/.env.sh
.env.sh
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWInventory / provenance · inv.hidden_file · CWE-1104
templates/config/.env.sh
.env.sh
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
requirements.txt
pyyaml, jinja2, httpx
Why it matters. 3 requirement(s) not pinned with ==
Fix. pin exact versions
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
samples/TriliumNext/trilnext/openapi-mcp-etapi-518d0db5/requirements.txt
mcp, httpx, pyyaml
Why it matters. 3 requirement(s) not pinned with ==
Fix. pin exact versions
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
templates/requirements.txt
mcp, httpx, pyyaml
Why it matters. 3 requirement(s) not pinned with ==
Fix. pin exact versions

Gates applied: no_behavioural_pass.

Audited 2026-10-08 · audit v0.4.1 · source sha 946b9f7283d0full audit observations/trust-audit/mcp-server/abutbul__openapi-mcp-generator.json · Report an issue / request a re-scan
05

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-08946b9f7283d0SAFEB89first audit
06

Questions

What is the Openapi Mcp Generator MCP server?

A Python tool that automatically converts OpenAPI(Swagger, ETAPI) compatible specifications into fully functional Model Context Protocol (MCP) servers. Generates Docker-ready implementations with support for SSE/IO communication protocols, authentication, and comprehensive error handling. https://py

What tools does Openapi Mcp Generator expose?

29 in total: 29 read-only, 0 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.

Is Openapi Mcp Generator safe to connect to an agent?

The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B.

What credentials does Openapi Mcp Generator need?

It reads API_AUTH_TYPE, API_PASSWORD and API_TOKEN from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.

How does Openapi Mcp Generator run?

It speaks sse and stdio, so it runs as a local process your client starts. It is published on PyPI as {{ project_name }}.

How current is this page?

The grade is for one exact copy of the source (946b9f7283d0), read on 2026-10-08. The repository is watched and re-audited when it changes.

Advertisement