Back to Home
lzp0301 icon

swagger-mcp

Verified Safe

by lzp0301

Overview

Provides a Model Context Protocol (MCP) server to search and retrieve detailed information about API endpoints from a Swagger/OpenAPI specification.

Installation

Run Command
npm start

Environment Variables

  • SWAGGER_URL

Security Notes

The server fetches a Swagger/OpenAPI specification from a URL specified by an environment variable (SWAGGER_URL). While the code itself uses input validation (zod) and includes a recursion guard (depth > 5) in schema resolution, the primary security consideration is ensuring the SWAGGER_URL points to a trusted and valid source to prevent fetching malformed or malicious data. No 'eval' or direct command injection points from user input are apparent.

Similar Servers

Stats

Interest Score0
Security Score8
Cost ClassMedium
Avg Tokens1500
Stars0
Forks0
Last Update2025-11-27

Tags

API DocumentationSwaggerOpenAPIMCPDeveloper Tool