Swagger MCP Server
An example MCP server for deployment on Cloudflare Workers without authentication.
Acceleronix OpenAPI Swagger Doc MCP Server
A comprehensive Model Context Protocol (MCP) server that provides seamless access to 32 OpenAPIs from the Acceleronix Developer Center. Built on Cloudflare Workers with intelligent tool management and Bearer token authentication.
Features
- 32 Acceleronix PaaS OpenAPIs: Comprehensive coverage of device management, data storage, family services, and more
- Smart Tool Management: Intelligent load balancing with 3-8 tools per API (~100 tools total)
- Multi-Tier Architecture: EndUser, Enterprise, and Open API access levels
- Bearer Token Auth: Unified authentication across all APIs
- Real-time Access: Deployed on Cloudflare Workers for global low-latency access
- Claude Integration: Direct integration with Claude Desktop and AI Playground
Supported API Categories
Core Device Management (18 Enabled APIs)
- Device Manager (Enterprise) - Device lifecycle and configuration management
- Device Shadow (Enterprise) - Device state synchronization and shadow operations
- Binding Service (EndUser/Enterprise) - Device binding and user association
- DeviceGroup Service (EndUser) - Group management and batch operations
Platform Services
- App Service (EndUser) - Application management and deployment
- Family Service (EndUser) - Multi-user family account management
- EndUser Service (EndUser) - User profile and account operations
- Product Management (Enterprise) - Product catalog and lifecycle
Data & Analytics
- Data Storage (EndUser) - Time-series data storage and retrieval
- Weather Service (EndUser) - Weather data integration
- Rule Engine (EndUser) - Event processing and automation rules
- Category Management (EndUser) - Device categorization and taxonomy
Infrastructure Services
- OTA Service (EndUser) - Over-the-air firmware updates
- Thing Specification Language (Enterprise) - Device model definitions
- Matter Service (EndUser) - Matter protocol integration
- I18n Service (EndUser) - Internationalization and localization
- Global Bootstrap (Open) - Platform initialization services
Additional APIs (14 Available, Currently Disabled)
- Mail Service, Mobile Push, OEM App, Portal Service, Work Order, SMS, Streaming Media, and more
Quick Start
Deploy to Cloudflare Workers
# Clone the repository
git clone <repository-url>
cd swagger-mcp-server
# Install dependencies
npm install
# Deploy to Cloudflare Workers
npm run deploy
Your MCP server will be available at: https://swagger-mcp-server.<your-account>.workers.dev/sse
Local Development
# Start local development server
npm run dev
# Server available at: http://localhost:8787/sse
Configuration
Bearer Token Setup
Update the authentication tokens in src/config.ts:
{
name: "device_mgr_enterprise",
title: "IoT Device Manager (Enterprise)",
auth: { type: 'bearer', token: 'your-bearer-token-here' },
enabled: true,
maxTools: 8
}
Enable/Disable APIs
Control which APIs are active by modifying the enabled flag:
{
"name": "mail_enduser",
"title": "Mail Service (EndUser)",
"enabled": false, // Set to true to enable
"maxTools": 4
}
Claude Desktop Integration
Add to your Claude Desktop configuration (~/Library/Application Support/Claude/claude_desktop_config.json):
{
"mcpServers": {
"iot-apis": {
"command": "npx",
"args": [
"mcp-remote",
"https://swagger-mcp-server.your-account.workers.dev/sse"
]
}
}
}
Available Tools
The server automatically generates tools from Swagger specifications with intelligent naming:
device_mgr_enterprise_getDevices- List all devicesbinding_enduser_bindDevice- Bind device to userdeviceshadow_enterprise_updateShadow- Update device shadowweather_enduser_getCurrentWeather- Get current weather data- And ~96 more tools across all enabled APIs
Management Tools
List Available APIs
# Using Claude
"List all available APIs and their status"
Test Connection
# Using Claude
"Test the MCP server connection"
Architecture
Claude Desktop/AI Playground
↓
MCP JSON-RPC 2.0
↓
Cloudflare Workers
↓
McpAgent (Durable Objects)
↓
Multi-API Tool Router
↓
32 IoT APIs (Acceleronix)
Tool Distribution Strategy
- High Priority APIs: 6-8 tools each (Device Management, Product, TSL)
- Medium Priority APIs: 4-6 tools each (Binding, Shadow, Data Storage)
- Utility APIs: 3-4 tools each (Weather, I18n, Bootstrap)
- Total: ~100 tools across 18 enabled APIs
Security Features
- Bearer token authentication for all API calls
- Environment variable support for sensitive tokens
- CORS-enabled for browser clients
- Request validation and error handling
Endpoints
- MCP SSE:
/sse- Server-Sent Events endpoint for Claude - Health Check:
/health- Service status and version info - MCP JSON-RPC:
/mcp- Direct JSON-RPC 2.0 endpoint
API Documentation
Each API provides comprehensive Swagger documentation accessible through the tools. Use the list_apis tool to see all available APIs and their descriptions.
Contributing
- Fork the repository
- Add new APIs to
src/config.ts - Test locally with
npm run dev - Deploy and test with Claude Desktop
- Submit a pull request
License
MIT License - see LICENSE file for details
Serveurs connexes
Scout Monitoring MCP
sponsorPut performance and error data directly in the hands of your AI assistant.
Alpha Vantage MCP Server
sponsorAccess financial market data: realtime & historical stock, ETF, options, forex, crypto, commodities, fundamentals, technical indicators, & more
MiniMax MCP JS
A JavaScript/TypeScript server for MiniMax MCP, offering image/video generation, text-to-speech, and voice cloning.
Fyers MCP Server
An MCP server for the Fyers API v3, featuring automated OAuth authentication.
Arch Tools
53 production-ready AI tools via MCP with x402 USDC payments on Base L2 — web scraping, crypto data, AI generation, OCR, and more.
Flutter MCP
A real-time MCP server providing Flutter/Dart documentation and pub.dev package information to AI assistants, supporting over 50,000 packages on demand.
DevHub
Manage and utilize website content within the DevHub CMS platform
Swift MCP Server - JavaScript Version
Answers Swift and SwiftUI questions based on the '100 Days of SwiftUI' course using a local SQLite database.
Package README Core MCP Server
Automatically detects package managers and routes requests to appropriate MCP servers for unified package documentation access.
MCP Server Toolkit
A comprehensive toolkit for developing, testing, and deploying Model Context Protocol (MCP) servers.
MCP Server + Github OAuth
An MCP server with built-in GitHub OAuth support, designed for deployment on Cloudflare Workers.
OTP MCP Server
Generates secure One-Time Passwords (OTP) using TOTP and HOTP algorithms.