Skip to content
MCP server
RegistryRemote

Openapi® MCP Server

Official Openapi® MCP server: Italian company data, PEC, SMS, vehicles, geocoding and more APIs.

Openapi® scores 67 (Good), licensed MIT and written in Python. It can be reached as a remote MCP endpoint. It does not declare tools yet. Filed under Communication, Maps and location. GitHub shows 22 stars. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.

by openapiMITPython22 stars
Trust score
67Good
Trust score 67 of 100, Good

Good trust

67 of 100 from six public signals. Nobody can buy a point.

  • Listed in the official MCP registry.
  • OSI-style license: mit.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 67 comes from

22 + 20 + 4 + 10 + 4 + 7 = 67. Each factor is capped, so no single signal can carry a listing.

Registry22 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 22 of 30 points.
Maintenance20 / 20

How recently the repository saw a commit or release.

Maintenance: 20 of 20 points.
Popularity4 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 4 of 20 points.
License10 / 10

A clear, OSI-style open-source license.

License: 10 of 10 points.
Security4 / 10

Not archived, a secure install path, a pinned version.

Security: 4 of 10 points.
Docs7 / 10

A real summary, a README with depth, listed tools.

Docs: 7 of 10 points.

Install

Pick your client, copy the config, paste it in.

Remote auth: API key required. Get a key or token from the provider first, then add it as a header in your client config. How remote auth works

Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "mcpServers": {    "openapi-mcp-server": {      "url": "https://mcp.openapi.com/"    }  }}

Environment variables

This server does not declare environment variables.

Tools show up when the registry metadata or the repository README lists them. Public READMEs are read directly. A GitHub token is used only when one is already configured.

About


build PyPI Python License MCP mcptry Linux Foundation Member

Overview

Welcome to openapi-mcp-sdk, this is the official openapi.com MCP SDK. It ships as a Python package on PyPI and can be used in two ways:

  • Ready-to-use server — run the MCP gateway directly from the package with a single command, no cloning or setup required.
  • Python library — import openapi_mcp_sdk in your own project to build a custom MCP server that wraps openapi.com APIs with your own logic, tools, or auth layer on top.

Environment variables

All configuration is done through environment variables. None are required to start the server — defaults are suitable for local use.

Core

VariableDefaultDescription
MCP_PORT8080HTTP port the server listens on
MCP_ENVproductionRuntime environment: dev | staging | production
MCP_BASE_URLhttp://localhost:8080Public URL of this server (used to build callback and file download URLs)
MCP_CALLBACK_URL$MCP_BASE_URL/callbacksExplicit callback URL sent to async APIs
MCP_OPENAPI_ENV(empty)Openapi environment: dev, test, sandbox (alias of test), or empty for production

Storage

The server needs to store files for APIs that return binary documents (e.g. company official documents). The storage backend is configurable:

VariableDefaultDescription
MCP_STORAGE_BACKENDlocallocal | gcs | s3
MCP_STORAGE_PATH./openapi_storageLocal path for local backend
MCP_STORAGE_BUCKET(required for cloud)Bucket name for gcs or s3
MCP_STORAGE_REGION(required for s3)AWS region for the S3 bucket

Cache

Used to share async callback results across multiple server instances.

VariableDefaultDescription
MCP_CACHE_BACKENDnonenone (in-process dict) | memcached | redis
MCP_CACHE_URL(none)Redis connection URL (MCP_CACHE_BACKEND=redis), e.g. redis://host:6379
MCP_CACHE_HOST(none)Memcached host (MCP_CACHE_BACKEND=memcached)
MCP_CACHE_PORT11211Memcached port

See docs/env/ for per-environment configuration guides (local, Docker, AWS, GCP, Kubernetes).

Features

  • Secure proxy: Pass-through of the Bearer Token provided by the client, without direct handling of sensitive credentials.
  • Extensible: Easily add new tools/APIs by creating modules in /apis/.
  • MCP-compatible: Designed according to MCP protocol best practices.
  • Modular: All API call logic and tool registration is centralized in mcp_core.py.

Quick Start — run from PyPI (recommended)

No cloning, no virtual environment. Start the server in one command:

uvx openapi-mcp-sdk server

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

Other runtimes

# pipx (ephemeral run, no install needed — similar to uvx)
pipx run openapi-mcp-sdk server

# pip (installs the package, then run the command)
pip install openapi-mcp-sdk && openapi-mcp-sdk server

# pip3 on systems where python3 is the default
pip3 install openapi-mcp-sdk && openapi-mcp-sdk server

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]

Running with Docker

The project ships a single compose.yml with the mcp service.

# Build and start (production-like image)
docker compose up --build

# Run in background
docker compose up --build -d

# Follow logs
docker compose logs -f mcp

The server will be accessible at http://localhost:8080.

Debug and Development

Local development (without Docker)

The fastest iteration loop runs the server directly with uvicorn:

make start

This sets PYTHONPATH=src and starts uvicorn with auto-reload disabled. The server listens on http://0.0.0.0:8080.

To test endpoints manually:

curl -H "Authorization: Bearer YOUR_TOKEN" http://localhost:8080

The server prints request headers and parameters to stdout — no extra configuration needed.

Remote debugging with VS Code and Docker (one click)

The repository is pre-configured for a single-click debug experience. No manual steps, no editing compose files, no terminal commands.

How it works

FileRole
docker/dev/DockerfileDebug image — adds debugpy, exposes port 5678
compose.ymlCompose config — dev image, debug ports, bind mount
.vscode/tasks.jsonVS Code tasks — starts/stops the container automatically
.vscode/launch.jsonLaunch config — ties everything together under F5

Workflow

  1. Set your breakpoints anywhere in src/.
  2. Open Run and Debug (Ctrl+Shift+D / ⌘+Shift+D).
  3. Select MCP: Debug (Docker) from the dropdown.
  4. Press F5.

VS Code will:

  • Build the debug image (docker/dev/Dockerfile) if needed.
  • Start the container via compose.yml (debug image + bind mount).
  • Wait automatically until debugpy is accepting connections on port 5678.
  • Attach debugpy — your breakpoints are now live.

When you press ⇧F5 (Stop), VS Code detaches and tears down the container.

Keep the container alive after detaching? Remove the "postDebugTask" line from .vscode/launch.json. You can then re-attach at any time by pressing F5 again without rebuilding.

Live code reload

compose.yml bind-mounts ./src into /app/src inside the container. Edits to files under src/ are reflected immediately — no image rebuild required. Just send a new request and the updated code runs.

Path mapping reference

HostContainer
Source code./src/app/src
MCP serverlocalhost:80800.0.0.0:8080
debugpy listenerlocalhost:56780.0.0.0:5678

Authentication

The server accepts the Bearer token in two ways:

Option A — Authorization header (recommended)

Pass the token as a standard HTTP header:

Authorization: Bearer YOUR_TOKEN

Option B — ?token= query parameter

Some MCP clients or environments do not support custom HTTP headers. In that case the token can be embedded directly in the server URL as a query parameter:

http://YOUR_SERVER_IP:8080/?token=YOUR_TOKEN

The server automatically promotes it to an Authorization: Bearer header before the request reaches the MCP layer, so the behaviour is identical.

When to use ?token=: Claude Desktop (as of mid-2025), some browser-based MCP playgrounds, and any client whose configuration only accepts a plain URL without a headers field.

MCP Client Configuration (VS Code)

  1. Generate a Bearer Token From the portal https://console.openapi.com/oauth, create a token with the required scopes.

  2. Create the .vscode/mcp.json file

    With header (recommended):

    {
      "servers": {
        "openapi.com": {
          "type": "http",
          "url": "http://YOUR_SERVER_IP: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://YOUR_SERVER_IP:8080/?token=YOUR_TOKEN"
        }
      }
    }
    
  3. Test the integration

    • Reload VS Code.
    • Open the Copilot chat and type @workspace.
    • Use the tools exposed by the MCP server.

File storage

Some openapi.com APIs (e.g. visure camerali — Italian official company documents) return large binary files (ZIP archives, PDFs) that cannot be embedded inline in the MCP stream. The server downloads these files, stores them, and serves them via a separate HTTP endpoint (GET /status/{id}/files/{filename}).

Default: local filesystem

By default (MCP_STORAGE_BACKEND=local) files are written to ./openapi_storage relative to the directory from which the server is started:

./openapi_storage/
└── <request_id>/
    ├── document.pdf
    └── attachments.zip

Override the path with the MCP_STORAGE_PATH environment variable:

export MCP_STORAGE_PATH=/var/data/openapi_storage
uvx openapi-mcp-sdk server

The directory is created automatically on first use. For the download links to work correctly, MCP_BASE_URL must point to the public address of the server (default: http://localhost:8080).

Cloud storage backends

MCP_STORAGE_BACKENDAdditional variablesNotes
localMCP_STORAGE_PATH (default ./openapi_storage)Default — local disk or mounted volume
gcsMCP_STORAGE_BUCKETGoogle Cloud Storage
s3MCP_STORAGE_BUCKET, MCP_STORAGE_REGIONAWS S3 or any S3-compatible service

See docs/env/ for full per-environment configuration guides.

Deployment environments

EnvironmentGuide
Local machine (default)docs/env/local.md
Docker / Docker Composedocs/env/docker.md
Google Cloud Platformdocs/env/gcp.md
Amazon Web Servicesdocs/env/aws.md
Kubernetesdocs/env/kubernetes.md

Project Structure

Adding New Tools/APIs

  1. Create or modify a file in /apis/, following this pattern:
    from fastmcp import Context
    from typing import Any
    from mcp_core import make_api_call, mcp
    
    @mcp.tool
    async def tool_name(parameters..., ctx: Context) -> Any:
        # ...logic...
        return make_api_call(ctx, "GET", url, params=params)
    
  2. Restart the server to apply the changes.

Security Notes

  • Never hardcode credentials or tokens in the code.
  • The server expects the Bearer Token to be provided by the client via HTTP headers.
  • All API calls are proxied using the token provided by the client.

Useful Resources

Contributing

Contributions are always welcome! Whether you want to report bugs, suggest new features, improve documentation, or contribute code, your help is appreciated.

See docs/contributing.md for detailed instructions on how to get started. Please make sure to follow this project's docs/code-of-conduct.md to help maintain a welcoming and collaborative environment.

Authors

Meet the project authors:

Partners

Meet our partners using Openapi or contributing to this SDK:

License

This project is licensed under the MIT License.

The MIT License is a permissive open-source license that allows you to freely use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the software, provided that the original copyright notice and this permission notice are included in all copies or substantial portions of the software.

In short, you are free to use this SDK in your personal, academic, or commercial projects, with minimal restrictions. The project is provided "as-is", without any warranty of any kind, either expressed or implied, including but not limited to the warranties of merchantability, fitness for a particular purpose, and non-infringement.

For more details, see the full license text at the MIT License page.

Frequently asked questions

What is Openapi® MCP Server?

Official Openapi® MCP server: Italian company data, PEC, SMS, vehicles, geocoding and more APIs.

How do I install Openapi® MCP Server in Claude Desktop, Cursor, or VS Code?

Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. Openapi® MCP Server connects to the remote endpoint https://mcp.openapi.com/, so there is nothing to install locally.

Is Openapi® MCP Server free and open source?

Yes. Openapi® MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.

Does Openapi® MCP Server support remote (HTTP) connections?

Yes. Openapi® MCP Server offers a hosted endpoint over Streamable HTTP, so HTTP-capable clients can connect to it without running anything locally.

How is Openapi® MCP Server's trust score calculated?

Openapi® MCP Server scores 67 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.

Reviews

No reviews yet

—Be the first to review

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server