go-swagger-mcp
Verified Safeby heebin2
Overview
This server provides a Model Context Protocol (MCP) interface to manage and retrieve Swagger/OpenAPI specifications.
Installation
SWAGGER_MCP_SERVER_URL="https://petstore.swagger.io/v2/swagger.json" go run cmd/mcp/main.goEnvironment Variables
- SWAGGER_MCP_SERVER_URL
Security Notes
The server loads Swagger specifications from pre-configured URLs or local paths at startup. While loading from untrusted URLs could theoretically pose risks (e.g., if a malicious spec is hosted), the implementation only processes URLs provided via the `SWAGGER_MCP_SERVER_URL` environment variable during server initialization, mitigating dynamic SSRF risks from external requests. There are no 'eval' or similar dangerous dynamic code execution patterns. The server binds to port 8080 by default, primarily for SSE communication, and lacks explicit authentication/authorization mechanisms within the provided code, relying on the MCP framework or deployment context for security.
Similar Servers
Unla
Transforms existing MCP Servers and APIs into MCP protocol-compliant endpoints through configuration, enabling LLM tool calling without code changes.
infobip-openapi-mcp
Exposes any OpenAPI documented HTTP API as a Model Context Protocol (MCP) server for AI agents, with support for mock mode and authentication.
toolhive-registry-server
The central metadata hub for enterprise Model Context Protocol (MCP) server governance and discovery, implementing the official MCP Registry API specification.
yardstick
A Model Context Protocol (MCP) server designed for performance testing and validating MCP implementations across various transport types.