Atlas / MCP servers / matthewhand / OpenAPI Proxy

OpenAPI ProxyBLOCK

mcp/matthewhand/openapi-proxy

MCP server that dynamically exposes REST APIs defined by OpenAPI specs. Dual-stack MCP 1.x/2.x with native Streamable HTTP.

Verdict
BLOCK
Grade
D
Trust score
69 /100
Exposed tools
1 1r · 0w · 0d
Transport
stdio · streamable-http
License
MIT
Stars
156
01

Overview

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

mcp-openapi-proxy is a Python package that implements a Model Context Protocol (MCP) server, designed to dynamically expose REST APIs—defined by OpenAPI specifications—as MCP tools. This facilitates seamless integration of OpenAPI-described APIs into MCP-based workflows.

2026-09-05 — 0.4.0: MCP 2.x / 2026-07-28 native Streamable HTTP (stateless POST /mcp, dual-stack with legacy stdio).

What's New in 0.4.0

MCP 2026-07-28 (SDK 2.x). The proxy is dual-stack: modern clients send self-contained requests (no initialize, no Mcp-Session-Id) and list results carry ttlMs / cacheScope. Legacy stdio clients that still handshake keep working. Native Streamable HTTP is available with MCP_TRANSPORT=streamable-http and is stateless — round-robin load balancing needs no sticky sessions.

See docs/MIGRATION-0.4.md for breaking changes, new env vars, and gateway cutover notes. 0.3.4 remains the last release on mcp 1.x (mcp>=1.2.0,<2).

What's New in 0.2.0

Works with every modern MCP-enabled client we tested. Strict MCP clients can now discover and call tools — the low-level server advertises correct capabilities and no longer crashes during resource/prompt discovery, and a slow spec download no longer crash-loops short-timeout clients. Verified live against the full list of mainstream agent CLIs:

  • ✅ Codex, Gemini, Qwen, Kilocode, opencode — native tool calls over stdio
  • ✅ Vibe — native discovery and read calls (writes were CLI-flaky, not a proxy issue)
  • ✅ Letta — Cloud (via a remote streamable-HTTP MCP URL) and self-hosted (via stdio)

See the client matrix for attach mechanisms, models, and exact results.

📄 Full write-up: Verification case study — what the proxy is, the API + client matrices, and every defect found & fixed.

Prompts and resources are real now — including custom resources. Both MCP surfa

Read from source at commit 365fe2811065OBSERVED · 2026-10-07
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 mcp-openapi-proxy --env API_AUTH_BEARER=${API_AUTH_BEARER} --env API_AUTH_HEADER=${API_AUTH_HEADER} --env API_AUTH_TYPE=${API_AUTH_TYPE} --env API_AUTH_TYPE_OVERRIDE=${API_AUTH_TYPE_OVERRIDE} -- uvx mcp-openapi-proxy
claude-desktop
{
  "mcpServers": {
    "mcp-openapi-proxy": {
      "command": "uvx",
      "args": [
        "mcp-openapi-proxy"
      ],
      "env": {
        "API_AUTH_BEARER": "${API_AUTH_BEARER}",
        "API_AUTH_HEADER": "${API_AUTH_HEADER}",
        "API_AUTH_TYPE": "${API_AUTH_TYPE}",
        "API_AUTH_TYPE_OVERRIDE": "${API_AUTH_TYPE_OVERRIDE}"
      }
    }
  }
}
03

Exposed tools (1)

1 read · 0 write · 0 destructive.

ToolRiskDescription
get_testreadTest tool
04

Trust audit

BLOCKgrade D · trust 69/100 Do not install this without reading the findings. The audit found something that could harm you or your machine.

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

What the source does

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

Findings (22)

HIGHCode injection · code.deserialize · CWE-78, CWE-94, CWE-95
mcp_openapi_proxy/utils.py:37
return yaml.load(content, Loader=_NoTimestampSafeLoader)
Why it matters. deserialises untrusted bytes into live objects
Fix. use json or yaml.safe_load
MEDIUMInformation disclosure · disclose.log_secret · CWE-209, CWE-532
mcp_openapi_proxy/handlers.py:46
logger.debug(f"API_KEY: {api_key[:5] + '...' if api_key else '<not set>'}")
MEDIUMInformation disclosure · disclose.log_secret · CWE-209, CWE-532
mcp_openapi_proxy/server_fastmcp.py:339
logger.debug(f"API_KEY: {os.getenv('API_KEY', '<not set>')[:5] + '...' if os.getenv('API_KEY') else '<not set>'}")
MEDIUMInformation disclosure · disclose.log_secret · CWE-209, CWE-532
mcp_openapi_proxy/server_lowlevel.py:195
logger.debug(f"API_KEY: {os.getenv('API_KEY', '<not set>')[:5] + '...' if os.getenv('API_KEY') else '<not set>'}")
MEDIUMHard-coded secrets · secret.slack · CWE-798, CWE-321
examples/slack-claude_desktop_config.json:12
"API_KEY": "xoxb-your-bot-token-here",
LOWInventory / provenance · inv.hidden_file · CWE-1104
.flake8
.flake8
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWCode injection · code.dynamic_import · CWE-78, CWE-94, CWE-95
tests/unit/test_mcp_version_pin.py:75
importlib.import_module(mod)
LOWInsecure crypto · crypto.weak_hash · CWE-327, CWE-338
tests/conftest.py:18
env_key = f"OPENAPI_SPEC_URL_{hashlib.md5(test_name.encode()).hexdigest()[:8]}"
LOWInformation disclosure · disclose.log_secret · CWE-209, CWE-532
tests/integration/test_asana_integration.py:28
print(f"DEBUG: API_KEY set to: {os.environ['API_KEY'][:5]}...")
LOWInformation disclosure · disclose.log_secret · CWE-209, CWE-532
tests/integration/test_box_integration.py:60
print(f"DEBUG: API_KEY set for proxy: {os.environ['API_KEY'][:5]}...")
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
tests/integration/test_asana_integration.py:13
load_dotenv(dotenv_path=os.path.join(os.path.dirname(__file__), '../../.env'))
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
tests/integration/test_box_integration.py:14
load_dotenv(dotenv_path=os.path.join(os.path.dirname(__file__), '../../.env'))
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
tests/integration/test_fly_machines_integration.py:12
load_dotenv(dotenv_path=os.path.join(os.path.dirname(__file__), '../../.env'))
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
tests/integration/test_notion_integration.py:13
load_dotenv(dotenv_path=os.path.join(os.path.dirname(__file__), '../../.env'))
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
tests/integration/test_render_integration.py:14
load_dotenv(dotenv_path=os.path.join(os.path.dirname(__file__), '../../.env'))
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
examples/letta/README.md:25
curl -X PUT http://127.0.0.1:8283/v1/tools/mcp/servers \
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
examples/letta/README.md:46
curl http://127.0.0.1:8283/v1/tools/mcp/servers/glama/tools
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
examples/letta/README.md:74
proxy_pass http://127.0.0.1:8765;
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
tests/integration/test_mcp2_http_roundrobin.py:114
urls.append(f"http://127.0.0.1:{port}/mcp")
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
tests/unit/test_spec_cache_and_lazy_startup.py:26
env["OPENAPI_SPEC_URL"] = "http://127.0.0.1:18931/slow.json"
LOWNetwork egress · net.tls_off · CWE-200, CWE-319
tests/unit/test_utils.py:136
verify=False
Why it matters. certificate verification is disabled
Fix. leave verification on
INFOPrompt injection · prompt.credential_read · CWE-94, CWE-1427
README.md:983
- `HA_TOKEN` — a Home Assistant **long-lived access token** (Profile → Long-Lived Access Tokens), passed via `API_KEY`; the proxy sends it as `Authorization: Bearer <token>` (its default scheme), so n
Why it matters. asks the agent to read credentials

Gates applied: no_behavioural_pass.

Audited 2026-10-07 · audit v0.4.1 · source sha 365fe2811065full audit observations/trust-audit/mcp-server/matthewhand__openapi-proxy.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-07365fe2811065BLOCKD69first audit
06

Questions

What is the OpenAPI Proxy MCP server?

MCP server that dynamically exposes REST APIs defined by OpenAPI specs. Dual-stack MCP 1.x/2.x with native Streamable HTTP.

What tools does OpenAPI Proxy expose?

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

Is OpenAPI Proxy safe to connect to an agent?

No — not without reading the findings first. The audit graded it D (69/100) and found 1 critical or high issue in the source. Each one is listed on this page with the file and line it is on.

What credentials does OpenAPI Proxy need?

It reads API_AUTH_BEARER, API_AUTH_HEADER, API_AUTH_TYPE, API_AUTH_TYPE_OVERRIDE, API_KEY, API_KEY_JMESPATH, ASANA_API_KEY, BOX_API_KEY, ELEVENLABS_API_KEY, FLY_API_KEY, GETZEP_API_KEY and MCP_REQUEST_STATE_KEY 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 Proxy run?

It speaks stdio and streamable-http, so it runs as a local process your client starts. It is published on PyPI as mcp-openapi-proxy.

How current is this page?

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

Advertisement