
A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

An MCP server that automatically converts OpenAPI/Swagger API specifications into MCP tools, letting AI assistants interact with your APIs.
OpenAPI-to-MCP server for converting API specs into MCP tools is cataloged as an MCP server attributed to sotayamashita. An MCP server that automatically converts OpenAPI/Swagger API specifications into MCP tools, letting AI assistants interact with your APIs. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.
Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for OpenAPI-to-MCP server for converting API specs into MCP tools are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
Yes. The server requires every operation in the specification to have an operationId, and it will fail to start or process the specification if any operation lacks one.
OpenAPI v3.0.0 and v3.1.0 are supported, while OpenAPI v2.0 (Swagger) is not currently supported.
No. OAuth 2.0 authentication, OpenID Connect Discovery, query parameter-based API keys, cookie-based authentication, and dynamic JWT authentication are not supported.
README.md · 9b40a5493fd3 · Fetched 2026-11-13 10:24:19 UTC
Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.
Showing the last retrieved documentation snapshot; check the source for current changes.
The openapi-mcp-server is a powerful bridge between OpenAPI specifications and AI assistants using the Model Context Protocol (MCP). It automatically converts any OpenAPI/Swagger API specification into MCP tools that can be used by AI assistants like Claude Desktop. This enables AI assistants to seamlessly interact with your APIs, making them capable of performing real-world actions through your services without requiring custom integrations.
⚠️ Note: This server requires every operation in your OpenAPI/Swagger specification to have an
operationId. If any operation is missing anoperationId, the server will fail to start or process the specification. Always ensure that all operations are explicitly assigned a unique and descriptiveoperationId.
⚠️ Version Support:
⚠️ Authentication Limitations:
# Clone the repository
git clone https://github.com/sotayamashita/openapi-mcp-server.git
cd openapi-mcp-server
# Install dependencies
bun install
You can run the server by providing an OpenAPI specification URL or file path:
# Using a local file
bun run src/index.ts ./path/to/openapi.yml
# Using a URL
bun run src/index.ts --api https://example.com/api-spec.json
BASE_URL
HEADERS
{"Content-Type": "application/json","User-Agent": "openapi-mcp-server"}To use this MCP server with Claude Desktop:
Open your Claude Desktop configuration file:
# macOS/Linux
code ~/Library/Application\ Support/Claude/claude_desktop_config.json
Add the following configuration:
{
"mcpServer": {
"openapi-mcp-server": {
"command": "bun",
"args": [
"/path/to/openapi-mcp-server/src/index.ts",
"/path/to/openapi-mcp-server/demo/openapi.yml"
],
"env": {
"BASE_URL": "https://api.example.com/v1/",
"HEADERS": "{\"Authorization\": \"Bearer ****\"}"
}
}
}
}
For more detailed instructions, see the MCP quickstart guide.
To use this MCP server with Cursor as Global:
{
"mcpServer": {
"openapi-mcp-server": {
"command": "bun",
"args": [
"/path/to/openapi-mcp-server/src/index.ts",
"/path/to/openapi-mcp-server/demo/openapi.yml"
],
"env": {
"BASE_URL": "https://api.example.com/v1/",
"HEADERS": "{\"Authorization\": \"Bearer ****\"}"
}
}
}
}
For more detailed instructions, see the Cursor's Model Context Protocol.
operationId FieldsThe operationId field in your OpenAPI/Swagger specification plays a crucial role in how tools are presented to AI assistants. When converting your API to MCP tools:
operationId is used directly as the MCP tool nameoperationId values make it easier for AI assistants to understand and use your APIgetUser, createUser, updateUserPassword)Example of a well-defined operation:
paths:
/users/{userId}:
get:
operationId: getUserById
summary: Retrieve user information
description: Returns detailed information about a specific user
The description field for each operation is equally important:
Example of a well-described operation:
paths:
/users:
post:
operationId: createUser
summary: Create a new user account
description: |
Creates a new user in the system. Requires a unique email address and a
password that meets security requirements (min 8 chars, including uppercase,
lowercase, number). Returns the created user object with an assigned user ID.
Without thorough descriptions, AI assistants may struggle to identify the right operations for user requests or may use them incorrectly. The quality of your API descriptions directly impacts how effectively AI can leverage your tools.
# Run tests
bun vitest run
# Run tests with watch mode
bun vitest
# Run tests with coverage
bun vitest run --coverage
# Format code
bun prettier . --write
This section outlines the manual steps for creating a new release using a dedicated release branch. This method helps isolate the release process from the main branch until publication.
Prerequisites:
main branch.npm login).bunx).Steps:
Ensure main is up-to-date:
git checkout main
git pull origin main
Create a release branch: Name it according to the version you intend to release (e.g., v0.1.0).
git checkout -b release/vX.Y.Z main
Replace vX.Y.Z with the target version.
Bump versions and update Changelog: This command consumes the changeset files (in .changeset/), updates the version in package.json, and updates CHANGELOG.md.
bunx @changesets/cli version
Review the changes applied to package.json and CHANGELOG.md to ensure they are correct.
Commit the versioning changes:
git add .
git commit -m "chore: update versions and changelogs for vX.Y.Z"
Replace vX.Y.Z with the target version.
Build the project: Ensure the distribution files are generated with the latest changes.
bun run build
Publish to npm: Publish the new version to the npm registry.
npm publish
Ensure your package.json includes "publishConfig": { "access": "public" } for scoped public packages.
(You might also use bun publish, but confirm its behavior with scoped public packages if you choose this.)
Tag the release in Git: Create a Git tag that matches the version published to npm.
# Replace X.Y.Z with the actual version number, e.g., 0.1.0
git tag @openapi-mcp/server@X.Y.Z
Merge the release branch back into main: This brings the version bump and CHANGELOG updates into your main branch.
git checkout main
git merge --no-ff release/vX.Y.Z
(Using --no-ff creates a merge commit, which can help in tracking releases in the Git history).
Push main and the new tag to the remote repository:
git push origin main --tags
(Optional) Clean up: Delete the release branch locally and remotely if it's no longer needed.
git branch -d release/vX.Y.Z
git push origin --delete release/vX.Y.Z
For more detailed information on using Changesets, refer to the official Changesets documentation.
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for OpenAPI-to-MCP server for converting API specs into MCP tools from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/openapi-mcp-server-sotayamashita)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.
No reviewed package or image identity; download statistics are not listed yet.
Alternative and complementary servers in the same category

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.