mcp server which will dynamically define tools based on swagger
Overview
What is swagger-mcp?
swagger-mcp is a tool designed to scrape Swagger UI by extracting the swagger.json file and dynamically generating well-defined MCP tools at runtime. These tools can be utilized by the MCP client for further tool selection.
How to use swagger-mcp?
To use swagger-mcp, install it using Go and run it with the required Swagger/OpenAPI JSON URL. Ensure you have the necessary dependencies, including an LLM Model API Key and an MCP Client.
Key features of swagger-mcp?
- Dynamic generation of MCP tools based on Swagger definitions.
- Integration with various LLM models for enhanced functionality.
- Customizable configurations for different use cases.
Use cases of swagger-mcp?
- Automating the generation of API client tools.
- Enhancing backend services with dynamic tool definitions.
- Facilitating easier integration with various APIs through a unified interface.
FAQ from swagger-mcp?
- What dependencies are required to run swagger-mcp?
You need an LLM Model API Key and an MCP Client to use this tool.
- How do I configure swagger-mcp?
Configuration is done through command-line flags and a
.mcp.jsonfile for integration with MCP clients.
- Is swagger-mcp open source?
Yes, swagger-mcp is available on GitHub under the MIT license.