MCP server
Connect your AI assistant
MCP (Model Context Protocol) is the standard AI assistants use to connect with other applications. With the TomaTuFactura MCP server, your assistant looks up and works with your data in plain language.
The server address
It's all you need. When you connect it, the assistant opens a window where you sign in with your user (with two-step verification, if you have it) and authorise access: «read and write» or «read only».
https://tomatufactura.com/api/mcp
Step by step in each assistant
Claude (web and desktop app)
- Open Settings › Connectors and click «Add custom connector».
- Name it TomaTuFactura and paste the server address.
- Click «Connect», sign in with your user and authorise.
ChatGPT
- In Settings › Apps and connectors, turn on developer mode (under Advanced).
- Create a connector with the server address and OAuth authentication.
- Sign in with your user, authorise and enable it in the conversation.
Claude Code
claude mcp add --transport http tomatufactura https://tomatufactura.com/api/mcp
Then type /mcp in Claude Code and choose «Authenticate».
Cursor
In ~/.cursor/mcp.json (or in Settings › MCP › Add server):
{"mcpServers": {"tomatufactura": {"url": "https://tomatufactura.com/api/mcp"}}}
VS Code
In .vscode/mcp.json:
{"servers": {"tomatufactura": {"type": "http", "url": "https://tomatufactura.com/api/mcp"}}}
Other assistants, with an API key
If your assistant cannot connect via OAuth, create a key in Settings › Integrations and API and add it as a header: Authorization: Bearer ttf_…
What you can ask it
- «Which invoices are awaiting payment and since when?»
- «Make a quote for Bar Pepe: 3 hours of maintenance at €40.»
- «How much have I invoiced this quarter compared with the previous one?»
- «Which supplier expenses fall due this week?»
The assistant searches, looks up records, creates new ones and performs the same actions as the application (attend an appointment, issue or collect an invoice…). Before changing anything, assistants usually ask you to confirm.
Permissions and security
- The assistant acts as you: it sees and does only what your user can see and do in the application.
- Whatever it changes is recorded in each record's history with the assistant's name.
- Each connection appears in Settings › Integrations and API as an «(OAuth)» key: revoke it to disconnect the assistant immediately.
- The connection renews itself every hour; if it is not used for 90 days, it has to be authorised again.
- Requires the «API» module in the company's subscription.