She works with AI assistants all day to draft proposals and emails. Connecting Claude or ChatGPT to Fube saves her constantly jumping between tabs: she asks ‘which customers have overdue invoices?’ in the same chat where she's drafting the reminder, and creates the invoice for the project she's just closed without opening the app. Because each team member authorises their own access with OAuth and no passwords are shared around, she keeps things in order even as the team grows.
Connect ChatGPT and Claude to your invoicing via MCP, without sharing your password
Fube opens your invoicing data to the AI assistant you already use — ChatGPT, Claude Desktop or the VS Code extension — through the MCP protocol. The connection is authorised with OAuth 2.1 and PKCE: your assistant looks up your invoices and customers or creates documents for you, and never knows your password.
- Explicit authorisation with OAuth 2.1 and PKCE
- Temporary tokens that expire: your password never travels
- Delete the customer to close the door to new connections
Connect your assistant in four steps
You only do it once per tool. It all comes down to copying and pasting, plus an authorisation that you sign.
- 1
Create an OAuth customer in Fube
In Settings › OAuth customers, give it a name and enter the redirect URLs. Fube generates its Customer ID. There's no secret to store: the connection is protected with PKCE.
Create OAuth customer - 2
Set up the tool
Paste the Customer ID and the MCP server URL into ChatGPT, Claude Desktop or VS Code. The screen includes step-by-step instructions for each one.
ChatGPTClaude DesktopVS CodePaste these two values into the toolfube_cli_a3f9c2e7https://www.fube.es/sse - 3
Authorise from Fube
The tool redirects you to Fube so you can approve access. You're in control: the assistant doesn't get in until you confirm. Authorisation uses PKCE, from the OAuth 2.1 standard.
Claude Desktop wants to access your account· View customers, invoices and expenses· Create customers and invoicesProtected with PKCE · OAuth 2.1CancelAuthorise access - 4
Start asking
Your AI can look up customers, invoices, products, expenses and delivery notes, read your company details and create new invoices or customers — all from the conversation, with your real data.
Create an invoice for Acme SLDraft invoiceDraftCustomerAcme SL · B-12345678Consultancy€1,200.00IVA 21%€252.00Total€1,452.00
No longer want that connection? Delete the OAuth customer and the tool is locked out on its next request: it can't renew its access or re-authorise.
A pass that you sign and you decide to revoke
Authorisation is explicit, tokens expire on their own and your password never leaves Fube.
with PKCE: explicit authorisation without exposing your password to the assistant
the standard that connects ChatGPT, Claude Desktop and VS Code to your tools
the PKCE method Fube requires: the authorisation code is useless without your verifier
Frequently asked questions
What you ask us most about connecting an external AI to Fube.
The tools Fube exposes over MCP cover looking up customers, invoices, products, expenses and delivery notes, retrieving your company details and the knowledge base, and creating customers and invoices. In other words, your AI can both read your figures and generate documents for you. It doesn't replace Fube for everything, but it covers the most common day-to-day tasks.
No. That's precisely the point of OAuth. The tool never sees your password: it receives a temporary access token that you explicitly authorise from Fube. Unlike API keys, which are a fixed token, OAuth tokens expire and renew automatically via a refresh token, without asking for your permission again each time.
Delete the OAuth customer from the OAuth customers screen and the tool using it is disconnected on its next request: Fube checks on every request that the customer still exists, and the tool can no longer renew its access or re-authorise with it. If you suspect someone is using it without your permission, delete it and create a new one.
The connection is built on OAuth 2.1 with PKCE, a standard designed to authorise applications without exposing credentials: explicit authorisation on your part and tokens that expire on their own. You decide which tool gets in, and deleting the customer closes the door to new connections. Even so, only connect assistants you trust: they act with your permissions, within those you've granted the customer.
Yes. When you create the customer, you can specify up to twenty IP addresses or CIDR ranges. Fube checks them on authorisation, on access renewal and on every request. Without a list, the customer works from anywhere.
Not directly. MCP and OAuth are a way of connecting external tools to your account; Fube still guarantees Verifactu compliance when issuing invoices, whoever creates them. An invoice generated through your AI assistant goes through the same compliant flow as one created manually in the app: signature, chaining and QR code.
To connect ChatGPT, Claude Desktop or VS Code, no: Fube's OAuth customers screen includes step-by-step instructions for each tool, and it all comes down to copying and pasting the Customer ID and the server URL. The MCP protocol works behind the scenes; all you do is authorise.
Link ChatGPT or Claude to your real data
Create your first OAuth customer, connect the assistant you trust and stop copying figures by hand.
MCP and OAuth are one of the ways to connect Fube to your tools.Back to Integrations