Connector guide3-minute read7 languages

How to Connect AFAS Profit to Gemini — via MCP

AFAS Profit — Dutch ERP and HR: read any published GetConnector, list what is available, and inspect a connector's metadata. Token auth with AFAS's base64-wrapped XML token.

HCBy HelpCode teamUpdated 3 min read Open-source on GitHub

No credit card · 7-day trial · Self-host alternative available

  • 7-day free trial
    No credit card required
  • GDPR & SOC 2 ready
    EU data residency, audit logs
  • Open-source on GitHub
    Open source · AGPL-3.0
  • Works with ChatGPT, Claude, Gemini
    Any MCP-compatible client

Skip the install. Get this working in under 2 minutes.

Start a free trial on cloud.anythingmcp.com, add the connector in one click, then point your AI client (Claude, ChatGPT, Copilot or Cursor) at the generated MCP endpoint. No Docker, no git clone, zero engineering experience required.

Start free trial

Summary

AFAS Profit — Dutch ERP and HR: read any published GetConnector, list what is available, and inspect a connector's metadata. Token auth with AFAS's base64-wrapped XML token.

💡 No install? Use cloud.anythingmcp.com directly. Sign in, click Connectors → AFAS Profit, paste your credentials, mint an MCP API key — done. No Docker, no git clone, no local server.

AFAS Profit + Gemini

AFAS Profit — Dutch ERP and HR: read any published GetConnector, list what is available, and inspect a connector's metadata. Token auth with AFAS's base64-wrapped XML token.

Prerequisites

See the full setup instructions baked into the connector (visible in the in-app store when you select the connector). The required environment variables for this connector are:

AFAS_ENVIRONMENT, AFAS_TOKEN

Step 1 — Get credentials

AFAS exposes nothing until somebody publishes a GetConnector. That is the whole model, and it is why this adapter takes the connector name as a parameter rather than hard-coding entity paths.

  1. In AFAS open Algemeen → Beheer → App connector and create an app connector for the integration.
  2. Add the GetConnectors the agent should reach. The typed tools use the standard Profit_Debtor, Profit_Debtor_Invoices (outstanding debtor items) and Profit_Employees; anything else, including your own custom GetConnectors, goes through afas_profit_get_data. A GetConnector that has not been added to the app connector does not exist as far as the API is concerned.

…(continued in the in-app connector instructions)

Step 2 — Install the adapter

curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d

Step 3 — Add the connector in Gemini

Your server URL: in AnythingMCP, open MCP Servers → the server this connector is on, and copy its URL (https://cloud.anythingmcp.com/mcp/…). Use it wherever this guide shows YOUR_SERVER_ID.

Gemini CLI reads MCP servers from ~/.gemini/settings.json (or %APPDATA%\gemini\settings.json on Windows). Add:

{
  "mcpServers": {
    "anythingmcp": {
      "httpUrl": "https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID",
      "headers": { "X-API-Key": "YOUR_MCP_API_KEY" }
    }
  }
}
  1. Get your MCP API key from AnythingMCP → MCP Servers → your server → API keys.
  2. Save the file and restart gemini.
  3. Run /mcp inside the Gemini CLI — AFAS Profit should be listed as available.
  4. Vertex AI Studio: pass https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID to the tools array of your request with the same X-API-Key header.

Available tools

ToolWhat it does
afas_profit_list_connectorsList the GetConnectors and UpdateConnectors published to this app connector
afas_profit_get_connector_metadataRead one GetConnector's field definitions: the field ids, their types and lengths
afas_profit_get_dataRead rows from a GetConnector with AFAS's positional three-list filter
afas_profit_get_debtorsRead the Profit_Debiteuren GetConnector — customers with their debtor number, name, address and credit data
afas_profit_get_invoicesRead the Profit_Facturen GetConnector — invoices with their number, date, debtor and amounts
afas_profit_get_employeesRead the Profit_Medewerkers GetConnector — employees with their number, name, department and employment data

FAQ

Does Gemini 1.5 Pro or 2.x support MCP? Yes — Gemini CLI ≥ 0.4 and Vertex AI tools API both accept MCP httpUrl connectors with custom headers.

Next steps

Was this guide helpful?

Ship MCP to your stack in 60 seconds.

Spin up AnythingMCP on managed Cloud or self-host it on your infrastructure. Free for 7 days, no credit card.

Related guides

Connectors

How to Connect AFAS Profit to Meta Muse — via MCP

AFAS Profit — Dutch ERP and HR: read any published GetConnector, list what is available, and inspect a connector's metadata. Token auth with AFAS's base64-wrapped XML token.

Connectors

AFAS Profit to MCP — Drive AFAS Profit from any AI Agent

AFAS Profit — Dutch ERP and HR: read any published GetConnector, list what is available, and inspect a connector's metadata. Token auth with AFAS's base64-wrapped XML token.

Connectors

How to Connect AFAS Profit to ChatGPT — via MCP

AFAS Profit — Dutch ERP and HR: read any published GetConnector, list what is available, and inspect a connector's metadata. Token auth with AFAS's base64-wrapped XML token.

Connectors

How to Connect AFAS Profit to Claude — via MCP

AFAS Profit — Dutch ERP and HR: read any published GetConnector, list what is available, and inspect a connector's metadata. Token auth with AFAS's base64-wrapped XML token.

Connectors

How to Connect AFAS Profit to Cursor — via MCP

AFAS Profit — Dutch ERP and HR: read any published GetConnector, list what is available, and inspect a connector's metadata. Token auth with AFAS's base64-wrapped XML token.

Connectors

How to Connect Affinity to Gemini via MCP

Let your AI work with Affinity, the relationship intelligence CRM: search companies, people and deals, read lists and pipeline fields, notes, e-mail and meeting history, who on your team knows someone best, and reminders; with your confirmation add notes and update field values.