Prerequisites
Before you can configure and use Claude Code with Connect AI, you must first connect a data source to your Connect AI account. See Sources for more information. Generate a Personal Access Token (PAT) on the Settings page. Copy this down, as it acts as your password during authentication.Connect to Connect AI
Once the installation is done, try running:
npm list -g @anthropic-ai/claude-code in your terminal to confirm the installation. You should see something like this:In the terminal of your project, run the following command:
claude mcp add --transport http connectmcp https://mcp.cloud.cdata.com/mcp --header "Authorization: Basic {Your_Base64Encoded_EMAIL:PAT}"
This creates a JSON file with your MCP Server.
