acc-mcp-server-local

Acceleronix/acc-mcp-server-local

3.1

If you are the rightful owner of acc-mcp-server-local and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

The Acceleronix IoT MCP Server enables AI models to access real-time IoT data, providing enhanced contextual information for AI applications.

Acceleronix IoT MCP Server

License: MIT Node.js Version TypeScript

A Model Context Protocol (MCP) server for managing Acceleronix IoT devices. This server provides seamless integration with AI assistants like Claude Desktop and Cursor to control and monitor IoT devices through natural language commands.

๐Ÿš€ Ready to use: Pre-built DXT package available in dxt-release/ folder
๐Ÿ”ง Developer friendly: Full source code with TypeScript support
๐ŸŒ Universal compatibility: Works with any MCP-compatible AI assistant

โœจ Features

  • ๐Ÿ“‹ Device Management: List IoT products and devices with pagination support
  • ๐ŸŽ›๏ธ Device Control: Control device fan switch, set fan speed modes, and manage buzzer
  • ๐Ÿ“Š Data Monitoring: Read real-time sensor data (temperature, humidity, pressure)
  • ๐Ÿ“ Location Services: Query device location and resource information
  • ๐Ÿ“ˆ Historical Data: Access device data history and event logs with full sensor data parsing
  • ๐Ÿ”ง Thing Model Support: Dynamic TSL (Thing Specification Language) integration for universal device compatibility
  • โœ… Fully Tested: Successfully retrieves and parses device sensor data including temperature, humidity, and pressure readings

๐Ÿ“ฆ Installation Methods

This MCP server supports two installation methods:

๐Ÿš€ Method 1: DXT Package for Claude Desktop (Recommended)

The quickest way to get started - no build process required!

  1. Download DXT Package

    # Navigate to the dxt-release folder
    cd dxt-release/
    
    # The pre-built DXT file is ready to use
    ls acceleronix-iot-mcp-server-v1.0.0.dxt
    
  2. Install in Claude Desktop

    • Open Claude Desktop
    • Go to Settings โ†’ Extensions
    • Click "Install from DXT file"
    • Select acceleronix-iot-mcp-server-v1.0.0.dxt
    • Configure your API credentials (see Prerequisites section)

๐Ÿ“ What's included: The dxt-release/ folder contains the complete DXT package with documentation, compiled code, and all dependencies - no additional setup required!

๐Ÿ› ๏ธ Method 2: Local MCP Server Installation

For advanced users or integration with other MCP-compatible tools like Cursor, Trae, etc.

Prerequisites
  • Node.js 18+
  • npm or yarn
Installation Steps
# Clone the repository
git clone <repository-url>
cd acc-mcp-server_local

# Install dependencies
npm install

# Build the project
npm run build
MCP Server Configuration

For Claude Desktop (claude_desktop_config.json):

{
  "globalShortcut": "Ctrl+Space",
  "mcpServers": {
    "acceleronix-iot-mcp-server": {
      "command": "node",
      "args": ["/path/to/acc-mcp-server_local/dist/local-index.js"],
      "env": {
        "BASE_URL": "https://iot-api.acceleronix.io",
        "ACCESS_KEY": "your_access_key",
        "ACCESS_SECRET": "your_access_secret"
      }
    }
  }
}

For Cursor (MCP settings):

{
  "globalShortcut": "",
  "mcpServers": {
    "acceleronix-iot-mcp-server": {
      "command": "node",
      "args": ["/path/to/acc-mcp-server_local/dist/local-index.js"],
      "env": {
        "BASE_URL": "https://iot-api.acceleronix.io",
        "ACCESS_KEY": "your_access_key",
        "ACCESS_SECRET": "your_access_secret"
      }
    }
  }
}

๐Ÿ”‘ Prerequisites

Get Acceleronix Platform API Credentials

Before using this MCP server, obtain API credentials from the Acceleronix IoT platform:

Step 1: Sign up and Access Developer Center
  1. Sign up: Visit Acceleronix Developer Platform and create an account
  2. Access Developer Center: Log into your developer dashboard
Step 2: Create SaaS Application
  1. Navigate to "SaaS Development" โ†’ "SaaS Management"
  2. Click "Create a SaaS Application"
  3. Fill in application information and save
Step 3: Configure API Services
  1. Go to "SaaS Development" โ†’ "Service"
  2. Enable and authorize required API service packages
  3. Important: You can only call APIs after service authorization
Step 4: Authorize Product Access
  1. Navigate to "SaaS Development" โ†’ "Product"
  2. Authorize product data the application can access
  3. Important: Only authorized product data can be queried via API
Step 5: Get API Credentials
  1. In your SaaS application settings, find your credentials
  2. Note your ACCESS_KEY and ACCESS_SECRET
  3. These credentials are used for API authentication

๐Ÿ”ง Available Tools

ToolDescriptionParameters
list_products_paginatedList IoT products with paginationcursor (optional)
list_devices_paginatedList devices for a productproduct_key, cursor (optional)
get_device_detailsGet detailed device informationproduct_key, device_key
fan_switchControl device fan (on/off)product_key, device_key, on_off
set_fan_modeSet fan speed modeproduct_key, device_key, mode (low/medium/high)
buzzer_switchControl device buzzerproduct_key, device_key, on_off
get_device_data_historyQuery historical device data (including latest readings)product_key, device_key, time options
query_device_locationGet device location informationproduct_key, device_key
health_checkCheck server connectivityNone

๐Ÿ’ก Usage Examples

Natural Language Commands

  • "Turn on the fan for my IoT device (device key or device name)"
  • "Set the fan to medium speed"
  • "What's the latest temperature reading from my device (device key or device name)?"
  • "Show me the device location"
  • "Get the last 24 hours of sensor data"
  • "List all my IoT products (product name or product key)"

Device Control Examples

Fan Control:

  • "Please turn on the fan for my device (device key or device name)"
  • "Switch the fan to low speed mode"
  • "Turn off the fan"

Data Monitoring:

  • "Show me the current temperature and humidity readings"
  • "Get the latest 10 sensor data points"
  • "What's the device status right now?"

Device Management:

  • "List all devices in my product (product name or product key)"
  • "Show me detailed information about my device (device key or device name)"
  • "Where is my device (device key or device name) located?"

๐Ÿ“ Project Structure

acc-mcp-server_local/
โ”œโ”€โ”€ src/                    # Source code
โ”‚   โ”œโ”€โ”€ local-index.ts     # Main entry point
โ”‚   โ”œโ”€โ”€ local-iot-server.ts # MCP server implementation  
โ”‚   โ””โ”€โ”€ local-iot-utils.ts  # API utilities
โ”œโ”€โ”€ dist/                   # Compiled JavaScript
โ”œโ”€โ”€ dxt-release/           # DXT package for Claude Desktop
โ”‚   โ”œโ”€โ”€ README.md          # DXT-specific documentation
โ”‚   โ”œโ”€โ”€ *.dxt             # Pre-built DXT file
โ”‚   โ””โ”€โ”€ build.sh          # DXT build script
โ”œโ”€โ”€ package.json
โ””โ”€โ”€ README.md             # This file

๐Ÿšง Development

Building the Project

npm run build

Creating DXT Package

# Use the provided build script
./build.sh

# Or manually from dxt-release folder
cd dxt-release/
./build.sh

๐Ÿ” Troubleshooting

Common Issues

IssueSolution
โŒ Authentication ErrorVerify ACCESS_KEY and ACCESS_SECRET are correct from your SaaS application
๐Ÿ”— Connection FailedCheck BASE_URL is accessible and properly formatted
๐Ÿ” Device Not FoundEnsure product_key and device_key exist in authorized products
๐ŸŽ›๏ธ Control Commands FailVerify device supports operation via Thing Model specifications
๐Ÿ“Š No Data AccessEnsure product data is authorized in your SaaS application settings

๐Ÿ’ก Pro tip: Use the health_check tool to quickly verify your configuration and connectivity status.

๐Ÿค Contributing

We welcome contributions from the community! Here's how you can help improve the Acceleronix IoT MCP Server:

  • ๐Ÿ› Bug fixes and improvements
  • ๐Ÿ“– Documentation enhancements
  • ๐Ÿ”ง New IoT device integrations
  • ๐Ÿงช Test coverage improvements
  • ๐ŸŒ Internationalization support

๐Ÿ“„ License

Licensed under the terms specified in the LICENSE file.