---
title: Connect ChatGPT, Claude, or Gemini to Kafinea (MCP)
description: "--- ## Introduction Query your Kafinea data directly from ChatGPT, Claude, Gemini, Copilot, Cursor, or Codex: invoices, customers, inventory, projects. Simply add a single address to your assistant, sign in with your standard Kafinea account, and the assistant operates within…"
url: "https://www.kafinea.com/en/help/artificial-intelligence/connect-chatgpt-claude-or-gemini-to-kafinea-mcp/"
updated: "2026-11-22"
category: Artificial intelligence
---

# Connect ChatGPT, Claude, or Gemini to Kafinea (MCP)

---

## Introduction

Query your Kafinea data directly from ChatGPT, Claude, Gemini, Copilot, Cursor, or Codex: invoices, customers, inventory, projects. Simply add a single address to your assistant, sign in with your standard Kafinea account, and the assistant operates within your permissions, with no API keys to store.

To achieve this, Kafinea uses **MCP** (Model Context Protocol), the open standard that enables AI assistants to connect to applications. Any MCP-compatible assistant can therefore connect, whether or not it appears in the examples on this page.

---

## 1. Open the connection page

1. Sign in to Kafinea
2. Open the user menu at the top right
3. Select **Connect my AI assistant**

The same button is available under **My Preferences**. The page **Connect your AI assistant to Kafinea** displays the steps specific to each assistant, the connection URL to copy, and the list of **Your connected assistants**.

If the page indicates that the connection is not yet activated for your workspace, copy the activation request provided and forward it to your administrator or integrator.

---

## 2. Connect your assistant

The connection URL is the same for everyone:

```
https://mcp.kafinea.com/mcp
```

On the page, select your assistant to display its steps, then copy the address using the **Copy address** button. The process is always the same:

1. In your assistant's settings, add a connection (often called a "connector" or "remote MCP server") and paste the address.
2. Initiate the connection from the assistant: a Kafinea login page opens.
3. Sign in with your standard Kafinea account, then grant access by choosing the operational scopes: read, write, configuration.

No keys or passwords are stored in the assistant. Steps by assistant:

- **Claude (web, desktop, and mobile)**: **Settings > Connectors > Add custom connector**, name it Kafinea, paste the address, and click **Connect**. In an organization, the owner adds the connector once for all members; each member then connects using their own Kafinea account and only sees their assigned workspaces.
- **ChatGPT**: **Settings > Apps & connectors > Create** (enable developer mode in advanced settings if needed), paste the address, and select OAuth authentication.
- **Copilot / VS Code**: Command Palette, **MCP: Add Server**, HTTP type, paste the address, and name the server `kafinea`; the Kafinea login prompt opens on the first prompt submitted to Copilot in agent mode.
- **Cursor**: **Cursor Settings > Tools & MCP > New MCP Server**, add the snippet provided on the page, then click **Connect**.
- **Command line**:
  - Claude Code: `claude mcp add --transport http kafinea https://mcp.kafinea.com/mcp`, then `/mcp` to connect;
  - Codex: `codex mcp add kafinea --url https://mcp.kafinea.com/mcp`, then `codex mcp login kafinea`;
  - Gemini CLI: `gemini mcp add --transport http kafinea https://mcp.kafinea.com/mcp`, then `/mcp auth kafinea` in a session to connect;
  - Other assistants: add a remote HTTP server with this address; the assistant opens the Kafinea connection prompt upon first use.
- **All other MCP-compatible assistants**: Mistral's Le Chat, Microsoft Copilot Studio, Windsurf, JetBrains AI Assistant, Zed, Cline, Continue, Goose, OpenCode, n8n, and many others connect the same way. Look in their settings to add a remote "connector", "MCP server", or "MCP tool" of type HTTP, then paste the address.

> **Tip:** Let your assistant configure itself. An assistant capable of editing its own configuration (via command line or in a code editor) can handle the setup for you. Simply give it this instruction: "Add the remote Kafinea MCP server to your configuration at https://mcp.kafinea.com/mcp (HTTP transport, OAuth connection), then initiate the connection." All that remains is to authenticate with your Kafinea account on the page that opens. For a web chat assistant, ask it instead for the instructions to add a remote MCP connector.

---

## 3. Test the connection

1. Ask the assistant for the list of your Kafinea workspaces
2. Then ask a question about one of them (for example: "List my recent invoices")
3. The assistant queries the selected workspace and displays the results

A workspace that has been inactive for a while may take up to a minute to start up: the assistant will prompt you to try again.

---

## 4. What you can ask

The assistant views, searches, and—if permitted—edits your data according to the same rules enforced by Kafinea's UI screens. A few examples:

- "Which customer invoices from this month are still unpaid?"
- "Find the record for customer Durand and their last three quotes."
- "What is the available stock for the Folding Chair item?"
- "Add a follow-up task for this deal due this Friday."
- "What is waiting for my approval?" (see [Approvals](https://www.kafinea.com/fr/documentation/automatisation/les-approbations/))
- "Which invoice generated this delivery note and are its changes synchronized?" (see [Automatic generation of delivery notes](https://www.kafinea.com/fr/documentation/gestion-des-stocks/generer-automatiquement-un-bon-de-livraison-depuis-une-facture/))
- "Replace the M6 screw with the M8 screw in this kit's bill of materials." (see [Product kits](https://www.kafinea.com/en/help/catalog/product-kits/))

The assistant also navigates items linked to a record (customer contacts, document line items, attached files) and creates or updates [links between items](https://www.kafinea.com/en/help/kafinea-interface/links-between-elements/).

---

## 5. Multiple workspaces, a single connection

With the single URL, the assistant accesses all the Kafinea workspaces you are authorized to use: production, sandbox, and various client workspaces if you are an integrator. The list mirrors your access permissions: a workspace granted to you later becomes accessible without any additional configuration, and a revoked workspace is immediately removed.

The assistant begins by listing your workspaces, then specifies the target workspace for each operation. A request is therefore never executed on any workspace other than the one selected.

To connect a single workspace, use its dedicated URL instead: on the connection page, expand **Restrict assistant to this workspace** beneath the connection address.

---

## 6. Security

- Each operation runs under your account and permissions within the relevant workspace
- Authorized operation categories (read, write, configuration) restrict what the assistant can do, regardless of your personal permissions
- The **Your connected assistants** section on the connection page lists your active connections; revoking a single-URL connection, labelled as **All your workspaces**, applies across all your workspaces
- Access revoked from your account applies to the assistant within minutes

---

## FAQ

**What is MCP?**
 MCP (Model Context Protocol) is an open standard protocol enabling AI assistants to connect to tool servers. Kafinea provides an MCP server that securely exposes your data while adhering to the authenticated user's access rights. Any MCP-compatible assistant can therefore connect to Kafinea.

**Is a separate connection required for each workspace?**
 No. The single URL `https://mcp.kafinea.com/mcp` grants access to all your workspaces through one connection. A workspace-specific URL remains available under **Restrict assistant to this workspace** if you wish to limit the assistant strictly to that environment.

**A new workspace was assigned to me. What should I do?**
 Nothing: ask your assistant for the list of your workspaces, and it will appear within minutes.

**The assistant is asking me to reconnect**
 Your connection was revoked or has expired. Restart the connection from the assistant and authorize access again.

**What data can the assistant access?**
 Only the data you are authorized to access in Kafinea, according to your profile and permissions within each workspace.

**Can I still use an access key?**
 Yes, for scripts and tools that cannot open an interactive login session with a Kafinea account. The corresponding configuration is located in the **Technical Integration (access key)** section of the connection page; the key remains hidden until you click **Show key**, and grants access only to that specific workspace. Connecting with your user account is recommended: no keys are stored in the tool, and each connected assistant can be revoked individually.

---

## Related References

- [AI Chat](https://www.kafinea.com/en/help/artificial-intelligence/ai-chat/)
- [AI Text Assistant](https://www.kafinea.com/en/help/artificial-intelligence/the-ai-text-assistant/)
- [AI Workflows](https://www.kafinea.com/en/help/artificial-intelligence/ai-workflows/)
- [AI-Assisted Invoice OCR](https://www.kafinea.com/fr/documentation/intelligence-artificielle/ocr-de-factures-assiste-par-ia/)
- [Administering the MCP Server](https://www.kafinea.com/en/help/settings/administer-the-mcp-server/)
- [Product Kits](https://www.kafinea.com/en/help/catalog/product-kits/)
- [Links Between Items](https://www.kafinea.com/en/help/kafinea-interface/links-between-elements/)
