Acceleronix OpenAPI Swagger MCP Server

Acceleronix OpenAPI Swagger MCP Server

Provides seamless access to 32 Acceleronix PaaS OpenAPIs for device management, data storage, and more, with intelligent tool management and Bearer token authentication.

Category
访问服务器

README

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 devices
  • binding_enduser_bindDevice - Bind device to user
  • deviceshadow_enterprise_updateShadow - Update device shadow
  • weather_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

  1. Fork the repository
  2. Add new APIs to src/config.ts
  3. Test locally with npm run dev
  4. Deploy and test with Claude Desktop
  5. Submit a pull request

License

MIT License - see LICENSE file for details

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选