Skip to main content

openapi-mcp-sdk

The official openapi.com MCP SDK.

Use it in two ways:

  • Ready-to-use server — start a fully configured MCP gateway from the command line with a single command, no setup required.
  • Python library — import openapi_mcp_sdk in your own project to build a custom MCP server on top of openapi.com APIs.

Run the server

One-liner (no install required)

uvx openapi-mcp-sdk server

The server starts at http://localhost:8080.

Other runtimes

# pipx — ephemeral run, no install needed
pipx run openapi-mcp-sdk server

# pip — install once, run anytime
pip install openapi-mcp-sdk && openapi-mcp-sdk server

Local launcher script

Copy and paste the block below into your terminal. It creates a ready-to-use mcp-server.sh file and immediately starts the server:

cat > mcp-server.sh << 'EOF'
#!/bin/bash
# ============================================================
# Openapi.com MCP Server — local launcher
# Edit the variables below, then run: bash mcp-server.sh
# ============================================================

export MCP_PORT="${MCP_PORT:-8080}"

uvx openapi-mcp-sdk server
EOF
bash mcp-server.sh

Next time, just run:

bash mcp-server.sh

CLI reference

openapi-mcp-sdk <command>

Commands:
  server   Start the MCP server (HTTP/SSE, default port 8080)
  ping     Ping the openapi.com APIs and report latency       [coming soon]
  token    Generate or inspect an openapi.com Bearer token    [coming soon]

MCP client configuration

Point any MCP-compatible client (VS Code, Claude Desktop, …) at the running server.

Get your Bearer Token at console.openapi.com.

With Authorization header (recommended):

{
  "servers": {
    "openapi.com": {
      "type": "http",
      "url": "http://localhost:8080/",
      "headers": { "Authorization": "Bearer YOUR_TOKEN" }
    }
  }
}

With ?token= query parameter (for clients that do not support custom headers):

{
  "servers": {
    "openapi.com": {
      "type": "http",
      "url": "http://localhost:8080/?token=YOUR_TOKEN"
    }
  }
}

The server automatically promotes ?token= to an Authorization: Bearer header, so both methods behave identically.


Links

Metadata

Release files for openapi-mcp-sdk 0.3.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for openapi-mcp-sdk 0.3.1
File Size Uploaded Provenance
openapi_mcp_sdk-0.3.1.tar.gz 36.7 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for openapi-mcp-sdk 0.3.1
File Interpreter ABI Platform
openapi_mcp_sdk-0.3.1-py3-none-any.whl Python 3 none any Details

Total release size: 75.7 kB

Release files / openapi_mcp_sdk-0.3.1.tar.gz

Download URL openapi_mcp_sdk-0.3.1.tar.gz
Size 36.7 kB
Tags Source
SHA-256 checksum
How to use checksums
c74405e50e503e65cb8cb31e5ef96366524f0708123ac91188d34e60a1b9020d
BLAKE2b-256 checksum
How to use checksums
de0146ea9c609d8e04c812845f481b2544c0c4534fdd502ae7772fce0bb73685
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.10.6 {"installer":{"name":"uv","version":"0.10.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / openapi_mcp_sdk-0.3.1-py3-none-any.whl

Download URL openapi_mcp_sdk-0.3.1-py3-none-any.whl
Size 39.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e7f658691fb5255d5ab02077ebcc4b2a3bb1aa25060a713749dcb8ad9c42fb04
BLAKE2b-256 checksum
How to use checksums
7a6550af3ee688c1c354b56b74d4fcbcc3506ae404776d7b5671e8f15604908f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.10.6 {"installer":{"name":"uv","version":"0.10.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for openapi-mcp-sdk 0.3.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page