For the comprehensive directory of all default and extended tools, see Tools. For client installation instructions, see Platform Setup.
Testing Connection
Before connecting AI assistants, verify that your ChatbotX MCP endpoint is reachable and streaming events properly.Test SSE Stream via cURL
Runcurl with streaming output enabled (-N) and a short timeout:
- Linux / macOS (Bash)
- Windows (PowerShell)
HTTP 200 OK and an initial SSE endpoint message:
SSE connections stay open continuously to receive server-sent events. It is completely normal for the command to stop when the
--max-time limit expires. As long as you see HTTP/1.1 200 OK and event: endpoint, your server is operational.Testing Tool Execution
You can test a tool call directly over HTTP without opening an AI assistant interface.Test capabilities_get
Send a JSON-RPC 2.0 request to inspect your workspace capabilities:Common Issues & Resolutions
403 Forbidden
403 Forbidden
Cause: Token lacks required scopes, or a
read_only token attempted a write operation.Resolution:- Call
token_getto check your token’s permission level (read_onlyvsfull) and authorized scopes. - If your token has
read_onlypermission, write tools likecontacts_create,contacts_send_flow, andflows_publishare intentionally blocked. - Generate a token with write access in Settings > Integrations > Workspace token if modification actions are required.
Tools not appearing in tools/list
Tools not appearing in tools/list
Cause: The tool is either hidden behind meta-tools, filtered by token scope, or recently added to the API.Resolution:
- Curated default set: Only 43 primary tools appear directly in
tools/list. The remaining ~337 API operations are accessed viasearch_toolsandcall_tool. - OpenAPI cache TTL: The MCP server caches the OpenAPI spec for 5 minutes (
CHATBOTX_SPEC_TTL_MS). Newly deployed endpoints appear on the next automatic refresh, or immediately upon restarting the MCP server. - Missing token scope: If your token lacks a specific scope (e.g.
broadcasts), matching tools are hidden fromtools/list.
SSE Connection hangs or drops (Self-Hosted)
SSE Connection hangs or drops (Self-Hosted)
Cause: The reverse proxy (Nginx / Cloudflare / Apache) is buffering responses instead of streaming them immediately.Resolution:
- For Nginx, add
proxy_buffering off;andproxy_cache off;inside the/mcp/location block. - Increase read timeout settings:
proxy_read_timeout 86400s;. - If using Cloudflare, ensure response buffering is disabled for the
/mcp/path.
Self-signed TLS certificate rejected
Self-signed TLS certificate rejected
Cause: The client runtime rejects self-signed certificates during local development.Resolution:
- Set
CHATBOTX_ALLOW_SELF_SIGNED_CERT=truein your MCP server environment variables or.envfile. - For Node-based clients, you can also set
NODE_TLS_REJECT_UNAUTHORIZED=0in local development shells.
Port 3333 already in use
Port 3333 already in use
Cause: A previous instance of
chatbotx-mcp-server is still running in the background.Resolution:- Find and terminate the process:
- Or change the listening port by setting
CHATBOTX_MCP_PORT=3334in your environment.
ChatGPT / Perplexity cannot discover tools
ChatGPT / Perplexity cannot discover tools
Cause: URL parameters are missing, or custom headers are not supported.Resolution:
- Both ChatGPT and Perplexity web connectors require the token inside the connector URL query string:
- In the connector authentication dialog, select None or No Authentication because credentials are already embedded in the URL.
Diagnostic Checklist
Before opening an issue or contacting support, verify the following:- ChatbotX backend is running and
/apiendpoints respond to health checks. - Workspace token was copied directly from Settings > Integrations > Workspace token.
- SSE endpoint responds with
HTTP 200 OKandevent: endpointwhen tested withcurl. - Reverse proxy has
proxy_buffering off;configured for streaming paths. - Client configuration file syntax is valid (valid JSON for Antigravity/Cursor, valid TOML for Codex).