Back to Home
aike1202 icon

swagger-mcp-server

by aike1202

Overview

This server transforms Swagger/OpenAPI documentation into AI-callable tools, enabling AI models to perform API development tasks such as documentation querying, interface debugging, and cURL command generation.

Installation

Run Command
npx -y @aike1202/swagger-mcp-server http://localhost:8090/v3/api-docs

Security Notes

The `debug_endpoint` tool allows AI to execute arbitrary HTTP requests, posing significant risks such as Server-Side Request Forgery (SSRF), internal network scanning, or interaction with unintended services if the AI is unconstrained or exploited. Authentication credentials for auto-login are passed via command-line arguments, which can be insecure as they may be visible in process lists or logs; secure handling of these arguments in the deployment environment is critical. The server also fetches Swagger docs from provided URLs, which could be a vector for fetching malicious content if not controlled.

Similar Servers

Stats

Interest Score0
Security Score3
Cost ClassMedium
Avg Tokens2000
Stars0
Forks0
Last Update2025-11-22

Tags

SwaggerOpenAPIAI ToolsAPI DevelopmentMCP