Connect a developer tool (Claude Code, Codex, Gemini CLI, Cursor, Windsurf)
Goal: use your CRM data from a coding or terminal AI tool. Available in Pro and Business.
Every tool uses the same server address and signs you in through a browser window with our consent page, where you click Approve. No password or token ends up in a config file.
https://db.b2bmarketing.ai/functions/v1/mcp-gatewayclaude mcp add --scope user --transport http mcp-crm \ https://db.b2bmarketing.ai/functions/v1/mcp-gatewayclaude mcp login mcp-crmOr, in a running session, type /mcp and pick Authenticate next to mcp-crm. Check with claude mcp list
(expected: mcp-crm … ✔ Connected).
codex mcp add crm-linkedin --url https://db.b2bmarketing.ai/functions/v1/mcp-gatewaycodex mcp login crm-linkedinThe configuration goes to ~/.codex/config.toml. Check with codex mcp list.
gemini mcp add --transport http -s user crm-linkedin \ https://db.b2bmarketing.ai/functions/v1/mcp-gatewayOn first use Gemini CLI opens the consent page (or run /mcp auth crm-linkedin in a session). Drop -s user to
keep the server in one project only.
Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (one project):
{ "mcpServers": { "crm-linkedin": { "url": "https://db.b2bmarketing.ai/functions/v1/mcp-gateway" } }}Cursor detects the server (Settings → Tools & MCP) and opens the sign-in; click Approve.
Add to ~/.codeium/windsurf/mcp_config.json (Windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json):
{ "mcpServers": { "crm-linkedin": { "serverUrl": "https://db.b2bmarketing.ai/functions/v1/mcp-gateway" } }}Fully restart Windsurf (closing the window is not enough), then complete the sign-in.
Check it works
Section titled “Check it works”Ask: “Who am I in the CRM?” The assistant answers with your account and organization.
Common pitfalls
Section titled “Common pitfalls”- Write actions: when the tool asks for permission, choose “allow once”, never “always allow”.
- Other MCP clients that support remote servers with OAuth work the same way: give them the address above and leave client ID and secret empty.