Guide

Connect your agent

AQL is a single remote MCP server at https://aqlflow.com/mcp using Streamable HTTP transport. You need an API key from your dashboard (or the one shown once after signup), then one config paste below.

The three steps

  1. Create a free account at aqlflow.com/signup and copy the API key.
  2. Paste the config for your client (below) into its MCP config file.
  3. Restart the client — the agent now has 30 memory tools. Add the agent rules so it uses them consistently.

Claude Code

.mcp.json (project) or ~/.claude.json (user)

The "type": "http" field is required with a url — without it the entry is read as stdio and skipped.

{
  "mcpServers": {
    "aql": {
      "type": "http",
      "url": "https://aqlflow.com/mcp",
      "headers": {
        "Authorization": "Bearer aql_sk_your_api_key"
      }
    }
  }
}

Or from the terminal:

claude mcp add-json aql '{"type":"http","url":"https://aqlflow.com/mcp","headers":{"Authorization":"Bearer aql_sk_your_api_key"}}'

Cursor

~/.cursor/mcp.json (global) or .cursor/mcp.json (project)

Cursor reads remote url + headers natively — paste and restart.

{
  "mcpServers": {
    "aql": {
      "url": "https://aqlflow.com/mcp",
      "headers": {
        "Authorization": "Bearer aql_sk_your_api_key"
      }
    }
  }
}

Windsurf

~/.codeium/windsurf/mcp_config.json

Windsurf uses "serverUrl" for remote HTTP servers — same key as Devin, different file.

{
  "mcpServers": {
    "aql": {
      "serverUrl": "https://aqlflow.com/mcp",
      "headers": {
        "Authorization": "Bearer aql_sk_your_api_key"
      }
    }
  }
}

Devin

.devin/mcp_config.local.json (project) or ~/.config/devin/mcp_config.json (user)

Devin uses "serverUrl" instead of "url" for remote servers. The .local.json file is gitignored — safe for your key.

{
  "mcpServers": {
    "aql": {
      "serverUrl": "https://aqlflow.com/mcp",
      "headers": {
        "Authorization": "Bearer aql_sk_your_api_key"
      }
    }
  }
}

Codex

~/.codex/config.toml

Codex reads TOML — declare the server under [mcp_servers.*] and pass the token via http_headers.

[mcp_servers.aql]
url = "https://aqlflow.com/mcp"
http_headers = { "Authorization" = "Bearer aql_sk_your_api_key" }

Gemini CLI

~/.gemini/settings.json

Gemini CLI uses "httpUrl" (not "url") for remote HTTP MCP servers.

{
  "mcpServers": {
    "aql": {
      "httpUrl": "https://aqlflow.com/mcp",
      "headers": {
        "Authorization": "Bearer aql_sk_your_api_key"
      }
    }
  }
}

GitHub Copilot

.vscode/mcp.json (workspace) or VS Code user settings

Copilot in VS Code uses a "servers" root key — not "mcpServers" — with "type": "http".

{
  "servers": {
    "aql": {
      "type": "http",
      "url": "https://aqlflow.com/mcp",
      "headers": {
        "Authorization": "Bearer aql_sk_your_api_key"
      }
    }
  }
}

Cline / Roo Code

cline_mcp_settings.json · .roo/mcp.json

Both VS Code extensions accept a standard mcpServers block with url + headers.

{
  "mcpServers": {
    "aql": {
      "url": "https://aqlflow.com/mcp",
      "headers": {
        "Authorization": "Bearer aql_sk_your_api_key"
      }
    }
  }
}

Claude Desktop

claude_desktop_config.json — macOS: ~/Library/Application Support/Claude/ · Windows: %APPDATA%\Claude\

Desktop has no native HTTP transport — the mcp-remote bridge proxies stdio → HTTP. Requires Node.js.

{
  "mcpServers": {
    "aql": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote@latest",
        "https://aqlflow.com/mcp",
        "--header",
        "Authorization: Bearer aql_sk_your_api_key"
      ]
    }
  }
}

Other MCP clients

your client's MCP config file

Standard mcpServers JSON with a Bearer header — works with Zed, Goose, Amp, Kilo Code and most clients that accept headers.

{
  "mcpServers": {
    "aql": {
      "url": "https://aqlflow.com/mcp",
      "headers": {
        "Authorization": "Bearer aql_sk_your_api_key"
      }
    }
  }
}

Fallback — no header support

your client's MCP config file

Only for clients that cannot set headers. The token may appear in proxy or access logs — prefer the header form.

{
  "mcpServers": {
    "aql": {
      "url": "https://aqlflow.com/mcp?token=aql_sk_your_api_key"
    }
  }
}

Verify the connection

Ask your agent to call vdb_stats. A working connection returns counts for your user, team, and global scopes. The connect page (when signed in) also flips to “Agent connected” the moment your client first calls the server.

Troubleshooting