Skip to main content
Ask the person to connect one of their apps to Melso, such as gmail or outlook, where Melso finds their invoices and its agent works for them in its chat. It returns url: the person opens it in Melso’s web app, signed in, and connects the app there; an app already connected answers already_connected. Pass another_account only to add a different account. Availability: Autónomo / Empresa. The live tool list is authoritative: the company’s plan and your role can narrow this contract. Understand access.

When to use

Use it when the person wants Melso to find their invoices and receipts in their mailbox: pass gmail or outlook as toolkit_slug and give them the returned url. They connect the app in Melso’s web app, signed in; no tool connects it for them. It is listed once an autónomo’s setup is done and the company has a plan.

Input

Output

For an app the person already has, already_connected with its accounts. Otherwise a url the person opens in Melso’s web app, signed in, to connect the app; the same request also waits on their Home, and asking again returns it. The result uses MCP content blocks; JSON payloads are encoded in text and may also appear in structuredContent. Check isError before reading a success payload. When the server declares an outputSchema, it is reproduced below. Check the action result and its declared fields before reporting success.

Example

Ask the person to connect the Gmail where their invoices arrive. These are the arguments of each call, in order.
1

Get the link to connect Gmail

The first call as a request. Use an OAuth access token issued for this MCP resource and replace the example identifiers with values from your own company.