AI and MCP

How to connect Cline to SpendixAI with MCP

Step-by-step setup for Cline: add SpendixAI as a remote server with Streamable HTTP, finish the sign-in from the command line, and keep every tool call on approval.

Editorial illustration for How to connect Cline to SpendixAI with MCP

Cline is an AI coding assistant that runs as a panel inside your editor, and it also has a command line version. Both can use remote MCP servers, so you can point either one at SpendixAI, our own expense tracker for India, and ask about your spending without leaving the tool. This guide covers the two ways to add the server, what happens at sign-in, and how to stop Cline doing more than you intend.

We checked these steps against Cline's documentation in November 2026. Menus and labels change between releases, so treat the wording here as a guide and trust what you see on screen.

What you need first

  • A SpendixAI account with a workspace. Sign-in is by Google, and your workspace role limits what any assistant can do for you.
  • The server address shown under Developer → MCP connections in SpendixAI, which has a copy button beside it.
  • Cline as an editor extension or as the command line tool. The documentation we read states no plan and no minimum version, so we cannot quote one.
  • No API key. SpendixAI signs you in through the browser, so there is no secret to paste into a settings file.

Option one: the Cline panel

  1. Open the Cline panel in your editor and click the MCP Servers icon in its toolbar.
  2. Choose the Remote Servers tab.
  3. Enter spendixai as the Server Name.
  4. Paste <your SpendixAI server address> into the Server URL field.
  5. Set Transport Type to Streamable HTTP. The documentation calls this the recommended choice and lists SSE (Legacy) as the alternative.
  6. Click Add Server.

One gap to be aware of. The documentation we read mentions a browser authorisation action only in the command line wizard. Whether the panel starts the SpendixAI sign-in by itself was not confirmed in the documentation we read. If nothing prompts you, use the command line route below.

Option two: the command line

The documented add command is cline mcp add spendixai <your SpendixAI server address> --transport http --yes. Running plain cline mcp opens an interactive wizard instead, and that wizard has an Authorize OAuth action, described as running or rerunning browser authorisation for a remote server. Run it after adding the server. Command line settings are kept in a file called cline_mcp_settings.json inside the .cline data folder in your home directory, and an environment variable named CLINE_MCP_SETTINGS_PATH can point Cline at a different file.

Editing the JSON yourself

If you prefer a file, open the Configure tab and choose Configure MCP Servers. The spendixai entry needs a url holding your address, a type of streamableHttp, disabled set to false and an empty autoApprove list. Do not leave out the type. When it is missing, Cline falls back to the older SSE transport, which is not the one the documentation recommends.

SettingSuggested valueWhy
TransportStreamable HTTP (streamableHttp in JSON)Recommended; a missing type means legacy SSE
autoApproveEmpty listEmpty means every tool call asks you first
disabledfalseKeeps the server switched on
Sign-inOAuth in the browserStarted from the command line wizard
SpendixAI presetRead onlyView transactions and reports, nothing else

When the browser opens, sign in, choose the workspace, and pick a permission preset. Choose Read only, which SpendixAI recommends. Read and add also lets the assistant create transactions and upload documents, and Full access adds categorisation rules and insights. Billing and member settings are never available to an assistant.

Keep approvals switched on

In Cline the autoApprove list belongs to each server, and the documentation advises limiting it to safe tools. For money data we would leave it empty at the start. Once you have seen the tool names Cline lists, you could add only the ones that clearly just read. Anything that adds or changes records should keep asking.

What to ask first

  • What did I spend last month?
  • Which five transactions were the largest this month?
  • Which category grew the most compared with the month before?
  • Do I have possible duplicate charges?
  • For anything tax related, treat the answer as an estimate and compare it with the matching report in SpendixAI.

Disconnecting

Developer → MCP connections in SpendixAI lists every connected assistant and lets you disconnect one at any time. You can also set the disabled flag to true in Cline if you only want a pause.

SPENDIXAI JOURNAL

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

Explore your reports