https://app.chatbotx.io/api for cloud instances or https://app.yourdomain.com/api for self-hosted instances.
Environment Variables
Regardless of which client you use, you will reference these two environment variables throughout the setup:OpenClaw
1
Install Node.js v22 and OpenClaw
2
Configure OpenClaw
3
Install the ChatbotX skill
Install the official ChatbotX skill from ClawHub, then configure your environment variables:Set your credentials:If your server uses a self-signed certificate, also add:
4
Start the gateway and verify
chatbotx in the MCP server list and connection events in the log output.Hermes
1
Install Hermes
2
Run the setup wizard
3
Connect ChatbotX MCP Server
Add the ChatbotX MCP server using SSE transport:For self-hosted instances, replace the URL with
https://app.yourdomain.com/mcp/sse?token=YOUR_WORKSPACE_TOKEN.4
Enable and verify via systemd
Claude Code
1
Install Claude Code
2
Add the ChatbotX MCP server
Choose either remote (SSE) or local (stdio) connection:Option A: Remote SSE ConnectionOption B: Local stdio ConnectionFor self-hosted instances, replace
https://app.chatbotx.io with https://app.yourdomain.com.3
Verify the connection
chatbotx server entry with the correct URL and transport type.claude_desktop_config.json entry looks like this:
VS Code (Copilot / MCP Extension)
Add the following to your VS Code MCP settings:Gemini CLI
Add the following configuration, usinghttpUrl (or serverUrl if your version does not support httpUrl):
ChatGPT (Developer Mode)
ChatGPT’s Developer Mode does not support custom headers, so use the token-in-URL format:Testing Your Connection
After setup, verify that the MCP endpoint is reachable usingcurl:
200 OK and event: endpoint, the connection is working correctly.
Additional Guide: Telegram Bot for OpenClaw and Hermes
Both OpenClaw and Hermes support interacting with your AI assistant via Telegram. To set this up, you need a Telegram Bot Token and your personal Chat ID.Step 1: Create a Telegram Bot
1
Open BotFather
Open Telegram, search for the official @BotFather (verified with a blue checkmark), and click Start.
2
Create your bot
Send the
/newbot command. Enter a display name (e.g., ChatbotX Assistant) and a unique username ending in bot (e.g., chatbotx_mcp_bot).3
Copy the bot token
BotFather will return a Telegram Bot Token (e.g.,
123456789:ABCdefGhIJKlmNoPQRs...). Save it securely.Step 2: Find Your Chat ID
To prevent unauthorized access, restrict your bot to only your Telegram account:1
Get your Chat ID
Search for @userinfobot on Telegram and click Start. Copy the Id number it returns.
2
Save your Chat ID
Enter this Chat ID in your OpenClaw or Hermes configuration wizard to restrict bot access to your account only.