LamPyrid
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MCP_HOST | No | Host binding for HTTP/SSE transports. | 0.0.0.0 |
| MCP_PORT | No | Port binding for HTTP/SSE transports. | 3000 |
| FIREFLY_TOKEN | Yes | Personal access token for API authentication. | |
| LOGGING_LEVEL | No | Logging verbosity: DEBUG/INFO/WARNING/ERROR/CRITICAL. | INFO |
| MCP_TRANSPORT | No | Transport protocol: stdio, http, or sse. | stdio |
| JWT_SIGNING_KEY | No | JWT signing key to enable persistent authentication across server restarts (generate: python -c "import secrets; print(secrets.token_urlsafe(32))"). | |
| SERVER_BASE_URL | No | Your server's public URL (e.g., https://lampyrid.example.com). Used for the OAuth redirect URI {SERVER_BASE_URL}/auth/callback. | |
| FIREFLY_BASE_URL | Yes | URL of your Firefly III instance. | |
| GOOGLE_CLIENT_ID | No | Google OAuth 2.0 client ID. Recommended for remote deployments; used together with GOOGLE_CLIENT_SECRET and SERVER_BASE_URL. | |
| OAUTH_STORAGE_PATH | No | OAuth storage path; default is /app/data/oauth for Docker. | |
| GOOGLE_CLIENT_SECRET | No | Google OAuth 2.0 client secret. Used together with GOOGLE_CLIENT_ID and SERVER_BASE_URL. | |
| OAUTH_STORAGE_ENCRYPTION_KEY | No | Fernet key to enable persistent OAuth token storage (generate: python -c "from cryptography.fernet import Fernet; print(Fernet.generate_key().decode())"). |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| logging | {} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| extensions | {
"io.modelcontextprotocol/ui": {}
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_accountsA | Retrieve accounts from Firefly III. Use 'asset' for checking/savings accounts, 'expense' for spending accounts, 'revenue' for income sources. Essential for finding account IDs before creating transactions. |
| get_accountA | Retrieve detailed account information including current balance and currency. Use this to verify account details before transactions. |
| search_accountsA | Find accounts by partial name matching. Useful when you know the account name but not the ID. Supports filtering by account type. |
| create_withdrawalA | Record expenses and spending. Money leaves your asset accounts to pay for goods, services, or cash withdrawals. Can be assigned to budgets for expense tracking. |
| create_depositB | Record income and money received. Represents salary, refunds, gifts, or any money coming into your asset accounts from external sources. |
| create_transferA | Move money between your own accounts. Use for transferring to savings, paying credit cards from checking, or consolidating funds. |
| create_bulk_transactionsA | Efficiently create multiple transactions in one operation. By default (atomic=True), rolls back all transactions if any fail. Set atomic=False to continue on error and return partial results. |
| get_transactionA | Retrieve complete transaction details. Use this to verify transaction information before updates or to examine specific transactions. |
| get_transactionsB | Retrieve transaction history with flexible filtering and pagination. Essential for financial analysis, spending pattern review, and account activity monitoring. |
| search_transactionsA | Search transactions with powerful filtering options. Supports free-text search, type filtering (withdrawal/deposit/transfer), amount ranges, date ranges, categories, budgets, and account matching. All filters combine with AND logic for precise results. |
| delete_transactionA | Permanently remove a transaction. Use to correct mistakes, remove duplicates, or delete test data. This action cannot be undone. |
| update_transactionB | Modify transaction details such as amounts, descriptions, dates, accounts, etc. Useful for correcting imported data or updating incomplete information. |
| bulk_update_transactionsA | Efficiently update multiple transactions in one operation. Continues on error and returns partial results with error details. Raises exception only if ALL updates fail. |
| list_budgetsB | Retrieve your budgets for expense tracking and financial planning. Filter by active status to see current or all budgets. |
| get_budgetB | Retrieve detailed budget information including name, status, and notes. Use this to verify budget details before assigning transactions. |
| get_budget_spendingA | Analyze spending against a budget. Includes amount spent, remaining budget, and percentage used. Essential for budget monitoring and overspending alerts. |
| get_budget_summaryB | Comprehensive overview of all budget performance with totals and spending analysis. Perfect for monthly reviews and financial dashboards. |
| get_available_budgetA | Check unallocated budget available for new budgets or unexpected expenses. Shows money set aside but not assigned to specific budgets. |
| create_budgetB | Create a new budget for expense tracking and financial planning. Budgets help organize spending by category. Use auto-budget options for automatic allocation each period (daily/weekly/monthly/etc). |
| set_budget_limitA | Set the spendable amount for an existing budget for a specific period. The period defaults to the current month if no dates are given. Creates the limit, or updates it if one already exists for that period (so calling it again simply adjusts the amount). Identify the budget by budget_id or budget_name. |
| list_budget_limitsA | List the amounts (limits) set for a budget, with amount spent for each period. Identify the budget by budget_id or budget_name. Optionally restrict to a date range. |
| delete_budget_limitA | Remove the spendable amount set for a budget for a specific period. The period defaults to the current month if no dates are given. Identify the budget by budget_id or budget_name. Fails if no limit exists for that period. |
| list_categoriesA | List all categories. Categories are a finer-grained classification of transactions (e.g. "vegetables", "personal hygiene") that complement budgets. Use this to find category IDs/names before assigning them to transactions. |
| get_categoryA | Retrieve a single category, optionally with spending for a period. Provide start_date and end_date together to include the total spent and earned in this category over that period. |
| list_tagsA | List all tags. Tags are cross-cutting labels that group transactions across budgets, categories, and time (e.g. a trip, a project, a tax year). Use this to discover existing tags before assigning or searching by them. |
| get_tagA | Retrieve a single tag by its name or numeric ID. |
| get_expense_insightA | Analyze expenses for a time period with optional grouping. Get total expenses or break them down by expense account (vendor/payee), asset account (source), or budget. When grouping by budget, optionally includes unbudgeted expenses as a separate entry. Use cases:
|
| get_income_insightA | Analyze income for a time period with optional grouping. Get total income or break it down by revenue account (source) or asset account (receiving account). Use cases:
|
| get_transfer_insightA | Analyze transfers for a time period with optional account breakdown. Get total transfers or break them down by asset account with in/out amounts for each account. Use cases:
|
| get_financial_summaryA | Get a complete financial overview for a time period. Returns expense, income, and transfer totals along with net position (income minus expenses). Makes parallel API calls for efficiency. Use cases:
|
| search_rulesA | Search your rules using multiple filter criteria. Since Firefly III doesn't have a built-in rule search API, this tool fetches all rules and filters them client-side using keyword matching and regex patterns for maximum flexibility. Provide at least one search criterion. All criteria are combined with AND logic. |
| get_ruleA | Retrieve a single rule by ID with all its triggers and actions. Returns the complete rule configuration including triggers (conditions) and actions (what to do when the rule matches). |
| update_ruleB | Update an existing rule's configuration. You can update any combination of:
Note: The 'prohibited' field on triggers is read-only and cannot be modified. |
| test_ruleA | Preview which transactions a rule would match WITHOUT applying changes. Use this before executing a rule to see what would be affected. This is a read-only operation - no transactions are modified. Returns the list of matching transactions that would be changed if the rule is executed. |
| execute_ruleA | Execute a rule to apply changes to matching transactions. WARNING: This is a destructive operation that modifies your transactions.
Rule execution in Firefly III is asynchronous. The rule will be queued for processing and applied in the background. Check your transactions later to confirm the changes have been applied. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 35 tools
Most tools target distinct resource+action pairs (e.g. create_deposit vs create_withdrawal vs create_transfer). However, get_transactions and search_transactions heavily overlap in purpose (both retrieve transaction history with flexible filtering), and get_financial_summary partially duplicates the aggregate insight tools. Descriptions mitigate most of this, keeping it coherent overall.
Names consistently follow a snake_case verb_noun pattern (list_accounts, get_budget, search_rules, delete_budget_limit, execute_rule). The verb conventions (create/get/list/search/update/delete/set/test/execute) are applied predictably across all domains, with only benign prefixes like bulk_update_.
At 35 tools this is on the heavy side, though the scope spans transactions, accounts, budgets, categories, tags, insights, and rules, so most tools earn their place. It still leans toward over-provisioning given several domains are covered read-only, making some tools feel redundant.
Transactions have full CRUD plus bulk/search, but accounts lack create/update/delete, budgets lack update/delete, rules lack create, and categories/tags are read-only (list/get only). These are notable gaps that could dead-end an agent trying to fully manage the finance system.