Quick Start Guide
Get up and running with MegaClaw V5 in under 5 minutes. Connect your first service and execute your first task via UI, REST API, or MCP Server.
Prerequisites
Before you begin, make sure you have:
- β A MegaClaw account (contact your Super Admin)
- β Your tenant URL (e.g.
drx.megaclaw.de) - β Your API key if using REST (format:
mc_xxxx)
mcp://mcp.megaclaw.de/mcpStep 1 β Log in & explore
-
1
Open your tenant URL
Navigate to your company's MegaClaw URL and log in with your username and password. Demo:
demo / demo123 -
2
Choose your language
MegaClaw supports English π¬π§, German π©πͺ, Arabic πΈπ¦, and French π«π· β select from the top navigation bar.
-
3
Go to Integrations
Click Integrations in the sidebar. This is where you connect your external services.
Step 2 β Add an integration
Click + New Integration and describe what you want to connect in plain language:
Connect to Proxmox VE API using API Token authentication Host: 192.168.1.50 Port: 8006 Node: pve
The AI detects the service type, asks for credentials, and saves the integration automatically.
Step 3 β Run a task
Select your integration from the list, choose a task, and hit Run βΆ. Or use the REST API or MCP Server:
# Run node_status on Proxmox curl https://api.megaclaw.de/task/run \ -X POST \ -H "X-API-Key: mc_your_key" \ -H "Content-Type: application/json" \ -d '{"service_id":1,"task_id":"node_status","inputs":{}}'
# Configure Claude Desktop with: { "mcpServers": { "megaclaw": { "url": "mcp://mcp.megaclaw.de/mcp", "headers": { "X-API-Key": "mc_your_key" } } } } # Then ask Claude: "Show me Proxmox node status"
What's next?
β Explore the full API Reference
β Browse available integrations
β Understand the token system & dashboard
API Reference
Full REST API + MCP Server documentation. Base URL: https://api.megaclaw.de Β· MCP: mcp://mcp.megaclaw.de/mcp
Authentication
All requests must include your API key in the X-API-Key header.
X-API-Key: mc_your_api_key_here
drx cannot access data from sva.Rate Limits
When rate limit is exceeded, API returns 429 Too Many Requests. Retry after the specified time.
Endpoints
Returns all connected services for the authenticated tenant.
[{ "id": 1, "service_name": "proxmox_ve_api_connection", "service_type": "proxmox", "description": "Connect to Proxmox VE REST API..." }]
Execute a task on a connected service. AI generates and runs the code automatically.
Request body
| Field | Type | Required | Description |
|---|---|---|---|
| service_id | integer | β | ID from /integrations |
| task_id | string | β | Task identifier |
| inputs | object | Additional task inputs |
curl https://api.megaclaw.de/task/run \ -X POST \ -H "X-API-Key: mc_xxxx" \ -d '{"service_id":1,"task_id":"node_status","inputs":{}}'
{ "success": true, "output": "CPU: 4.47% Β· RAM: 61.6% Β· Uptime: 7 days", "error": "", "service": "proxmox_ve_api_connection", "task": "node_status", "tokens_used": 3 }
Check current token balance for the authenticated tenant.
curl https://api.megaclaw.de/tokens/balance \ -H "X-API-Key: mc_xxxx"
{ "balance": 8472, "plan": "Pro", "monthly_limit": 10000, "reset_date": "2026-04-01" }
Get transaction history for token usage and recharge events.
Step 1 of the AI pipeline. Analyze a natural language request and get an execution plan.
Health check. Returns platform status and version. No auth required.
MCP Server Endpoint
Model Context Protocol endpoint for Claude Desktop, Claude Code, and MCP-compatible AI clients.
{ "mcpServers": { "megaclaw": { "url": "mcp://mcp.megaclaw.de/mcp", "headers": { "X-API-Key": "mc_your_api_key" } } } }
Error Codes
| Status | Meaning |
|---|---|
| 401 | Missing X-API-Key header |
| 403 | Invalid or inactive API key |
| 404 | Service or session not found |
| 429 | Rate limit exceeded (60/min per key or 100/min per IP) |
| 402 | Insufficient tokens β recharge required |
| 500 | Internal execution error |
Integrations Guide
Connect MegaClaw to your existing services. Each integration is added once and reused for unlimited tasks. All credentials are encrypted with AES-256.
π₯οΈ Proxmox VE
Manage VMs, containers, storage, and nodes via the Proxmox REST API with API Token authentication.
Required credentials
| Field | Description |
|---|---|
| proxmox_host | IP of your Proxmox node |
| proxmox_port | Always 8006 |
| api_token_id | Format: user@realm!tokenname |
| api_token_secret | Token secret UUID |
| node | Node name e.g. pve |
Available tasks
| task_id | Description |
|---|---|
| node_status | CPU, RAM, disk, uptime |
| list_vms | List all virtual machines |
| list_containers | List all LXC containers |
| start_vm / stop_vm | Start or stop a VM by VMID |
| restart_vm | Restart a VM |
| clone_vm | Clone a VM to new VMID (requires source_vmid and new_vmid) |
| snapshot_vm | Create a snapshot (requires vmid and snapshot_name) |
| list_storage | List storage pools |
| next_vmid | Get next available VMID |
π΅ SAP BTP / HANA
Connect to SAP BTP APIs, SAP HANA on-premise via Cloud Connector, and SAP S/4HANA OData services.
π n8n
Trigger and manage n8n workflows. List, execute, and monitor workflow status via REST API.
π PostgreSQL
Execute SQL queries, manage tables, and retrieve data from PostgreSQL databases.
π SSH / Shell
Execute shell commands on remote Linux servers via SSH. Supports password and key-based auth.
π LinkUp Search
Real-time web search. Returns structured results with titles, URLs, and summaries.
ServiceNow
Manage incidents, problems, change requests, and CMDB via natural language.
| Field | Value |
|---|---|
| Instance URL | https://dev12345.service-now.com |
| Username | Admin username |
| Password | Admin password |
Atlassian / Jira
Manage Jira issues and Confluence pages using natural language.
| Field | Value |
|---|---|
| Site URL | https://yourcompany.atlassian.net |
| Atlassian account email | |
| API Token | From Atlassian security settings |
β° Task Scheduler
Create and manage automated tasks using natural language. The scheduler runs workflows automatically at defined times (hourly, daily, custom cron).
π€ AI Providers (Claude + Ollama)
MegaClaw supports multiple AI backends for different needs:
| Provider | Description |
|---|---|
| Claude | Cloud-based AI with advanced reasoning and high-quality responses |
| Ollama | Local AI models running on your own infrastructure for full privacy β zero token consumption |
π‘ Use Cases
Real-world examples of how MegaClaw can automate workflows and operations.
| Use Case | Description |
|---|---|
| Reports | Automate daily reports and send via email |
| Monitoring | System alerts via Telegram notifications |
| API Automation | Scheduled API calls and data synchronization |
| Infrastructure | Automated infrastructure tasks on schedule |
| AI-Powered Workflows | Generate and execute AI-powered workflows via Claude or Ollama |
Plans, Tokens & Administration
MegaClaw uses a token-based model. Each AI task execution consumes tokens based on complexity. Choose the plan that fits your workload.
Plans
- 1,000 tokens/month
- Up to 5 integrations
- REST API + MCP
- Email support
- 5,000 tokens/month
- Up to 15 integrations
- REST API + MCP
- Token dashboard
- 10,000 tokens/month
- Unlimited integrations
- SAP & Proxmox
- Priority support
- Email + Telegram alerts
- 50,000 tokens/month
- Dedicated infrastructure
- On-premise deployment
- Custom integrations
- SLA guarantee
- Ollama private AI
Token consumption
Tokens are consumed on each AI task execution. Viewing integrations or listing services is free.
Token Dashboard
Real-time usage tracking available in the Admin Panel:
- π Current token balance
- π Transaction history with timestamps
- π§ Low-balance email alerts (automatically sent at 20%, 10%, and 5%)
- β Recharge confirmation emails
API Key Management
Super Admins and Admins can manage API keys from the UI:
- π View all tenant API keys
- π Revoke compromised keys
- β¨ Generate new API keys
- π Audit logging for key actions
Role-Based Access Control
MegaClaw supports four roles with granular permissions:
| Role | Permissions |
|---|---|
| Superadmin | Full system access, manage tenants, add tokens, view all data |
| Admin | Manage integrations, API keys, users within tenant |
| User | Execute tasks, view integrations, personal settings |
| Demo | Read-only access, cannot modify integrations or execute tasks |
Managing tokens (Admin)
Super Admins can add tokens from the Admin Panel:
Super Admin β Manage Tenants β Select Company β Add Tokens β Enter amount + plan β Save Token history records: amount, plan, added_by, timestamp System automatically sends: - Confirmation email to tenant admin - Low-balance alerts when threshold reached
FAQ
Can I buy tokens mid-month?
Yes. Contact your administrator or use the Super Admin panel. Unused tokens carry over.
What happens when tokens run out?
Task execution is paused. API calls return 402 Payment Required. Viewing services still works. Email alerts are sent automatically.
Is there a free trial?
New Starter accounts receive 1,000 tokens included. Contact alaa.alswedan@gmail.com to get started.
How do I use MCP with Claude?
Add the MCP server configuration to Claude Desktop. See the API Reference for configuration details.
Can I run AI locally?
Yes! MegaClaw supports Ollama for private, local AI execution with zero token consumption.