原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Openapi®

作者:openapi版本 0.3.1i★ –i在云端运行
注册名称io.github.openapi/mcp-server

安装

概览

作者提供的说明(英文原文)

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

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在云端运行
  • 传输方式: Streamable HTTP
  • 分类: 开发者工具
  • 你需要填写:Authorization

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。

你需要

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

这个地址需要在请求的 header 中放入密钥,而添加连接器的菜单无法设置。请改用 Claude Code、Cursor 或 VS Code。

在终端中运行这条命令

claude mcp add --transport http openapi https://mcp.openapi.com/ --header 'Authorization: Bearer {token}'

运行前请先填写空着的值。

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "openapi": {
      "url": "https://mcp.openapi.com/",
      "headers": {
        "Authorization": "Bearer {token}"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "openapi": {
      "type": "http",
      "url": "https://mcp.openapi.com/",
      "headers": {
        "Authorization": "Bearer {token}"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个地址需要在请求的 header 中放入密钥,而添加连接器的菜单无法设置。请改用 Claude Code、Cursor 或 VS Code。

你的选择通过 Cookie 保存在这台设备上,无需账户。

需要你填写的值

  • Authorization 机密 必填 HTTP header
    Openapi® Bearer token, created at https://console.openapi.com/oauth with the scopes you need

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

工具名称和描述与服务器在 2026年11月8日 报告的完全一致。这些内容由作者撰写,不是我们写的;我们以纯文本形式显示。

  • check_async_status

    Show the last status of an async request Args: request_id: required, returned by an async downgraded request to the mcp server

  • get_company_IT_full

    Returns the complete and detailed profile of an Italian company given a VAT number or Tax Code. - Company Data (Name, VAT Number, Tax Code, CCIAA, and REA) - Managers - Registered Office and other types of offices - Activity Classifications (New ATECO 2025, ATECO history since 20

  • get_company_IT_advanced

    Returns taxCode, companyName, vatCode,address,activityStatus,reaCode,cciaa,atecoClassification,detailedLegalForm,startDate,registrationDate,endDate,pec,taxCodeCeased,taxCodeCeasedTimestamp,vatGroup,sdiCode,sdiCodeTimestamp,balanceSheets (turnover,employee,networt,staffCost,totalA

  • get_company_IT_start

    Returns taxCode,companyName,vatCode,address,activityStatus,sdiCode,registrationDate of an italian company from vatCode or taxCode. Args: vat_or_taxCode: vatCode or taxCode of an italian company

  • get_company_IT_search

    Returns a list of italian companies based on the search criteria. Use this tool if you don't know the VAT number of a company. Use this tool with dryRun=1 and no limit parameter to get the count of available results for the matching criterias Use this tool if you need to extract

  • get_company_WW_top

    Returns companyName,nativeCompanyName,companySize,address,gps,activityStatus,incorporationDate,contacts,nace,nationalClassification,balanceSheets data like employees,netWorth,operatingRevenue,equity,totalAssets . Args: vat_or_taxCode: vatCode or taxCode of a company country_code:

  • get_company_IT_legal_forms_list

    Obtain all the updated legalFormsCodes and descriptions available in italy. Usefull with get_company_IT_search. "EI"="ENTE IMPRESA","EL"="ENTE SOCIALE","OO"="COOPERATIVA SOCIALE","OS"="SOCIETA' CONSORTILE COOPERATIVA A RESPONSABILITA' LIMITATA","RC"="CONTRATTO DI RETE DOTATO DI S

  • get_company_EU_start

    Returns basic company information for a company in the specified country. Returns: companyName, vatCode, address, activityStatus, and other basic details. Args: vatCode: VAT code or company registration number (e.g., DE123456789, FR12345678901234) country_code: Two-letter country

  • get_company_EU_advanced

    Returns advanced company information for a company in the specified country. Returns: Detailed company data including financial highlights or extended registry info where available. Args: vatCode: VAT code or company registration number country_code: Two-letter country code (e.g.

  • get_company_WW_start

    Returns basic company information for a company worldwide. Args: vatCode: VAT code or company registration number country_code: Two-letter country code of the country

  • get_company_WW_advanced

    Returns advanced company information for a company worldwide. Args: vatCode: VAT code or company registration number country_code: Two-letter country code of the country

  • get_company_FR_search

    Returns a list of French companies based on the search criteria. Args: companyName: The name or part of it of a French company (optional). provinceCode: The department code or region to restrict search (optional). skip: The number of records to skip for pagination (optional). lim

  • get_IT_regions_list

    Returns the list of Italian regions

  • get_IT_provinces_list

    Returns the list of Italian provinces

  • get_IT_metropolitan_cities_list

    Returns the list of Italian metropolitan cities

  • get_suppressed_italian_municipalities

    Returns the list of suppressed or merged Italian municipalities

  • find_IT_istat_by_comune_name

    Searches for the ISTAT code associated with a given Italian municipality.

  • find_IT_municipality_by_istat

    Retrieves detailed data about an Italian municipality using the ISTAT code: - istat:istatCode - comune:municipalityName - regione:regionName - provincia:provinceName - prefisso:telephoneLocalPrefix - cod_fisco:cadastralCodeor BelfioreCode of town, - superficie:surfaceArea - num_r

  • find_IT_municipalities_by_zip

    Retrieves the list of Italian municipalities and their ISTAT code based on the ZIP code.

  • check_email_start

    Retrieves detailed information about an email address (spf, dmark, disposability, frauds) Args: email: the email to check

  • check_email_advanced

    Retrieves advanced information about an email address (spfDetails, dmarcDetails, createdAt, updatedAt, state, message, success, valid, disposable, smtpScore, overallScore, firstName, generic, common, dnsValid, honeypot, deliverability, frequentComplainer, spamTrapScore, catchAll,

  • check_mobile_start

    Retrieves basic information about a mobile number (requestedNumber, formattedNumber, numberType, isPossible, isValid, regionCode, isValidNumberForRegion, network, originalNetwork, roaming, ported, country, countryPrefix, details) Args: mobile: with international prefix es +39

  • check_mobile_advanced

    Retrieves advanced information about a mobile number (requestedNumber, formattedNumber, createdAt, updatedAt, state, message, success, valid, active, localFormat, fraudScore, recentAbuse, voip, prepaid, risky, name, identityData, carrier, lineType, country, region, city, accurate

  • check_ip_advanced

    Retrieves advanced information about an ip address (ip, createdAt, updatedAt, state, requestedIp, message, success, proxy, host, isp, organization, asn, countryCode, city, region, timezone, latitude, longitude, zipCode, isCrawler, connectionType, recentAbuse, abuseVelocity, botSt

  • check_url_advanced

    Retrieves advanced information about an url address (url, createdAt, updatedAt, state, requestedUrl, message, success, unsafe, domain, ipAddress, countryCode, languageCode, server, contentType, statusCode, pageSize, domainRank, dnsValid, parking, pageTitle, shortLinkRedirect, hos

  • get_italian_company_official_documents_list

    Recupera un elenco di endpoint di visure camerali disponibili per una azienda da usare con il tool get_italian_company_official_document fornendo la sua Partita IVA o il suo Codice Fiscale. Args: vat_or_taxCode: vatCode or taxCode of an italian company

  • get_italian_company_official_document

    Recupera una visura camerale di una azienda fornendo la sua Partita IVA o il suo Codice Fiscale. Args: document_url: url of the requested document vat_or_taxCode: vatCode or taxCode of an italian company

  • download_italian_company_official_document

    Download a document when the "stato_richiesta" of a get_italian_company_official_document call is "Dati disponibili" Response is a json containing one or more files with attributes: file_name, file_size, download_link, content, expire. Args: document_id: the value id in return of

  • send_sms

    Send an SMS to a mobile number using minus sign to separate international prefix from the number Args: sender: optional, can be a 11 char long string body: the body of the message string mobile: the recipient mobile number. Eg.:"+39-1234567890"

  • post_risk_WW_kyc_full

    This endpoint allows you to create a full kyc request on a subject (politically exposed person, adverse media, local politicians, legal enforcement, sanctions, whitelists) use name for entityType L,W,VE,AC,NA or firstName/lastName for entityType I Args: firstName: first name of t

  • get_risk_IT_creditscore_top

    Returns Operational credit limits, Rating evaluations, Risk score history, Public ratings, Financial positions and profiles of an italian company from vatCode or taxCode. Args: vat_or_taxCode: vatCode or taxCode of an italian company

  • check_IT_fiscal_code

    Check if an Italian Fiscal Code is real and existent in the official database. Args: fiscalCode: fiscal code of an italian person

  • geocode

    Retrieve informations about a place supplying address. To improve success of results, please specify an address conforming to the following format: [street], [city] [postal code] [country] Args: address: string

  • reverse_geocode

    Get place information from ID or latitude/longitude: To obtain infos via ID make sure to pass the following format: {"type": "id", "id": " "} To obtain infos via lat/long, make sure to provide the following format: {"type": "coordinates", "lat": " ", "long": " "} Args: type: requ

  • check_license_plate

    Retrieve informations about type=car,bike,insurance,mot from a countryCode=IT,FR,UK,DE,PT,ES and a licensePlate. Available Combinations: IT-car, IT-bike, IT-insurance,FR-car,FR-bike,UK-car,UK-bike,UK-mot,PT-car,PT-insurance,ES-car,ES-bike Args: countryCode: required, 2 digit coun

  • get_today_exchange_rates

    Obtain daily world exchange rate based on USD value

  • check_pec

    Checks if a specific PEC (Certified Email) address is available for purchase Use this tool when the user asks if a PEC address is avaible Args: pec: the pec address to check

  • get_docuengine_services

    Returns the list of all available DocuEngine services with their required parameters.

  • get_docuengine_request_status

    Returns the details and status of a specific DocuEngine request.

  • get_docuengine_documents

    Returns the download links for the documents produced by a request.

  • docuengine_visura_camerale_ordinaria_societa_di_capitale

    Direct tool for DocuEngine service: Visura Camerale Ordinaria - Societa' Di Capitale (ID: 663df75d19a52195e23e315c). [Camerali] Visura Camerale Ordinaria - Societa' Di Capitale 💰 Price: €4.90 📋 Required: reaCode, cciaa

  • docuengine_visura_camerale_ordinaria_societa_di_persone

    Direct tool for DocuEngine service: Visura Camerale Ordinaria - Societa' Di Persone (ID: 6671a5549e6f0e447bc2659d). [Camerali] Visura Camerale Ordinaria - Societa' Di Persone 💰 Price: €3.40 📋 Required: reaCode, cciaa

  • docuengine_visura_camerale_ordinaria_impresa_individuale

    Direct tool for DocuEngine service: Visura Camerale Ordinaria - Impresa Individuale (ID: 6671a5719e6f0e447bc2659e). [Camerali] Visura Camerale Ordinaria - Impresa Individuale 💰 Price: €2.90 📋 Required: reaCode, cciaa

  • docuengine_visura_camerale_storica_societa_di_capitale

    Direct tool for DocuEngine service: Visura Camerale Storica - Societa' Di Capitale (ID: 6671a5a29e6f0e447bc2659f). [Camerali] Visura Camerale Storica - Societa' Di Capitale 💰 Price: €5.90 📋 Required: reaCode, cciaa

  • docuengine_visura_camerale_storica_societa_di_persone

    Direct tool for DocuEngine service: Visura Camerale Storica - Societa' Di Persone (ID: 6671a5bf9e6f0e447bc265a0). [Camerali] Visura Camerale Storica - Societa' Di Persone 💰 Price: €4.40 📋 Required: reaCode, cciaa

  • docuengine_visura_camerale_storica_impresa_individuale

    Direct tool for DocuEngine service: Visura Camerale Storica - Impresa Individuale (ID: 6671a5d69e6f0e447bc265a1). [Camerali] Visura Camerale Storica - Impresa Individuale 💰 Price: €3.90 📋 Required: reaCode, cciaa

  • docuengine_bilancio_ottico

    Direct tool for DocuEngine service: Bilancio Ottico (ID: 667443c29e6f0e447bc265aa). [Camerali] Bilancio Ottico 💰 Price: €4.50 (search: €0.10, document: €4.40) 📋 Required: taxCode 🔍 Two-step process: This returns search results. Use 'patch_docuengine_bilancio_ottico' to select

  • patch_docuengine_bilancio_ottico

    Finalize selection for DocuEngine service: Bilancio Ottico. Use this AFTER calling 'docuengine_bilancio_ottico' when it returns a list of options. Provide the 'id' from your chosen option, and 'year' if applicable (e.g., for balance sheets). Example: If the search returned option

  • docuengine_bilancio_xbrl

    Direct tool for DocuEngine service: Bilancio XBRL (ID: 667c131a9e6f0e447bc265c1). [Camerali] Bilancio XBRL 💰 Price: €4.50 (search: €0.10, document: €4.40) 📋 Required: taxCode 🔍 Two-step process: This returns search results. Use 'patch_docuengine_bilancio_xbrl' to select and fi

  • patch_docuengine_bilancio_xbrl

    Finalize selection for DocuEngine service: Bilancio XBRL. Use this AFTER calling 'docuengine_bilancio_xbrl' when it returns a list of options. Provide the 'id' from your chosen option, and 'year' if applicable (e.g., for balance sheets). Example: If the search returned options wi

  • docuengine_visura_camerale_inglese

    Direct tool for DocuEngine service: Visura Camerale Inglese (ID: 66840ce41a241a5d1be0f9e5). [Camerali] Visura Camerale Inglese 💰 Price: €6.50 📋 Required: taxCode

  • docuengine_atto_ottico

    Direct tool for DocuEngine service: Atto Ottico (ID: 6687eea71a241a5d1be0f9f9). [Camerali] Atto Ottico 💰 Price: €5.50 (search: €0.60, document: €4.90) 📋 Required: taxCode 🔍 Two-step process: This returns search results. Use 'patch_docuengine_atto_ottico' to select and finalize

  • patch_docuengine_atto_ottico

    Finalize selection for DocuEngine service: Atto Ottico. Use this AFTER calling 'docuengine_atto_ottico' when it returns a list of options. Provide the 'id' from your chosen option, and 'year' if applicable (e.g., for balance sheets). Example: If the search returned options with '

  • docuengine_statuto

    Direct tool for DocuEngine service: Statuto (ID: 6687eed51a241a5d1be0f9fa). [Camerali] Statuto 💰 Price: €4.90 📋 Required: taxCode

  • docuengine_bilancio_riclassificato

    Direct tool for DocuEngine service: Bilancio Riclassificato (ID: 669533fe6d4f51cbde8da353). [Camerali] Bilancio Riclassificato 💰 Price: €5.00 (search: €0.10, document: €4.90) 📋 Required: taxCode 🔍 Two-step process: This returns search results. Use 'patch_docuengine_bilancio_ri

  • patch_docuengine_bilancio_riclassificato

    Finalize selection for DocuEngine service: Bilancio Riclassificato. Use this AFTER calling 'docuengine_bilancio_riclassificato' when it returns a list of options. Provide the 'id' from your chosen option, and 'year' if applicable (e.g., for balance sheets). Example: If the search

  • docuengine_certificato_di_iscrizione

    Direct tool for DocuEngine service: Certificato Di Iscrizione (ID: 689c99942d09c0a9bcb946e8). [Camerali] Certificato Di Iscrizione 💰 Price: €13.70 📋 Required: taxCode

  • docuengine_certificato_artigiano

    Direct tool for DocuEngine service: Certificato Artigiano (ID: 689cb8852d09c0a9bcb946f3). [Camerali] Certificato Artigiano 💰 Price: €13.70 📋 Required: taxCode

  • docuengine_certificato_storico

    Direct tool for DocuEngine service: Certificato Storico (ID: 689cb8972d09c0a9bcb946f5). [Camerali] Certificato Storico 💰 Price: €16.70 📋 Required: taxCode

  • docuengine_soci_attivi_azienda

    Direct tool for DocuEngine service: Soci Attivi Azienda (ID: 6932c9602a2ea4883e6ebba9). [Camerali] Soci Attivi Azienda 💰 Price: €2.30 📋 Required: taxCode

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月9日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 openapi 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • ✓ 通过

    端点有响应

    在 226 毫秒内响应(HTTP 200)

  • – 不适用

    使用 OAuth 登录

    无需登录

  • ✓ 通过

    工具描述中没有隐藏指令

    已读取 60 个工具描述,未发现针对 AI 的隐藏指令

与“开发者工具”中的其他服务器比较i

  • 星标数多于此分类中其他 5569 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 5569 个服务器的 56% 更新
  • 基础检查结果等于或优于此分类中其他 5569 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Openapi® 安全吗?

它在 3 项适用的基础检查中通过了 3 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

你需要填写:Authorization

它在我的电脑上运行还是在云端?

它在作者的云端运行。通过互联网连接,无需安装,但你发送的内容会经过作者的服务器。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(0.3.1)于24天前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。它通过 URL 连接,所以接受远程 MCP 服务器的应用也可以使用,例如开启开发者模式的 ChatGPT。

有什么可以替代它?

同一分类中有:GitHub, Desktop Commander, Cloudflare MCP

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

GitHub

Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.

作者:github广泛使用★ 3.4万5天前更新

电脑或云端

Desktop Commander

MCP server for terminal commands, file operations, and process management

作者:wonderwhy-er广泛使用↓ 71万/周★ 1万18天前更新

在你的电脑上运行

Cloudflare MCP

Cloudflare MCP servers

作者:cloudflare广泛使用★ 444614个月前更新

在云端运行✓ mcp.cloudflare.com

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。


🔐 Openapi® MCP The official Python MCP SDK and ready-to-run MCP server for Openapi®

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.
  1. 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" } } }

  1. 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/

└── / ├── 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

  • src/openapi_mcp_sdk/main.py: FastAPI + MCP server entry point.
  • src/openapi_mcp_sdk/mcp_core.py: MCP initialization, API call helpers, error handling.
  • [src/openapi_mcp_sdk/apis/](src/openapi_mcp_s

只显示了开头部分;其余内容请在仓库中阅读

问 PopNx