MCP Server v1.0.0

MCP Server

8 native payment tools for Claude Desktop, Cursor, and any MCP-compatible agent. Supports stdio and Streamable HTTP transports.

Claude Desktop Setup

1

Get an API key

Register at skalor.xyz/developer/keys or use the skalor_register_agent tool after connecting (it creates a key for you).

2

Add to Claude Desktop config

Edit ~/.claude/claude_desktop_config.json:

claude_desktop_config.json
{
  "mcpServers": {
    "skalor": {
      "command": "npx",
      "args": ["skalor-mcp-server"],
      "env": {
        "SKALOR_API_KEY": "zc_your_key_here"
      }
    }
  }
}
3

Restart Claude Desktop

Restart the app. You should see 8 Skalor tools available in the tools menu. Try asking Claude: "Check my Skalor budget"

Cursor Setup

Same config, different file. Add to your Cursor MCP settings:

Cursor MCP Settings
{
  "mcpServers": {
    "skalor": {
      "command": "npx",
      "args": ["skalor-mcp-server"],
      "env": {
        "SKALOR_API_KEY": "zc_your_key_here"
      }
    }
  }
}

Streamable HTTP Mode

For remote agents, production deployments, or any HTTP-based MCP client:

# Default port 8402
npx skalor-mcp-server --http

# Custom port
npx skalor-mcp-server --http --port 9000
POST /mcpMCP endpoint (Streamable HTTP)
GET /healthHealth check endpoint

8 Tools

ToolDescription
skalor_authorize_paymentClear 5 fiduciary gates and authorize a payment
skalor_check_budgetQuery remaining budget, limits, and daily spend
skalor_get_mandateFull mandate details (all 5 gate configs)
skalor_list_transactionsAudit trail with filters (all/approved/denied)
skalor_register_agentSelf-service agent registration (returns API key)
skalor_transferA2A agent-to-agent payment via Tempo
skalor_create_api_keyGenerate a new API key for sub-agents
skalor_discoverService discovery - pricing, networks, SDKs

Example Conversation

You

"Check my Skalor budget"

Claude (calls skalor_check_budget)

Your agent "Research Assistant" has $7.50 remaining of a $10.00 daily budget. Your max single payment is $1.00. Budget resets at midnight UTC.

You

"Authorize $0.50 to api.openai.com for GPT-4o inference for my research project"

Claude (calls skalor_authorize_payment)

CLEARED: $0.50 to api.openai.com. All 5 fiduciary gates passed. Transaction ID: a1b2c3d4. Remaining budget: $7.00.

Environment Variables

VariableRequiredDescription
SKALOR_API_KEYFor auth toolsYour zc_... API key
SUPABASE_URLAutoSupabase project URL (pre-configured)
SUPABASE_SERVICE_ROLE_KEYAutoService role key (pre-configured)