Skip to main content

MCP Server

DualEntry provides a Model Context Protocol (MCP) server: a standardized interface that lets any compatible AI assistant or agent access your accounting data securely. Connect an MCP-compatible client and ask questions about your records, accounts, vendors, and customers in natural language. The server is remote and hosted by DualEntry. You do not install anything locally. Point your client at one URL and sign in with your DualEntry credentials.
PropertyValue
Server URLhttps://api.dualentry.com/mcp/
TransportStreamable HTTP
AuthenticationOAuth 2.1 (browser sign-in, no API keys)
Your MCP permissions match your DualEntry role. If you cannot see something in the dashboard, you cannot see it through MCP either.

Add to Cursor

Click the button below to install the DualEntry MCP server in Cursor with one click. Cursor opens an install prompt, then a browser window to sign in with your DualEntry credentials. Add DualEntry MCP server to Cursor
If the button does not open Cursor, make sure Cursor is installed and up to date, then use the Cursor tab below to add the server manually.

Client Setup

Pick your client below. Each tab includes a copy-paste-ready configuration. Every client connects to the same server URL and uses the same browser-based sign-in.
One-click: use the Add to Cursor button above.Manual: open Cursor Settings > MCP > Add new MCP server, or add the server to your mcp.json file:
{
  "mcpServers": {
    "dualentry": {
      "url": "https://api.dualentry.com/mcp/"
    }
  }
}
After saving, Cursor opens a browser window to sign in with your DualEntry credentials.

Authentication

No API keys are needed. You sign in with the same DualEntry credentials you use for the dashboard.
  • On first connection, your MCP client opens a browser for login.
  • Sessions refresh automatically.
  • Your permissions match your DualEntry role. If you cannot see something in the dashboard, you cannot see it through MCP either.

Available Tools

Tools respect your organization’s permissions and company-level access restrictions.

Record Retrieval

ToolDescription
search_recordsSearch for accounting records with filters (type, vendor/customer name, date range, amount range). Supports pagination with offset and limit (max 1,000 per page).
get_record_detailGet full details for a specific record by its transaction ID.
get_record_by_numberLook up a record by its number (e.g., JE-123, BI-456, IN-789).
get_record_historyGet the audit trail for a specific record.
get_related_recordsFind records related to a given record (e.g., payments linked to an invoice).
get_record_schemaGet the field schema for a record type (bill, invoice, journal_entry, etc.).
list_supported_transactionsList all supported record types and whether they support creation.
ToolDescription
search_entitiesSearch for entities (vendors, customers, accounts, companies, items, classifications, terms) by name. Supports pagination with offset and limit. Returns ID, name, and type-specific fields (e.g., account number, currency, email).

Record & Entity Creation

ToolDescription
create_draft_recordCreate a draft accounting record for review. Does not save to database.
validate_recordValidate record data before saving (checks required fields, entity existence, balancing).
save_recordSave a new accounting record to the database.
create_draft_entityCreate a draft entity (vendor, customer, etc.) for review. Does not save to database.
save_entitySave a new entity to the database.

Example Conversations

Once connected, you can ask your AI assistant questions like:
  • “Show me all invoices from last month over $5,000”
  • “Look up journal entry JE-412 and show me its line items”
  • “What payments are linked to invoice IN-1089?”
  • “Search for vendors matching ‘Acme’”
  • “Create a bill for vendor Acme Corp, $500 for office supplies”

Permissions

MCP access is governed by your DualEntry role. Tools check permissions before returning data:
Permission RequiredTools
Transactionssearch_records, get_record_detail, get_record_by_number, get_record_history, get_related_records, get_record_schema, list_supported_transactions
Record Creationcreate_draft_record, validate_record, save_record (per record type)
Chart of Accountssearch_entities (account)
Companiessearch_entities (company)
Customerssearch_entities (customer)
Vendorssearch_entities (vendor)
Itemssearch_entities (item)
Classificationssearch_entities (classification)
Termssearch_entities (term)
Entity Creationcreate_draft_entity, save_entity (per entity type)
If you lack a required permission, the tool returns a “Permission denied” message.

Troubleshooting

General

IssueSolution
”Permission denied” on a toolYour DualEntry role does not include the required permission. Ask your administrator to update your access.
Stale data after permission changeSign out and back in to apply changes immediately.

Cursor

IssueSolution
”Add to Cursor” button does nothingConfirm Cursor is installed and up to date, then add the server manually using the Cursor tab.
Server shows as disconnectedOpen Cursor Settings > MCP and toggle the server off and on to retrigger the browser sign-in.

Claude

IssueSolution
Connector not availableCustom connectors require a Claude Pro, Max, Team, or Enterprise plan. On Team/Enterprise plans, only Owners can add connectors.

Custom MCP Clients

These issues apply when connecting via third-party clients that use OAuth 2.1 to authenticate with the MCP server.
IssueSolution
Login window does not appearYour client must support OAuth 2.1-based MCP servers. Update to the latest version and verify OAuth support in your client’s documentation.
Connection timeoutVerify the MCP URL (https://api.dualentry.com/mcp/) is correct and that you can reach api.dualentry.com from your network.

Last modified on June 1, 2026