Quick Start API Integrations Pricing
πŸ” Search ⌘K
Platform β†’
Getting Started

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.

ℹ️
MegaClaw is multi-tenant. Each company has its own isolated database, credentials, and API key. Your admin will provide your login URL.

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)
πŸ€–πŸ”Œ
New: MCP Server Support β€” Claude Desktop, Claude Code, or any MCP-compatible AI can now connect directly to MegaClaw. Use endpoint mcp://mcp.megaclaw.de/mcp

Step 1 β€” Log in & explore

  1. 1

    Open your tenant URL

    Navigate to your company's MegaClaw URL and log in with your username and password. Demo: demo / demo123

  2. 2

    Choose your language

    MegaClaw supports English πŸ‡¬πŸ‡§, German πŸ‡©πŸ‡ͺ, Arabic πŸ‡ΈπŸ‡¦, and French πŸ‡«πŸ‡· β€” select from the top navigation bar.

  3. 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:

Example prompt
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:

bash (REST API)
# 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":{}}'
MCP Server (Claude)
# 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

Next β†’ API Reference
Developer

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.

Header
X-API-Key: mc_your_api_key_here
⚠️
API keys are scoped to a single tenant. A key for drx cannot access data from sva.

Rate Limits

60
requests/min per API key
100
requests/min per IP

When rate limit is exceeded, API returns 429 Too Many Requests. Retry after the specified time.

Endpoints

GET /integrations

Returns all connected services for the authenticated tenant.

Response
[{
  "id": 1,
  "service_name": "proxmox_ve_api_connection",
  "service_type": "proxmox",
  "description": "Connect to Proxmox VE REST API..."
}]
POST /task/run

Execute a task on a connected service. AI generates and runs the code automatically.

Request body

FieldTypeRequiredDescription
service_idintegerβœ“ID from /integrations
task_idstringβœ“Task identifier
inputsobjectAdditional task inputs
bash
curl https://api.megaclaw.de/task/run \
  -X POST \
  -H "X-API-Key: mc_xxxx" \
  -d '{"service_id":1,"task_id":"node_status","inputs":{}}'
Response
{
  "success": true,
  "output": "CPU: 4.47% Β· RAM: 61.6% Β· Uptime: 7 days",
  "error": "",
  "service": "proxmox_ve_api_connection",
  "task": "node_status",
  "tokens_used": 3
}
GET /tokens/balance

Check current token balance for the authenticated tenant.

bash
curl https://api.megaclaw.de/tokens/balance \
  -H "X-API-Key: mc_xxxx"
Response
{
  "balance": 8472,
  "plan": "Pro",
  "monthly_limit": 10000,
  "reset_date": "2026-04-01"
}
GET /tokens/history

Get transaction history for token usage and recharge events.

POST /analyze

Step 1 of the AI pipeline. Analyze a natural language request and get an execution plan.

GET /

Health check. Returns platform status and version. No auth required.

MCP Server Endpoint

MCP mcp://mcp.megaclaw.de/mcp

Model Context Protocol endpoint for Claude Desktop, Claude Code, and MCP-compatible AI clients.

Claude Desktop Config
{
  "mcpServers": {
    "megaclaw": {
      "url": "mcp://mcp.megaclaw.de/mcp",
      "headers": {
        "X-API-Key": "mc_your_api_key"
      }
    }
  }
}

Error Codes

StatusMeaning
401Missing X-API-Key header
403Invalid or inactive API key
404Service or session not found
429Rate limit exceeded (60/min per key or 100/min per IP)
402Insufficient tokens β€” recharge required
500Internal execution error
← Previous Quick Start
Next β†’ Integrations
Integrations

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.

πŸ”’
Credentials are encrypted with Fernet AES-256 and never exposed in API responses, logs, or the UI.

πŸ–₯️ Proxmox VE

πŸ–₯️
Proxmox VE API
service_type: proxmox

Manage VMs, containers, storage, and nodes via the Proxmox REST API with API Token authentication.

Required credentials

FieldDescription
proxmox_hostIP of your Proxmox node
proxmox_portAlways 8006
api_token_idFormat: user@realm!tokenname
api_token_secretToken secret UUID
nodeNode name e.g. pve

Available tasks

task_idDescription
node_statusCPU, RAM, disk, uptime
list_vmsList all virtual machines
list_containersList all LXC containers
start_vm / stop_vmStart or stop a VM by VMID
restart_vmRestart a VM
clone_vmClone a VM to new VMID (requires source_vmid and new_vmid)
snapshot_vmCreate a snapshot (requires vmid and snapshot_name)
list_storageList storage pools
next_vmidGet next available VMID

πŸ”΅ SAP BTP / HANA

πŸ”΅
SAP Integration
service_type: http_api

Connect to SAP BTP APIs, SAP HANA on-premise via Cloud Connector, and SAP S/4HANA OData services.

πŸ”„ n8n

πŸ”„
n8n Workflows
service_type: http_api

Trigger and manage n8n workflows. List, execute, and monitor workflow status via REST API.

🐘 PostgreSQL

🐘
PostgreSQL
service_type: sql

Execute SQL queries, manage tables, and retrieve data from PostgreSQL databases.

πŸ”’ SSH / Shell

πŸ”’
SSH Remote Shell
service_type: shell

Execute shell commands on remote Linux servers via SSH. Supports password and key-based auth.

πŸ” LinkUp Search

πŸ”
LinkUp Web Search
service_type: linkup

Real-time web search. Returns structured results with titles, URLs, and summaries.

ServiceNow

🎫
ServiceNow
service_type: http_api

Manage incidents, problems, change requests, and CMDB via natural language.

FieldValue
Instance URLhttps://dev12345.service-now.com
UsernameAdmin username
PasswordAdmin password

Atlassian / Jira

πŸ“‹
Atlassian Jira
service_type: http_api

Manage Jira issues and Confluence pages using natural language.

FieldValue
Site URLhttps://yourcompany.atlassian.net
EmailAtlassian account email
API TokenFrom Atlassian security settings

⏰ Task Scheduler

⏰
Task Scheduler
feature_type: 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)

πŸ€–
AI Provider Selection
feature_type: ai_provider

MegaClaw supports multiple AI backends for different needs:

ProviderDescription
ClaudeCloud-based AI with advanced reasoning and high-quality responses
OllamaLocal AI models running on your own infrastructure for full privacy β€” zero token consumption

πŸ’‘ Use Cases

πŸ’‘
Automation Use Cases
feature_type: examples

Real-world examples of how MegaClaw can automate workflows and operations.

Use CaseDescription
ReportsAutomate daily reports and send via email
MonitoringSystem alerts via Telegram notifications
API AutomationScheduled API calls and data synchronization
InfrastructureAutomated infrastructure tasks on schedule
AI-Powered WorkflowsGenerate and execute AI-powered workflows via Claude or Ollama
← Previous API Reference
Next β†’ Pricing & Tokens
Billing & Admin

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

Starter
€10
/month
  • 1,000 tokens/month
  • Up to 5 integrations
  • REST API + MCP
  • Email support
Basic
€40
/month
  • 5,000 tokens/month
  • Up to 15 integrations
  • REST API + MCP
  • Token dashboard
Pro ⭐
€70
/month
  • 10,000 tokens/month
  • Unlimited integrations
  • SAP & Proxmox
  • Priority support
  • Email + Telegram alerts
Enterprise
€300
/month
  • 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 costs are estimates. Complex tasks with multi-step execution or auto-retry consume more tokens.
Simple API query~1–3 tokens
Proxmox node status~2–5 tokens
LinkUp web search~3–8 tokens
SSH command~3–10 tokens
Multi-step task~10–30 tokens
SAP Terraform deploy~20–50 tokens

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
πŸ“§
Smart Alerts: Automatic emails when balance is low or depleted. Recharge confirmations sent instantly when tokens are added.

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:

RolePermissions
SuperadminFull system access, manage tenants, add tokens, view all data
AdminManage integrations, API keys, users within tenant
UserExecute tasks, view integrations, personal settings
DemoRead-only access, cannot modify integrations or execute tasks

Managing tokens (Admin)

Super Admins can add tokens from the Admin Panel:

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.

← Previous Integrations