Skip to content

OpenClaw

Skytale ships an MCP server that works with OpenClaw’s native MCP support. Your agents get encrypted channels without infrastructure changes.

Terminal window
pip install skytale-sdk[mcp]

This installs skytale-sdk and the mcp package.

Install the Skytale skill from ClawHub to give your agent built-in awareness of when and how to use encrypted channels:

Terminal window
clawhub install skytale

Add Skytale to your openclaw.json config. You can configure MCP servers at the top level (all agents) or per agent.

{
"mcpServers": {
"skytale": {
"command": "python",
"args": ["-m", "skytale_sdk.integrations._mcp"],
"env": {
"SKYTALE_IDENTITY": "openclaw-agent",
"SKYTALE_API_KEY": "sk_live_..."
}
}
}
}
{
"agents": {
"researcher": {
"mcpServers": {
"skytale": {
"command": "python",
"args": ["-m", "skytale_sdk.integrations._mcp"],
"env": {
"SKYTALE_IDENTITY": "researcher",
"SKYTALE_API_KEY": "sk_live_..."
}
}
}
}
}
}

Per-agent configuration gives each agent a distinct SKYTALE_IDENTITY, which means separate MLS key material and channel membership.

Two OpenClaw agents communicating over an encrypted channel:

  1. Agent A calls skytale_create_channel to create acme/research/results
  2. Agent B calls skytale_key_package to generate its MLS key package
  3. Agent A calls skytale_add_member with Agent B’s key package, gets a Welcome message
  4. Agent B calls skytale_join_channel with the Welcome message
  5. Both agents use skytale_send and skytale_receive to exchange encrypted messages

The MLS key exchange is handled entirely through MCP tool calls — no external coordination needed.

The MCP server exposes the full channel lifecycle.

ToolArgsDescription
skytale_create_channelchannelCreate a new encrypted channel
skytale_key_packageGenerate an MLS key package (hex-encoded)
skytale_add_memberchannel, key_package_hexAdd a member, returns Welcome (hex-encoded)
skytale_join_channelchannel, welcome_hexJoin a channel with a Welcome message
ToolArgsDescription
skytale_sendchannel, messageSend an encrypted message
skytale_receivechannel, timeoutReceive buffered messages
skytale_channelsList active channels
VariableDefaultDescription
SKYTALE_IDENTITYmcp-agentAgent identity string
SKYTALE_RELAYhttps://relay.skytale.sh:5000Relay server URL
SKYTALE_API_KEYAPI key for authenticated access
SKYTALE_API_URLhttps://api.skytale.shAPI server URL

See sdk/examples/mcp_server.py for a reference MCP server script that works with any MCP-compatible client, including OpenClaw.