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.Documentation Search
Documentation Search
- Search: Query information from your Campfire documentation using natural language
API Endpoints (if enabled)
API Endpoints (if enabled)
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
- 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
- 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
- Budgets (
get_budgets): Retrieve budget information with optional filtering
- 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:Documentation Search
Documentation Search
API Endpoints (if enabled)
API Endpoints (if enabled)
With the enabled MCP tools, you can ask:Chart of Accounts:Transactions:Company Data:Financial Reports:Budgets & Contracts:
All the API tools listed above are currently enabled and available through the MCP server.
Security & Privacy
- 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