Connect OpenCode to Hexvan
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 Hexvan
A preset of real Hexvan operations. Each one becomes a tool the agent can call, and it can't touch anything outside the list.
Connect Hexvan
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
Hexvan
25 toolsRead the signed-in user and their company.
List or search contacts, sorted by name or newest first.
Read a contact by ID.
Add a customer, supplier, or subcontractor to the address book.
Replace a contact's details. Supply all fields you want to keep.
List reminders by date range, completion state, or contact.
Read a reminder by ID.
Add a reminder with an optional date, time, contact and address.
Replace a reminder's details. Supply all fields you want to keep.
Mark a reminder as done or reopen it.
List recent quotes with optional customer, status, and invoicing filters.
Read a quote with its lines and VAT breakdown.
Create a draft quote for a customer.
Replace a draft quote including its line items.
Finalize a draft quote and assign its next number. It can no longer be edited.
Accept a sent quote and create a draft invoice from its lines.
List recent invoices or credit notes with optional filters.
Read an invoice with its lines and VAT breakdown.
Create a draft invoice for a customer.
Replace a draft invoice including its line items.
Issue a draft invoice and assign its next number. It can no longer be edited.
Record a payment date for an issued invoice or settlement of a credit note.
Download an issued invoice or credit note as a UBL XML file.
List supplier receipts, newest first.
Record a supplier payment in cents and assign the receipt its number.
About OpenCode
Frequently asked questions
More ways to connect
More tools for OpenCode
Use Hexvan with other agents
Open your OpenCode agent in one click.
NoClick runs OpenCode for you with Hexvan wired in as tools. Connect your account and run.