Moloni ON Logo WhiteGuidesAPI ReferenceExplorer
Guides

Connecting a client

This guide shows how to connect an MCP client to the Moloni ON server and start working in a company.

Add the server

The server endpoint is:

https://mcp.molonion.pt/mcp

Claude Desktop

  1. Open Settings → Connectors (or Developer → MCP servers, depending on version).
  2. Add a remote MCP server with the URL above.
  3. Complete the sign-in when prompted.

Claude Code

Add it as a remote server:

claude mcp add --transport http moloni https://mcp.molonion.pt/mcp --scope user

Select a company

Every data tool works within one selected company.

  • If your account has exactly one company, it is selected automatically — you can start right away.
  • If you belong to several, the assistant will ask you (or you can tell it) to pick one. Behind the scenes it calls company_select; you can list options first with company_list.

Your selection is remembered across requests. To switch companies later, just ask to change company (the assistant calls company_select again).

Troubleshooting

  • "Reconnect" / credentials rejected on reconnect — remove and re-add the server so it re-runs the sign-in flow.
  • Tools fail asking you to select a company — you belong to more than one company; ask the assistant to select one (company_select).
  • Server not listed in /mcp — you likely added it at the wrong scope; re-add with --scope user.

© 2026 Moloni ON

Tax Authority Certificate No. 3075