UltronSysController/ultron-mcp-server
If you are the rightful owner of ultron-mcp-server 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.
UltronCloud MCP Server is an enterprise-grade IoT platform API designed for developers and AI agents, offering seamless integration with modern AI assistants and traditional applications.
UltronCloud MCP Server
š Enterprise-Grade IoT Platform API for Developers & AI Agents
Works with: Claude Desktop ⢠Claude CLI ⢠ChatGPT ⢠LangChain ⢠REST API
Quick Start ⢠Documentation ⢠Examples ⢠Support
š Why UltronCloud Personal Edition?
Build powerful IoT applications in minutes, not months. UltronCloud Personal Edition provides enterprise-grade smart home APIs that work seamlessly with modern AI assistants and traditional applications.
⨠Key Features
- š 34 Secure APIs - Production-ready, thoroughly tested endpoints
- š¤ AI-Native Design - Built for ChatGPT, Claude, LangChain integration
- ā” Real-time Control - Instant device management and status updates
- š Advanced Analytics - Energy monitoring, sensor data, historical insights
- š Scene Management - Create and execute complex automation scenarios
- š Smart Alerts - Intelligent notifications and anomaly detection
- š Multi-Protocol - REST API, MCP Server, OpenAPI 3.0 specification
- š Developer-Friendly - Comprehensive docs, examples, and SDKs
š Quick Start
Prerequisites
- Node.js 18+
- UltronCloud Developer Account
- Credentials from UltronCloud Account
Installation & Setup
# 1. Clone the repository
git clone https://github.com/UltronSysController/ultron-user-mcp-server.git
cd ultron-user-mcp-server
# 2. Install dependencies
npm install
# 3. For Claude CLI/Code users - Global installation
npm link # Creates global command 'ultron-mcp'
# 4. Run interactive setup (Recommended)
npm run setup
# This will:
# - Ask for your App ID and API Key
# - Fetch your available groups
# - Help you select the right group
# - Test the connection
# - Save everything to .env
# 4. Test your setup
npm test
# 5. Start using
npm start # Run MCP server
Manual Setup (Alternative)
# If you prefer manual configuration
cp .env.example .env
# Edit .env with:
# - ULTRON_APP_ID=your-app-id
# - ULTRON_API_KEY=your-api-key
# - ULTRON_GROUP_ID=your-group-id (optional)
š» Usage Examples
JavaScript/Node.js
import axios from 'axios';
// Configure API client
const ultronAPI = axios.create({
baseURL: 'https://api.ultroncloud.com',
headers: {
'Authorization': `Bearer ${process.env.ULTRON_API_KEY}`,
'X-App-Id': process.env.ULTRON_APP_ID
}
});
// Get all devices
const devices = await ultronAPI.post('/usr/v4/GetGroupDevices', {
groupId: 'grp_123456'
});
// Control a device
const result = await ultronAPI.post('/usr/v4/SendCommand', {
sn: 'UT3702A0002201234',
iotDevs: ['Switch'],
cmd: 'toggle'
});
Python
import requests
headers = {
'Authorization': f'Bearer {API_KEY}',
'X-App-Id': APP_ID
}
# Control device
response = requests.post(
'https://api.ultroncloud.com/usr/v4/SendCommand',
headers=headers,
json={'sn': 'device_id', 'iotDevs': ['Switch'], 'cmd': 'on'}
)
š¤ AI Agent Integration
Claude Desktop & CLI
# For Claude Desktop & CLI - Full local control
npm start
# Works with both:
# - Claude Desktop app (macOS/Windows)
# - Claude CLI for terminal/automation
# See CLAUDE_CLI_GUIDE.md for detailed setup
ChatGPT GPTs
- Open GPT Builder
- Import
ultroncloud-api-personal.yaml
- Configure authentication with Bearer token and X-App-Id header
Claude Configuration
// Add to claude_desktop_config.json or .claude/config.json
{
"mcpServers": {
"ultroncloud": {
"command": "node",
"args": ["path/to/ultron-mcp-server.js"],
"env": {
"ULTRON_APP_ID": "your-app-id",
"ULTRON_API_KEY": "your-api-key"
}
}
}
}
LangChain
from langchain.tools import Tool
from langchain.utilities import Requests
requests = Requests(headers={
'Authorization': f'Bearer {API_KEY}',
'X-App-Id': APP_ID
})
š API Overview
Available API Categories
Category | APIs | Description |
---|---|---|
Group Management | 10 | Groups, members, permissions |
Device Management | 7 | Device control, status, configuration |
Data Analytics | 5 | Energy monitoring, sensor data, exports |
User Profile | 5 | Profile, settings, preferences |
Scene Control | 5 | Create, edit, apply and delete automation scenes |
Firmware Updates | 1 | Check device firmware |
Automation Query | 1 | Get automation rules |
š¦ Project Structure
ultroncloud-api-personal/
āāā ultroncloud-api-personal.yaml # OpenAPI 3.0 specification
āāā ultron-mcp-server.js # MCP server for Claude
āāā package.json # Node.js package config
āāā .env.example # Environment template
āāā DEVELOPER_GUIDE.md # Complete developer guide
āāā README.md # This file
āāā examples/ # Code examples
āāā javascript/ # JS/Node.js examples
āāā python/ # Python examples
āāā postman/ # Postman collection
š Common Use Cases
Smart Home Dashboard
// Get all devices with real-time status
const dashboard = await Promise.all([
ultronAPI.post('/usr/v4/GetGroupDevices', { groupId }),
ultronAPI.post('/usr/v4/GetGroupDeviceStates', { groupId })
]);
Energy Management
// Monitor power consumption
const powerData = await ultronAPI.post('/usr/v4/GetDeviceRealTimeKWh', {
sn: 'device_serial'
});
Automation Rules
// Create temperature-based automation
const rule = await ultronAPI.post('/usr/v4/CreateSensorRangePolicy', {
groupId, name: 'Auto AC',
sensorType: 'temperature',
range: { min: 20, max: 28 },
actions: [{ type: 'device_control', config: {...} }]
});
š Security & Best Practices
Security Features
- ā All high-risk operations removed
- ā Role-based access control
- ā Rate limiting protection
- ā Secure authentication with App ID + API Key
Best Practices
- Never expose credentials in client-side code
- Use environment variables for sensitive data
- Implement server-side proxy for web applications
- Rotate API keys regularly
- Monitor API usage in developer dashboard
š Documentation
- - Complete integration guide
- - Claude Desktop & CLI setup
- - OpenAPI specification
- - Get started in 5 minutes
- - Code samples in multiple languages
šÆ Roadmap
- TypeScript SDK
- Python SDK
- Webhook support
- WebSocket real-time updates
- GraphQL API
- More AI platform integrations
š¤ Contributing
We welcome contributions! Please see our for details.
š§ Support
- GitHub Issues: Report bugs or request features
- Developer Forum: Join the community
- Email: developer@ultroncloud.com
- Discord: UltronCloud Developers
š License
MIT License - see file for details.
š Acknowledgments
Built with ā¤ļø by the UltronCloud team for the global developer community.
Ready to build the future of IoT?
Get Started Now ā