Adding camelAI to Cursor

Integrate camelAI directly into Cursor to access powerful data analysis capabilities without leaving your development environment. Query your databases, generate insights, and get SQL results all within your code editor.

For the latest official guidance from Cursor, see their Model Context Protocol documentation: Model Context Protocol.

Configuration

camelAI uses the SSE (Server-Sent Events) transport method for MCP integration, allowing for real-time communication between Cursor and our servers.

Make sure you have the latest version of Cursor installed and just click the “Add to Cursor” below:

Install MCP ServerInstall MCP Server

Manual Install

Step 1: Create MCP Configuration

Create an MCP configuration file in one of these locations:

Create ~/.cursor/mcp.json in your home directory for access across all projects:

mkdir -p ~/.cursor
touch ~/.cursor/mcp.json

Step 2: Configure the Server

Add the following configuration to your mcp.json file:

{
  "mcpServers": {
    "camelAI": {
      "type": "streamable-http",
      "url": "https://app.camelai.com/mcp"
    }
  }
}

Using camelAI in Cursor

Once configured, camelAI tools will be automatically available in Cursor’s Composer Agent.

Tool Approval

By default, Cursor will ask for approval before running camelAI tools:

1

Tool Request

When the Agent wants to query your data, it will display a tool approval request

2

Review Parameters

Click the arrow next to the tool name to see what query will be executed

3

Approve or Deny

Choose whether to allow the tool to run based on the query parameters

You can enable auto-run mode in Cursor’s settings to automatically approve camelAI tool usage without manual confirmation.

Troubleshooting

Common Issues

Next Steps


Having issues with the integration? Reach out to our support team or check our troubleshooting guide above.