Back to MCP overview

OpenClaw · Client setup guide

Save the Streamable HTTP connection with the CLI. Single quotes preserve the environment reference in the header. --no-probe saves the configuration before a read-only connection probe.

The free plan includes editing, sync, image hosting, export, and sharing. Document MCP, repository MCP, and the built-in AI assistant require lifetime membership. Configuration sync uses separate temporary authorization.

Create an MCP token

Set the environment variable

Set your actual token in the terminal that starts the client. knt_mcp_... is a placeholder. Protect credentials with environment variables or secure storage and keep them out of repositories. Start with a read-only token.

Bash

export KOINOTE_MCP_TOKEN='knt_mcp_...'

Bash

openclaw mcp add koinote \
  --url https://koinote.app/mcp \
  --transport streamable-http --no-probe \
  --header 'Authorization=Bearer ${KOINOTE_MCP_TOKEN}'

openclaw mcp doctor koinote --probe

The repository previously verified OpenClaw 2026.6.10. Current official instructions require the Gateway to be stopped for doctor --probe. While it runs, save with --no-probe first. Check the command help for your installed version.

Official client documentation

Read-only verification and troubleshooting

Inspect the tool list, then call list_documents with a read token. For a 401, check the client process’s environment variable, credential type, expiry, and revocation status. Document and repository access also require active lifetime membership. Check the scope if write tools are missing.

For repositories, use the connection name koinote-agent, the KOINOTE_AGENT_TOKEN environment variable, and a repository PAT. Copy separate configuration-sync instructions from the snapshot.

Back to MCP overview