Skip to main content
MCP (Model Context Protocol) allows you to access Campfire’s APIs through AI tools like Cursor, VS Code, Claude Desktop, and others.

What is MCP?

The Model Context Protocol (MCP) is an open standard that enables AI applications to securely connect to external data sources and tools. Mintlify automatically generates an MCP server from your Campfire documentation and OpenAPI specification, allowing you to:
  • Query your accounting data through AI assistants
  • Generate reports using natural language
  • Analyze financial trends with AI-powered insights
  • Automate accounting workflows through AI tools
Mintlify automatically creates the MCP server at https://docs.meetcampfire.com/mcp based on your OpenAPI specification.

Available Tools

Mintlify automatically generates MCP tools from your OpenAPI specification. The available tools depend on which endpoints you’ve enabled for MCP access. By default, all MCP servers include a search tool for querying your documentation.
The following API endpoints are now enabled as MCP tools:Core Accounting:
  • Chart of Accounts (get_accounts): Retrieve chart of accounts with optional filtering by type, subtype, or search query
  • Transactions (get_transactions): Search and filter chart transactions with various criteria
  • Journal Entries: Create and manage journal entries
Company Data:
  • Entities (get_entities): Retrieve chart entities (companies, subsidiaries, etc.)
  • Vendors (get_vendors): Retrieve vendor information with optional filtering
  • Departments (get_departments): Retrieve department information with optional filtering
  • Tags (get_tags): Retrieve transaction tags (custom dimensions) with optional filtering
Financial Reports:
  • Income Statement (income_statement): Generate income statement data for a specified time period and cadence
  • Balance Sheet (balance_sheet): Generate balance sheet data for a specified time period and cadence
  • Cash Flow Statement (cash_flow_statement): Generate cash flow statement data for a specified time period and cadence
Budgeting & Planning:
  • Budgets (get_budgets): Retrieve budget information with optional filtering
Revenue Recognition:
  • Contracts (get_contracts): Retrieve contract information with optional filtering
All the API endpoints listed above are already enabled as MCP tools with x-mint.mcp.enabled: true annotations in the OpenAPI specification.

Getting Started

1

Get Your API Token

Follow our authentication guide to create an API token. You’ll need this to connect to the MCP server.
2

Choose Your AI Tool

Connect to Campfire’s MCP server using one of these methods:
  • Cursor
  • VS Code
  • Manual Setup
Click the contextual menu (⋮) on any page and select “Connect to Cursor” to automatically install the MCP server.
3

Authenticate

When prompted by your AI tool, provide your Campfire API token. The tool will securely store this for future requests.
4

Start Querying

You can now ask your AI tool questions like:
  • “Show me the income statement for Q1 2024”
  • “Find all transactions from vendor ABC Corp in the last month”
  • “What are my top 10 expense accounts by amount?”
  • “List all departments in my organization”
  • “Show me all active contracts”

Example Queries

Here are some example queries you can try with your AI tool:
With the enabled MCP tools, you can ask:Chart of Accounts:
Get all accounts of type ASSET
Find accounts with "cash" in the name
Transactions:
Find transactions from the last 30 days
Show me transactions from vendor ABC Corp
Company Data:
List all vendors with names containing "Tech"
Show me all departments
Get all entities
Financial Reports:
Generate income statement for Q1 2024
Show me balance sheet for December 2023
Get cash flow statement for the last 6 months
Budgets & Contracts:
Show me all budgets for entity 123
List all active contracts
All the API tools listed above are currently enabled and available through the MCP server.

Security & Privacy

Your API token provides access to your Campfire data. Keep it secure and only share it with trusted AI tools.
  • Authentication: All requests require a valid API token
  • Data Privacy: Your data is only accessed when you explicitly request it through the AI tool
  • No Storage: AI tools don’t store your Campfire data permanently