ClawEngine.ai
All posts
Hosting

OpenClaw MCP Server for Company Teams and What It Costs

openclaw mcp serve is a stdio bridge to a running Gateway. Here is what the command does, what a team must run for it to work and the yearly cost against a hosted instance.

ClawEngine hosts OpenClaw for teams, and the search "openclaw mcp" usually comes from someone who wants Claude Code, Codex or another MCP client to read and answer the conversations their agent already handles. The short answer: openclaw mcp serve starts a stdio bridge that connects to an OpenClaw Gateway over WebSocket, and the Gateway has to be running somewhere that bridge can reach. This article explains the two things openclaw mcp does, what a team has to run for the bridge to work, and what that costs per year against a hosted instance from $24 a month billed yearly.

What does openclaw mcp actually do?

The OpenClaw MCP reference says the command has two separate jobs. The first is running OpenClaw as an MCP server with openclaw mcp serve. The second is managing saved definitions of outside MCP servers, with subcommands such as add, list, status, doctor, probe and login, so OpenClaw-managed agent runs can use them.

People mix these up. In the first job OpenClaw is the server and your coding tool is the client. In the second OpenClaw is the client and a filesystem, memory or remote HTTP server is the target. The table sets them side by side.

GoalCommand familyWho is the MCP server
Let Claude Code or Codex read and send channel conversationsopenclaw mcp serveOpenClaw
Give your agent a filesystem or memory toolopenclaw mcp add, set, configureThe outside server you saved
Check a saved server without running an agent turnopenclaw mcp status, doctor, probeThe outside server you saved
Edit MCP settings from a browserControl UI at /settings/mcpNot applicable

How does the serve bridge reach the gateway?

The serve page describes a short chain. Your MCP client spawns openclaw mcp serve as a child process and owns it. While the client keeps that stdio session open, the bridge connects to the Gateway over WebSocket and turns routed sessions into MCP conversations. When the client disconnects, the bridge exits and the in-memory live event queue is gone.

For a Gateway on another machine the guide shows a URL plus a credential: openclaw mcp serve --url wss://gateway-host:18789 --token-file ~/.openclaw/gateway.token, or a password file instead. So a team needs three things in place: a gateway that stays up, a reachable WebSocket address, and a token file on every laptop or runner that launches the bridge.

The bridge exposes tools for listing conversations, reading transcript history (20 messages by default, 200 at most), waiting for new events, sending a reply through the same route, and answering approval requests. A conversation only appears if the Gateway already has session state with a known route, so an agent that has not yet talked to anyone shows nothing.

What does a team have to run for MCP to work?

Most of the work is not MCP at all. It is keeping a gateway alive and reachable. If you self-host, that means a server or container, updates when OpenClaw ships, a way to expose the WebSocket port safely, and a process to hand out and rotate the gateway token. The gateway hosting article covers the hosting side, and Tailscale remote access is the usual private way to make the port reachable without opening it to the internet.

Two details are worth knowing before you promise anything to a client. Live events only queue while the bridge is connected, so a closed laptop misses them and the client must read history with messages_read instead. And the bridge only exposes conversations the Gateway already routes, while sender allowlists and pairing stay in the channel configuration. The token is what lets a client connect to the Gateway at all, so treat the token file like a password.

What does that cost per year? A worked example

Take an agency with one engineer who wires Claude Code to a client agent. The hours are an assumption for illustration, not a quote: 6 hours to expose the gateway safely, issue a token file and test the bridge on two machines, then 1 hour a month for updates, token rotation and a "why does it show nothing" ticket. At an assumed internal rate of $80 an hour:

ItemSelf-hosted gateway for MCPClawEngine Team
Setup, one time6 hours, $480Instance created from the plan you choose
Upkeep, 12 months12 hours, $960Gateway hosted for you
ServerA small VPS bill on topIncluded in the plan
First-year cost excluding server$1,440$288 billed yearly ($49 monthly)

The honest caveat: ClawEngine does not list an MCP bridge as a feature of its plans, so this comparison covers the gateway the bridge depends on, not the bridge itself. Check the pricing page for what each plan includes. If MCP access to a hosted gateway is the whole reason you are shopping, confirm that route works for you before you pay.

What should you check before wiring MCP into a workflow?

Four checks save most of the grief. First, confirm the conversation you want exists in Gateway session state with a route, because the bridge lists nothing else. Second, decide whether history reads are enough or you truly need live events, since live events only exist while a client holds the stdio session open.

Third, decide who answers approvals. The bridge surfaces approval requests that arrive while it is connected, and that state is in memory for the current session only, so an overnight job cannot rely on it. Fourth, write down where the token file lives and who can read it. A developer laptop with the token in a dotfile is a different risk from a locked runner.

Run openclaw mcp status --verbose first. The reference calls it the safe starting point because it shows what OpenClaw has saved without starting any MCP servers. If you are weighing the whole hosting bill, not only this one feature, the cost to host OpenClaw breakdown puts the server, the model keys and your hours in one place.

Who should self-host the MCP path, and who should not?

Self-host if one engineer already runs your gateway, the MCP client is a developer tool on company machines, and nobody objects to owning the token. That is a reasonable setup for an internal engineering team that treats OpenClaw as another service.

Skip it if the agent exists to answer customers or staff in Slack or a similar channel and the MCP wish is a nice extra. An agency serving clients such as a med spa and skin treatment practice needs the agent up first and the developer tooling second. A hosted Slack agent gets the first part done without a server. If you are still choosing how to run it, the Docker route and the OpenClaw pricing page show the alternatives side by side.

Frequently asked questions

What is openclaw mcp serve?

It starts OpenClaw as a stdio MCP server. Your MCP client, such as Claude Code or Codex, spawns it, and it connects to a local or remote Gateway over WebSocket so the client can list, read and answer routed channel conversations.

Can Claude Code connect to OpenClaw?

Yes. The serve page has a Claude Code mode with Claude-specific push notifications, controlled by --claude-channel-mode. The default is auto, which behaves the same as on. Generic MCP clients get the standard tools only.

Does openclaw mcp serve work with a remote gateway?

Yes. Pass --url with a wss address and a token file or password file. Allowlists and pairing still live in the channel configuration, and the token file should be stored like any other secret and replaced when someone leaves the team.

Can OpenClaw use other MCP servers?

Yes. openclaw mcp add and set save server definitions in OpenClaw config, and probe opens a live connection to list capabilities. OpenClaw then projects those servers into eligible agent runtimes.

Build the agent you just read about

Describe the job on our home page and get its workspace files, its first reply and the instance we would host for it.

Build your agent

Run OpenClaw without running servers

Isolated OpenClaw instances hosted for you, with your own model keys.