AI Decision System
Replayable, offline-verifiable records for AI-assisted go/no-go decisions: experiment promotions, typed model answers and human-approved actions.
개인 계정의 공개 저장소 소유자는 GitHub로 로그인해 운영자를 확인하고 소개를 직접 관리할 수 있습니다. 관리자 승인은 필요하지 않습니다.
로그인한 뒤 확인 파일을 만들어 이 저장소의 기본 브랜치에 30분 안에 커밋해 주세요. 다른 브랜치나 포크의 파일은 인정하지 않습니다. 파일을 올린 뒤 아래에서 확인하면 관리자 승인 없이 관리할 수 있습니다. 자격을 유지하려면 파일을 남겨 두세요.
로그인이 필요하면 로그인 화면으로 이동합니다. 로그인 후 이곳으로 돌아와 원하는 확인 버튼을 다시 눌러 주세요.
프로젝트 폴더에서 /nomorevibe verify를 실행하면 소유권을 확인하고 소개를 직접 관리할 수 있습니다.
1분 만에 확인하기🧠 A powerful, fully featured MCP Server for interacting with AI agents powered by @Openapi®
저장소 README에서 가져옴
README 전체를 불러오는 중입니다. 아래는 저장된 발췌입니다.
🔐 Openapi® MCP
The official Python MCP SDK and ready-to-run MCP server for Openapi®
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.README 전문 보기 ↗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:
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.All configuration is done through environment variables. None are required to start the server — defaults are suitable for local use.
| Variable | Default | Description |
|---|---|---|
MCP_PORT | 8080 | HTTP port the server listens on |
MCP_ENV | production | Runtime environment: dev | staging | production |
MCP_BASE_URL | http://localhost:8080 | Public URL of this server (used to build callback and file download URLs) |
MCP_CALLBACK_URL | $MCP_BASE_URL/callbacks | Explicit callback URL sent to async APIs |
MCP_OPENAPI_ENV | (empty) | Openapi environment: dev, test, sandbox (alias of test), or empty for production |
The server needs to store files for APIs that return binary documents (e.g. company official documents). The storage backend is configurable:
| Variable | Default | Description |
|---|---|---|
MCP_STORAGE_BACKEND | local | local | gcs | s3 |
MCP_STORAGE_PATH | ./openapi_storage | Local 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 |
Used to share async callback results across multiple server instances.
| Variable | Default | Description |
|---|---|---|
MCP_CACHE_BACKEND | none | none (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_PORT | 11211 | Memcached port |
See docs/env/ for per-environment configuration guides (local,
Docker, AWS, GCP, Kubernetes).
/apis/.mcp_core.py.No cloning, no virtual environment. Start the server in one command:
uvx openapi-mcp-sdk server
The server starts immediately at http://localhost:8080.
# 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
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]
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.
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.
The repository is pre-configured for a single-click debug experience. No manual steps, no editing compose files, no terminal commands.
| File | Role |
|---|---|
docker/dev/Dockerfile | Debug image — adds debugpy, exposes port 5678 |
compose.yml | Compose config — dev image, debug ports, bind mount |
.vscode/tasks.json | VS Code tasks — starts/stops the container automatically |
.vscode/launch.json | Launch config — ties everything together under F5 |
src/.Ctrl+Shift+D / ⌘+Shift+D).MCP: Debug (Docker) from the dropdown.VS Code will:
docker/dev/Dockerfile) if needed.compose.yml (debug image + bind mount).debugpy is accepting connections on port 5678.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.
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.
| Host | Container | |
|---|---|---|
| Source code | ./src | /app/src |
| MCP server | localhost:8080 | 0.0.0.0:8080 |
| debugpy listener | localhost:5678 | 0.0.0.0:5678 |
The server accepts the Bearer token in two ways:
Pass the token as a standard HTTP header:
Authorization: Bearer YOUR_TOKEN
?token= query parameterSome 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.
Generate a Bearer Token From the portal https://console.openapi.com/oauth, create a token with the required scopes.
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"
}
}
}
Test the integration
@workspace.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}).
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_URLmust point to the public address of the server (default:http://localhost:8080).
MCP_STORAGE_BACKEND | Additional variables | Notes |
|---|---|---|
local | MCP_STORAGE_PATH (default ./openapi_storage) | Default — local disk or mounted volume |
gcs | MCP_STORAGE_BUCKET | Google Cloud Storage |
s3 | MCP_STORAGE_BUCKET, MCP_STORAGE_REGION | AWS S3 or any S3-compatible service |
See docs/env/ for full per-environment configuration guides.
| Environment | Guide |
|---|---|
| Local machine (default) | docs/env/local.md |
| Docker / Docker Compose | docs/env/docker.md |
| Google Cloud Platform | docs/env/gcp.md |
| Amazon Web Services | docs/env/aws.md |
| Kubernetes | docs/env/kubernetes.md |
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/: Python modules defining MCP tools (one per API/scope).requirements.txt: Python dependencies.compose.yml: Docker Compose (production image by default; see comments to switch to debug).docker/latest/Dockerfile: Production Docker image.docker/dev/Dockerfile: Development image with debugpy for VS Code remote debugging..vscode/launch.json: VS Code debug configuration (attach to debugpy).docs/: Documentation and example configurations./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)
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.
Meet the project authors:
Meet our partners using Openapi or contributing to this SDK:
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.