Skip to main content

Using the CometChat MCP Server

Claude

  1. Add MCP server to Claude
    1. Navigate to the Connectors page in Claude’s settings.
    2. Select Add custom connector, name it e.g. CometChat Docs, and enter the URL:
      https://www.cometchat.com/docs/mcp
      
    3. Click Add.
  2. Query with context
    1. In Claude, click the attachments (➕) button.
    2. Select CometChat Docs.
    3. Ask your questions—Claude will use your CometChat docs as context.

Cursor

  1. Open MCP settings
    • Press Cmd+Shift+P (macOS) / Ctrl+Shift+P (Windows) → Open MCP settings.
    • Select Add custom MCP to open your mcp.json.
  2. Configure
    {
      "mcpServers": {
        "cometchat-docs": {
          "url": "https://www.cometchat.com/docs/mcp"
        }
      }
    }
    
  3. Verify
    • In Cursor’s chat, ask:
      “How do I integrate CometChat in my React app?”

Windsurf

  1. Open Windsurf
    • Launch Windsurf and click the Plugins (hammer) icon.
  2. Add or configure
    • In Manage plugins, click Add Custom Server + or View raw config.
    • Paste the following into your mcp_config.json:
      {
        "mcpServers": {
          "cometchat-docs": {
            "type": "sse",
            "serverUrl": "https://www.cometchat.com/docs/mcp"
          }
        }
      }
      
    • Save and click Refresh.
  3. Invoke within Windsurf
    • In the Composer, ask prompts like:
      “Show me how to use CometChat in my app.”

Visual Studio Code

  1. Prerequisites
    • Latest VS Code with Copilot (agent mode) enabled.
  2. Add the server
    • Cmd+Shift+P (macOS) / Ctrl+Shift+P (Windows) → MCP: Add MCP Server.
    • Enter:
      • Server Name: CometChat Docs
      • Server URL: https://www.cometchat.com/docs/mcp
      • Transport: SSE (or HTTP stream)
    • Confirm.
  3. Use in Copilot agent
    • In a Copilot chat session, your CometChat tools will now be listed and available.
I