Connect OpenCode to Invofox
Set up in minutes
Choose where it runs
On your computer through your own OpenCode, or hosted in the cloud. The rest of setup adapts to your choice:
Pick what it can do in Invofox
A preset of real Invofox operations. Each one becomes a tool the agent can call, and it can't touch anything outside the list.
Connect Invofox
One sign-in. The agent acts through your account, scoped to the operations you picked.
Add your personal MCP link
The last step mints a private MCP URL for this agent and walks you through exactly this, with your real link filled in. The page flips to Connected the moment your OpenCode first calls in. opencode mcp add only saves the config. OpenCode connects when it starts — run opencode, or restart a running one.
1. Run this in your terminal
2. Choose Remote and paste your server URL
3. Choose No when asked about OAuth authentication — the link itself is the key
<your-link> is your personal server URL — setup mints it for you.
Tools OpenCode gets
Invofox
24 toolsRead a page of documents, optionally filtering the extracted fields.
Get structured extraction data and processing state for one document.
Correct extracted values or merge custom client metadata.
Get OCR geometry and text per page.
Get plain OCR text per page.
Set the document type by ID or environment alias.
Change the document's public review or export state.
Read a page of companies managed by this account.
Create a managed company.
Replace the company name, country and tax ID.
Delete the selected managed company.
Read a page of providers linked to a company.
Create a provider linked to a company.
Update the selected provider's business details.
Delete the selected provider from a company.
Read clients linked to a company; this endpoint has no paging parameters.
Create a client linked to a company.
Update the selected client's business details.
Delete the selected client from a company.
Queue files for download and processing, with batch company context.
Queue a single document without splitting (deprecated by Invofox; prefer batch URL upload).
Get file status and extracted document IDs.
Read one page of imports for this environment.
Get import progress, files and extracted document count.
About OpenCode
Frequently asked questions
More ways to connect
More tools for OpenCode
Use Invofox with other agents
Open your OpenCode agent in one click.
NoClick runs OpenCode for you with Invofox wired in as tools. Connect your account and run.