An MCP server powered by fastMCP for inspecting local OpenAPI specs.
Project description
OpenAPI Tools MCP Server
A Model Context Protocol server powered by fastMCP for inspecting local OpenAPI specs. It exposes tools for listing and retrieving spec details with optional glob/tag filters and $ref resolution.
The server also publishes MCP metadata (instructions and website_url) to guide clients toward local-file OpenAPI inspection workflows.
Add as an MCP server
Add this server to your MCP client configuration (PyPI):
{
"mcpServers": {
"openapi-tools": {
"command": "uvx",
"args": [
"--from",
"openapi-tools-mcp",
"openapi-tools-mcp"
]
}
}
}
This launches the openapi-tools-mcp entrypoint from PyPI via uvx.
TOML version (PyPI):
[mcp_servers.openapi-tools]
command = "uvx"
args = ["--from", "openapi-tools-mcp", "openapi-tools-mcp"]
You can also install directly from GitHub with uvx:
uvx --from git+ssh://git@github.com/kardaj/openapi-tools-mcp.git openapi-tools-mcp
Available tools
spec_info(spec_path): Quickly summarize a spec file (OpenAPI version, title/description, servers). Use this first to confirm you're reading the right spec and its base URLs.spec_list(section, spec_path, filter_by_glob?, filter_by_tag?): Enumerate keys within a spec section (e.g., all paths, schemas, or responses). Use to discover what exists before drilling into details.spec_get(section, name, spec_path, resolve_refs=True): Retrieve a specific item from a section (e.g., one path or schema), with optional$refresolution and source line numbers for precise navigation.
All tools expect a readable OpenAPI YAML/JSON file path on the local filesystem. An example spec lives at tests/openapi.example.yml.
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file openapi_tools_mcp-0.2.0.tar.gz.
File metadata
- Download URL: openapi_tools_mcp-0.2.0.tar.gz
- Upload date:
- Size: 6.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2a51992e86ec950695d1b650332d1c7a4a849a928211b2a598d54769e54e76c5
|
|
| MD5 |
9ffae4fc7d459e4904bb7fda1a6b5946
|
|
| BLAKE2b-256 |
6c339389f18519517789d54ea5bbab2ed319f48afe987290bf63720a9f9e066f
|
Provenance
The following attestation bundles were made for openapi_tools_mcp-0.2.0.tar.gz:
Publisher:
release.yml on kardaj/openapi-tools-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
openapi_tools_mcp-0.2.0.tar.gz -
Subject digest:
2a51992e86ec950695d1b650332d1c7a4a849a928211b2a598d54769e54e76c5 - Sigstore transparency entry: 991590680
- Sigstore integration time:
-
Permalink:
kardaj/openapi-tools-mcp@64654004ff163a4088864bc33fc7556548cd943b -
Branch / Tag:
refs/tags/0.2.0 - Owner: https://github.com/kardaj
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@64654004ff163a4088864bc33fc7556548cd943b -
Trigger Event:
push
-
Statement type:
File details
Details for the file openapi_tools_mcp-0.2.0-py3-none-any.whl.
File metadata
- Download URL: openapi_tools_mcp-0.2.0-py3-none-any.whl
- Upload date:
- Size: 8.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1524cc2045c93db37fb01946b011ca1766498f294e9dceae417a87bf51e4103b
|
|
| MD5 |
54a2d6934c930cc1521ab496b7edd64e
|
|
| BLAKE2b-256 |
2748207e8f87a0f56d11a1c659e910988613d46b44024c842be1bcfb41508786
|
Provenance
The following attestation bundles were made for openapi_tools_mcp-0.2.0-py3-none-any.whl:
Publisher:
release.yml on kardaj/openapi-tools-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
openapi_tools_mcp-0.2.0-py3-none-any.whl -
Subject digest:
1524cc2045c93db37fb01946b011ca1766498f294e9dceae417a87bf51e4103b - Sigstore transparency entry: 991590682
- Sigstore integration time:
-
Permalink:
kardaj/openapi-tools-mcp@64654004ff163a4088864bc33fc7556548cd943b -
Branch / Tag:
refs/tags/0.2.0 - Owner: https://github.com/kardaj
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@64654004ff163a4088864bc33fc7556548cd943b -
Trigger Event:
push
-
Statement type: