Conway

OpenClaw

Use Conway from OpenClaw.

Give OpenClaw the ability to create cloud sandboxes, run code, deploy applications, register domains, and expose services to the internet.

Setup

Option A: One-Line Setup

If you haven't installed Conway yet, the setup script handles everything -- installs the terminal, creates a wallet, provisions an API key, and configures OpenClaw automatically:

curl -fsSL https://conway.tech/terminal.sh | sh

The setup script detects OpenClaw and writes the MCP configuration for you. Restart OpenClaw after it finishes.

Option B: Manual Setup

If you already have an API key from app.conway.tech:

1. Locate the Config File

macOS:

~/.openclaw/config.json

Linux:

~/.openclaw/config.json

2. Add Conway

Add the Conway MCP server to your OpenClaw configuration:

{
  "mcpServers": {
    "conway": {
      "command": "conway-terminal",
      "env": {
        "CONWAY_API_KEY": "cnwy_k_..."
      }
    }
  }
}

If you installed via npx:

{
  "mcpServers": {
    "conway": {
      "command": "npx",
      "args": ["conway-terminal"],
      "env": {
        "CONWAY_API_KEY": "cnwy_k_..."
      }
    }
  }
}

Your API key is in ~/.conway/config.json after running the setup script.

Restart OpenClaw

Restart OpenClaw to load the new configuration.

Verify Integration

Ask OpenClaw to list your sandboxes:

> list my cloud sandboxes

OpenClaw should use the sandbox_list tool and show your sandboxes.

Example Workflows

Deploy and Test

> create a sandbox, clone my repo, install dependencies, and run the tests

Full Stack App

> spin up a sandbox, install Node.js and PostgreSQL, deploy my app, expose port 3000, and register a domain

Interactive Session

> start a Python REPL in my sandbox and help me explore this dataset

Domain Management

> search for available .ai domains with "agent", register the best one, and point it at my sandbox

Tips

  • OpenClaw supports MCP natively, so all Conway tools are available immediately
  • Use PTY sessions for interactive work like REPLs and editors
  • Combine cloud sandboxes with domain registration for end-to-end deployments
  • Conway's wallet handles payments automatically -- no manual approval needed

Troubleshooting

MCP Not Appearing

  1. Check the config file path is correct
  2. Verify JSON syntax is valid
  3. Ensure conway-terminal is in your PATH: which conway-terminal
  4. Restart OpenClaw completely

Connection Issues

  • Check your internet connection
  • Verify the API key is valid (~/.conway/config.json)
  • Test connectivity: curl https://api.conway.tech/health