AI and MCP

How to connect Lovable to SpendixAI with MCP

Use Lovable's custom MCP connector to link SpendixAI with OAuth, understand its approval cards for non read-only tools, and keep your expense data safe.

Editorial illustration for How to connect Lovable to SpendixAI with MCP

Lovable calls its outside tool links chat connectors. A custom one can point at any MCP server that supports OAuth, and that is how SpendixAI plugs in. The connector is personal to you and never ships inside an app you publish.

The approval cards matter most

Before the setup, one behaviour is worth knowing. Lovable runs tools that a server marks read only without asking you. Any other tool shows an approval card first, with two shortcuts: Always allow for one tool, or Always allow all tools from this connection, which even covers tools added later.

For money records, we would use the first shortcut sparingly and skip the second. And on the SpendixAI consent screen, choose Read only so there is little for a card to approve.

Setup, one field at a time

  1. Copy the server address from Developer → MCP connections in SpendixAI. That page belongs to us, as SpendixAI is our own product.
  2. In Lovable, open Connectors and choose Add custom, then MCP server.
  3. Type spendixai as the server name.
  4. Leave the connection on Direct connection.
  5. Paste <your SpendixAI server address> into the server URL field and keep authentication on OAuth.
  6. Choose Add & authorize, then sign in on the SpendixAI screen, pick a workspace and select a preset.

If MCP server is greyed out

A greyed-out entry means a workspace admin has switched custom MCP off. On Business and Enterprise plans, an admin or owner can also turn chat connectors off for everyone or for chosen connectors. Ask them, because nothing on your side can override it.

Facts we checked

QuestionAnswer
PlansCustom MCP servers and chat connectors are on all plans, including Enterprise
Sign-in optionsOAuth by default; Bearer token or API key; none
TransportNot stated on the page we read
Static IP addressesEnterprise only, not needed here
Scope of a connectorPersonal; not part of the published app

What you might ask

  • What did I spend on food last month compared with the month before?
  • Which merchants did I pay most often this quarter?
  • List my recurring charges and what each costs per year.

Presets, read only and the cards together

Two switches work together here. Lovable decides whether to show a card, depending on whether a tool is marked read only. SpendixAI decides what the assistant may do at all, through its three presets: Read only, Read and add, and Full access. With Read only, the assistant can view transactions and reports but cannot create or change anything, however many cards you approve.

Pick Read and add only when you want Lovable to enter a cash spend or upload a statement for you. Full access also covers categorisation rules and insights, which most people do not need in a build tool. Billing and member settings are never offered to an assistant.

What Lovable can and cannot see

SpendixAI holds statements you uploaded and expenses you added by hand, because it has no bank connection and does not read SMS. So an answer reflects what you have imported so far. If a recent week looks thin, upload the latest statement and ask again. Because a Lovable connector is personal, other people in your Lovable workspace do not share it.

If you do pick an Always allow choice, revisit that decision from time to time and ask yourself whether you still want the connection to work without a card, especially if you have since moved to a broader SpendixAI preset.

Taking the connection away

To end access, open Developer → MCP connections in SpendixAI, where connected assistants are listed and can be disconnected at any time. A member's workspace role also limits what an assistant can do, so it never gets more than you could do yourself.

We went through Lovable's documentation in November 2026 to write this. Menu names change often with app builders, so treat the screen in front of you as the final word.

SPENDIXAI JOURNAL

Useful ideas start with a clearer picture of your own spending.

Explore your reports