Melso
Connect your AI to Melso: invoices (Verifactu), expenses, income and tax returns for Spanish autónomos. Melso's professionals file after you approve.
Hosted MCP Server
npx add-mcp 'https://mcp.melso.ai/mcp'Installs into Claude Code, Codex, Cursor and more
Documentation
Agent Instructions
Melso MCP: https://mcp.melso.ai/mcp (OAuth; one company per connection). Documentation-search MCP: https://docs.melso.ai/mcp; it does not act on customer accounts.
Use the live tool list and respect company membership. Ask the person to approve the exact invoice or tax return version in the signed-in app. Melso's professionals prepare and file included returns after approval; an AI assistant does not file. A prepared file or an approval is not evidence of filing: only the AEAT's reference and receipt are. Keep credentials out of chat and logs.
Melso MCP
Connect your AI assistant to your Melso company for invoices, expenses, income and tax returns, and see what it can and cannot do.
Connect a compatible assistant to Melso to read your records, register expenses, draft and, where the prerequisites allow, issue invoices, and check the fiscal calendar. Access follows the company and permissions you approve on the OAuth consent screen.
Endpoint: https://mcp.melso.ai/mcp
Set up Claude, ChatGPT, Cursor, VS Code, Claude Code, Codex, Gemini CLI or another compatible MCP client.
Everyday requests mapped to the tool calls that answer them.
The tools Melso lists for your company and what each one does.
One company per connection, with explicit human decisions.
Begin with a read of your company. Follow Try a first read, check the returned company, then choose the next permitted action.
Who it is for
The server works for both kinds of Melso company: an autónomo (freelancer) and an empresa (company). Both get the same tools, except accounting, which reads an empresa's books. What a connection actually lists depends on the company's plan, your role and, for an autónomo, whether setup is finished. See Permissions and approvals.
What MCP can and cannot do
| An assistant can | An assistant cannot |
|---|---|
| Read invoices, customers, expenses, income, returns and the fiscal calendar | Issue an invoice without the owner's request, or through a connection that is not the owner's |
| Record an expense from its details or from an uploaded invoice or receipt | Authorize a tax return |
| Correct an expense or an income, and delete one recorded by mistake | Delete a record that an approved or filed return covers |
| Save a customer and prepare an unnumbered invoice draft or a correction | File a return with the tax agency |
| Return the page where the owner approves an invoice or a return | Pay a return, charge a card or move money |
| Issue the exact saved invoice version when the owner asks, if the prerequisites are met | Edit an issued invoice. A correction is a new draft |
| Mark an issued invoice as paid, once the person confirms the payment | Work in a company other than the one chosen at consent |
| Return the AEAT import file for a 303, 130, 111 or 115 | Do more than your Melso role and plan allow |
| Read and fill the fiscal profile, for the owner or an admin | Register you as an autónomo. It can send your request to Melso's team |
| Read an empresa's journal, trial balance, annual accounts and corporate tax | Approve or file the corporate tax return |
| Open a case (gestión) for Melso's professionals and follow it | Pay a case sold once. The owner pays in the web app |
| File a ticket for Melso's team |
Three rules follow from the table:
- Preparation is not issuance.
invoicespreparesaves an unnumbered draft.issuesubmits the exact saved version only when the owner asks, through the owner's own connection, with a plan that includes the tools and a verified issuer authorization: see Issuing an invoice. Otherwiseinvoicesrequest_approvalreturns the page where the owner issues it.taxesrequest_approvalreturns the page where the owner approves the exact version of a return. - Approval is not filing. Melso's professionals review and file an authorized return with the required authority. Only the actual external reference and receipt establish filing. An import file or a chat message is not a filing receipt.
- The list is the limit. Without a plan that includes the tools, only read actions are listed. While an autónomo's setup is pending, only
company,fiscal_profileandsupport_tickets_createare listed.
MCP supports the documented operations for eligible accounts. It does not perform every government procedure, and support for a client does not imply a partnership with its maker.
The documentation server is separate
The separate https://docs.melso.ai/mcp endpoint searches this documentation. Use the endpoint above to work with your Melso records.
This documentation is built and hosted on Mintlify, a developer documentation platform.