OPENAPI Specifications => MCP (Model Context Protocol) Tools
@2013xile
OPENAPI Specifications => MCP (Model Context Protocol) Tools について
OpenAPI specifications => MCP (Model Context Protocol) tools
基本情報
設定
ツール
ツールは検出されませんでした
ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。
概要
What is OPENAPI Specifications => MCP (Model Context Protocol) Tools?
A utility library that converts OpenAPI specifications into MCP tools, enabling faster development of MCP servers based on OpenAPI definitions. It is designed for developers who want to expose REST APIs as tools in the Model Context Protocol ecosystem.
How to use OPENAPI Specifications => MCP (Model Context Protocol) Tools?
Install the package and import the Converter class. Instantiate it with optional baseURL and httpClient, then call converter.load({ specs }) to load OpenAPI specifications. Retrieve the tool list via converter.getToolsList() and the tool caller via converter.getToolsCaller(). Use these with an MCP server (e.g., StdioServerTransport) to handle tool listing and execution.
Key features of OPENAPI Specifications => MCP (Model Context Protocol) Tools
- Converts OpenAPI specs into MCP tool definitions
- Supports custom base URL and HTTP client
- Provides both tool list and tool caller functions
- Works seamlessly with
StdioServerTransport - Enables rapid MCP server development from APIs
Use cases of OPENAPI Specifications => MCP (Model Context Protocol) Tools
- Create an MCP server from any REST API that has an OpenAPI specification
- Expose API operations as tools for AI assistants or agents
- Prototype MCP integrations quickly without writing boilerplate code
FAQ from OPENAPI Specifications => MCP (Model Context Protocol) Tools
What does this library do?
It converts OpenAPI specifications into MCP tools, providing a tool list and a tool caller that can be used to build an MCP server.
What are the runtime dependencies?
The library requires TypeScript/Node.js and the @modelcontextprotocol/sdk package for the MCP server infrastructure.
Can I use a custom HTTP client?
Yes, you can pass an httpClient that implements the HTTPClient interface, which includes a request method. Example: new Converter({ httpClient: axios }).
How do I load multiple OpenAPI specifications?
Pass the specifications as an object to converter.load({ specs }). The specs parameter can be a single spec or multiple specs depending on your implementation.
Is StdioServerTransport the only supported transport?
The example uses StdioServerTransport, but the library is transport‑agnostic; other MCP transports can be used as long as the server is built with the generated tools.
「その他」の他のコンテンツ
Awesome Mcp Servers
punkpeyeA collection of MCP servers.
Activepieces
activepiecesAI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
FastMCP v2 🚀
jlowin🚀 The fast, Pythonic way to build MCP servers and clients.
IDA Pro MCP
mrexodiaAI-powered reverse engineering assistant that bridges IDA Pro with language models through MCP.
Blender
ahujasidOpen-source MCP to use Blender with any LLM
コメント