Connect Your AI Client
Once you have an Eloqua connection and an access token, add the Eloqua MCP server to your AI assistant. This page covers Claude, Claude Desktop, Claude Code and Cursor, plus what any other MCP client needs.
Before You Begin
You need:
- Your server URL. In the Eloqua MCP app, click Connect a Client and copy the URL under Server URL.
- An access token. See Create Access Tokens. Each person should use their own.
The Connect a Client page also has a tab for each client below, with your server URL already filled in. Copy the snippet and replace <YOUR_TOKEN> with your token.
Screenshot to add: the Connect a Client page.
Claude (Web and App)
-
In Claude, go to Settings > Connectors and click Add custom connector.
-
Enter a name, such as
R1 Eloqua, and paste your server URL. Use thehttpsaddress. -
Turn sign-in off. Claude may show a "Detected" tag next to the sign-in option. Ignore it and leave the OAuth fields empty.
-
Add a request header:
Field Value Header name X-API-KeyHeader value Your token, with nothing in front of it -
Save the connector and click Connect.
Type the header name yourselfClaude's header list suggests
x-apikey, without the second hyphen. That name doesn't work. TypeX-API-Keyby hand, and don't put the word "Bearer" in front of the token.
If you don't see Add custom connector, ask your Claude workspace owner. On some Claude plans, only an owner can add a connector, and members then connect to it.
Claude Desktop
Claude Desktop connects through the mcp-remote bridge, which needs Node.js on your computer.
-
Open
claude_desktop_config.json(in Claude Desktop: Settings > Developer > Edit Config). -
Add the server:
{ "mcpServers": { "r1-eloqua": { "command": "npx", "args": ["-y", "mcp-remote", "<SERVER_URL>", "--header", "Authorization:${ELOQUA_MCP_AUTH}"], "env": { "ELOQUA_MCP_AUTH": "Bearer <YOUR_TOKEN>" } } } } -
Restart Claude Desktop.
Keep Authorization:${ELOQUA_MCP_AUTH} as written, with no space after the colon.
Claude Code
Run one command in a terminal:
claude mcp add --transport http r1-eloqua <SERVER_URL> --header "Authorization: Bearer <YOUR_TOKEN>"Cursor
Add the server to ~/.cursor/mcp.json:
{
"mcpServers": {
"r1-eloqua": {
"url": "<SERVER_URL>",
"headers": { "Authorization": "Bearer <YOUR_TOKEN>" }
}
}
}Other MCP Clients
Any client that supports remote MCP servers over streamable HTTP can connect, as long as it can send the token in one of these two ways:
| Header | Value |
|---|---|
Authorization | Bearer <YOUR_TOKEN> |
X-API-Key | <YOUR_TOKEN> |
If your client has a single "Bearer token" field, paste the token there with nothing in front of it. The server doesn't offer OAuth sign-in, so leave any OAuth settings empty.
Check That It Works
Start a new chat and ask:
Which Eloqua instances can you reach?
The assistant should list your Eloqua connections. For more to try, see What You Can Ask. You can also open Access Tokens in the app: the token's Last used time updates within a few minutes of a successful connection.
To test the server without an AI assistant, use the Tool Tester page in the app, or the curl tab on Connect a Client.
When New Tools Are Added
Most clients read the tool list once, when they connect. After a release that adds tools, disconnect and reconnect the server in your client, then start a new chat. In Claude, refreshing the page is not enough.
Troubleshooting
| What you see | What to check |
|---|---|
| Claude says "Couldn't reach …", or Connect never finishes | This is almost always the header name or the token, not the network. Check that the header name is exactly X-API-Key, the value is the token alone, and the URL starts with https. |
| "Invalid, expired or revoked token" | The token was mistyped, has expired or was revoked. Check its status on Access Tokens, or create a new one. |
| "Missing token" | The client isn't sending the header. Check the header name and that sign-in or OAuth is switched off. |
| "This Organization does not have an active Eloqua MCP license." | Your subscription isn't active. Check Subscriptions in AppCloud or contact Relationship One. |
| The assistant says no Eloqua connection is set up | Add an Eloqua Connection. |
| The assistant asks which Eloqua instance to use | Your Organization has more than one connection. Tell it the connection's name. |
| Tools say Eloqua rejected the stored login | The Eloqua password changed. Update it on Eloqua Connections. |
| A new tool doesn't show up | Disconnect and reconnect, then start a new chat. |
If you're still stuck, contact support.
Updated about 4 hours ago
