Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.dualentry.com/llms.txt

Use this file to discover all available pages before exploring further.

MCP Server

DualEntry provides a Model Context Protocol (MCP) server - a standardized interface that allows any compatible AI model or agent to access your accounting data in a simple and secure way. Connect any MCP-compatible client and ask questions about your records, accounts, vendors, and customers using natural language.

Client Setup

Claude

  1. Open claude.ai and go to Settings > Connectors
  2. Click Add custom connector
  3. Enter the URL: https://api.dualentry.com/mcp/
  4. Click Add
  5. Complete the authentication prompt in your browser
Custom connectors require a Claude Pro, Max, Team, or Enterprise plan. On Team and Enterprise plans, only workspace Owners can add connectors (via Organization Settings > Connectors). Members can then enable and authenticate with connectors that have been added by their Owner.

Custom MCP Clients

The MCP server supports Streamable HTTP transport with OAuth 2.1 authentication at the following URL:
https://api.dualentry.com/mcp/
When you connect for the first time, your client will open a browser window for you to log in with your DualEntry credentials.
codex --mcp-server https://api.dualentry.com/mcp/

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 will open a browser for login.
  • Sessions are refreshed automatically.
  • Your permissions match your DualEntry role - if you can’t see something in the dashboard, you can’t 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 doesn’t include the required permission. Ask your administrator to update your access.
Stale data after permission changeSign out and back in to apply changes immediately.

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 doesn’t 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 May 29, 2026