Swagger2mcp
FreeNot checkedπ Instantly transform any OpenAPI/Swagger schema into a production-ready Model Context Protocol (MCP) server! π€β¨ Bridge your APIs with LLMs securely and effor
About
π Instantly transform any OpenAPI/Swagger schema into a production-ready Model Context Protocol (MCP) server! π€β¨ Bridge your APIs with LLMs securely and effortlessly.
README
CI Pipeline License: MIT TypeScript Docker React PRs Welcome
Transform OpenAPI/Swagger specifications into Model Context Protocol (MCP) servers instantly.
π Swagger2MCP is a powerful tool ensuring LLMs can securely and accurately interact with your APIs. Upload a schema or crawl a documentation site, and get a fully functional, type-safe MCP server.

β¨ Features
- π€ Drag & Drop Upload: Support for OpenAPI v2/v3 JSON/YAML files.
- π Intelligent Web Crawling: Point to any documentation URL and let our crawler discover schemas.
- π§ Automatic Code Generation: Production-ready TypeScript MCP servers.
- π¦ One-Click Export: Push directly to GitHub / GitLab or download as ZIP.
- π Secure Management: Store API tokens and configurations securely with audit logging.
- π³ Dockerized: Deploy anywhere with a single
docker-compose up. - π Job Tracking: Real-time progress monitoring for long-running crawling jobs.
π Quick Start
Prerequisites
- Docker & Docker Compose installed.
- Node.js 18+ (only if running locally without Docker).
Running with Docker (Recommended)
# Clone the repository
git clone https://github.com/tomer1983/swagger2mcp.git
cd swagger2mcp
# Start the application
docker-compose up
Visit the application at http://localhost:5173.
π Production Deployment Checklist
Before deploying to production, ensure you complete the following critical security steps:
- β Change JWT_SECRET - Generate a strong, unique secret key for JWT token signing
- β Set strong passwords - Use complex passwords for all database and service accounts
- β Configure CORS - Restrict CORS to only trusted domains in production
- β Enable HTTPS - Always use SSL/TLS certificates for encrypted communication
- β
Review environment variables - Ensure all
.envvalues are production-ready - β Update default credentials - Change all default usernames and passwords
- β Enable security headers - Configure appropriate HTTP security headers
- β Set up monitoring - Implement logging and monitoring solutions
See docs/PRODUCTION_DEPLOYMENT_CHECKLIST.md for detailed deployment instructions.
πΈ Screenshots
| Dashboard | Settings & configuration |
|---|---|
![]() |
![]() |
π Documentation
- Development Guide - Setup for contributors.
- API Documentation - REST API reference.
- Kubernetes Deployment - Deploy to Kubernetes or use Helm charts.
- Authentication - Security details.
- Testing Guide - QA procedures.
βΈοΈ Kubernetes Deployment
Deploy swagger2mcp to any Kubernetes cluster:
Using Manifests
kubectl apply -f k8s/namespace.yaml
kubectl apply -f k8s/
Using Helm
helm install swagger2mcp ./charts/swagger2mcp --namespace swagger2mcp --create-namespace
See the full Kubernetes guide for detailed instructions.
ποΈ Architecture
Swagger2MCP is built with a modern tech stack designed for reliability and scalability:
graph LR
A[Frontend React] -->|REST API| B[Backend Express]
B -->|Jobs| C[Redis Queue]
C -->|Process| D[Worker Service]
B -->|Data| E[PostgreSQL]
D -->|Updates| E
- Frontend: React, Vite, TailwindCSS, Shadcn UI
- Backend: Node.js, Express, Prisma ORM
- Infrastructure: Docker, Nginx (optional), BullMQ (Redis)
π€ Contributing
We welcome contributions! Please see our Contributing Guidelines for details.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature) - Commit your Changes (
git commit -m 'Add some AmazingFeature') - Push to the Branch (
git push origin feature/AmazingFeature) - Open a Pull Request
π Security
For security concerns, please refer to our Security Policy.
π License
Distributed under the MIT License. See LICENSE for more information.
π¬ Community
Built with β€οΈ by the Swagger2MCP Team
Installing Swagger2mcp
This server has no published package β it is built from source. Open the repository and follow its README.
βΈ github.com/tomer1983/swagger2mcpFAQ
Is Swagger2mcp MCP free?
Yes, Swagger2mcp MCP is free β one-click install via Unyly at no cost.
Does Swagger2mcp need an API key?
No, Swagger2mcp runs without API keys or environment variables.
Is Swagger2mcp hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install Swagger2mcp in Claude Desktop, Claude Code or Cursor?
Open Swagger2mcp on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install β the config is generated automatically, no JSON editing.
Related MCPs
GitHub
PRs, issues, code search, CI status
by GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
by mcpdotdirectCompare Swagger2mcp with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All development MCPs

