Pennywell as a Muse connector
Pennywell is a zero-based envelope budgeting app. As a connector it exposes a hosted MCP server: with your permission, an AI agent can read your accounts, budget and reports, give your money jobs, keep your register in order, and sync your bank transactions into Pennywell through its review-queue import pipeline.
Hosted MCP endpoint
POST https://www.pennywell.app/mcpStreamable HTTP, stateless, in the same Vercel deployment as the web app. A local Pennywell serves the same endpoint.Every tool runs one of Pennywell's own REST routes, in the server, with the same validation — the connector cannot do anything the web app can't, and every request is answered for the budget the credential belongs to, never anyone else's.
Authentication
Two ways in, one credential header:
Authorization: Bearer <token>An OAuth access token or an API key. A bad Bearer token is a 401 — it never falls through to a browser's session.API key
- Sign in to Pennywell, open Settings, and under Assistants name a key and create it. The key (
pennywell_…) is shown once — paste it then. - Give your MCP client the endpoint above and the key as its Bearer token, or add Pennywell to Muse as a custom connector; Muse keeps the key in its Secure Credentials Store.
- The same screen lists your keys with when each was last used, and revokes one at a time. Scripts can do the same through
POST /api/auth/api-keys,GET /api/auth/api-keysandDELETE /api/auth/api-keys/:id.
OAuth with PKCE — for the directory listing
Pennywell's sign-in service is its OAuth 2.1 server, and the endpoint says so the way MCP clients look for it:
- A request with no token is a 401 whose
WWW-Authenticateheader points at the resource metadata,GET https://www.pennywell.app/.well-known/oauth-protected-resource/mcp, which names the authorization server. - Authorize at the authorization server's
authorization_endpoint, from its metadata, with yourcode_challenge(S256). - The person approves on the consent screen,
https://www.pennywell.app/oauth/consent?authorization_id=…, signed in to Pennywell. - Exchange the code at its
token_endpoint, then call the MCP endpoint with the access token as the Bearer token.
Tools
51 tools, named pennywell_*. Reads never write. 32 tools change the budget; the ones marked destructive delete something or rewrite past months, and carry MCP's destructiveHint so a client asks you before it calls one. Assigns and moves can be taken back with pennywell_undo.
Guide
| Tool | What it does | Kind |
|---|---|---|
pennywell_get_budgeting_guide | How the envelope method works in Pennywell — Ready to Assign, overspending, credit cards, targets, a routine — and how to advise on it. | Read |
Budget
| Tool | What it does | Kind |
|---|---|---|
pennywell_get_budget_info | The budget's current month and first month: where "this month" and the history begin. | Read |
pennywell_get_budget_month | One month of the budget grid: Ready to Assign and, per category, assigned, activity, available and target. | Read |
pennywell_get_recent_moves | A month's assigns, moves, undos and redos, newest first. | Read |
pennywell_assign | Set how much is assigned to one category in one month. | Write |
pennywell_move_money | Move an amount from one category to another, or to and from Ready to Assign. | Write |
pennywell_assign_many | Change what is assigned to several categories in one month, as one step that pennywell_undo takes back whole. | Write |
pennywell_fill_budget | Give Ready to Assign a job across the whole plan, some groups or some categories in one step: overspending first, then targets, then usual spending, then the rest in proportion. | Write |
pennywell_undo | Take back the most recent assign or move, wherever it happened, or a change to transactions by its step. | Write |
pennywell_redo | Re-apply the most recently undone assign or move. | Write |
pennywell_auto_assign_preview | What each of the eight Auto-Assign options, and Fix This, would change in a month, for the whole plan or some categories. Writes nothing. | Read |
pennywell_auto_assign | Apply one Auto-Assign option, or Fix This, as one step that pennywell_undo takes back whole. | Write |
pennywell_backfill_assignments | Retroactively fund overspent categories across a range of past months. | Write, destructive |
pennywell_set_first_month | Move the budget's first month earlier, so older transactions can be imported. | Write |
Categories and targets
| Tool | What it does | Kind |
|---|---|---|
pennywell_list_categories | Every category group and category with its id, plus the Inflow: Ready to Assign category that income is filed under. | Read |
pennywell_create_category_group | Create a category group, optionally with its first category. | Write |
pennywell_update_category_group | Rename, hide, show or reorder a category group. | Write |
pennywell_delete_category_group | Delete a group and its categories; their money returns to Ready to Assign this month. | Write, destructive |
pennywell_create_category | Create a category in a group. | Write |
pennywell_update_category | Rename, hide, show, reorder or move a category to another group. | Write |
pennywell_delete_category | Delete a category; its money returns to Ready to Assign this month. | Write, destructive |
pennywell_set_category_target | Give a category a savings or spending target, replacing any it had. | Write |
pennywell_delete_category_target | Remove a category's target. | Write, destructive |
pennywell_set_target_snoozed | Snooze a category's target for the current month, or lift the snooze. | Write |
Accounts
| Tool | What it does | Kind |
|---|---|---|
pennywell_list_accounts | Every account with its balances, grouped as the sidebar groups them. | Read |
pennywell_get_loan_schedule | A fixed-rate loan's amortisation schedule, payoff date and interest to date. | Read |
pennywell_get_loan | A loan's terms, its balance in parts, and every balance adjustment with its reason. | Read |
pennywell_create_account | Open an account, on budget or tracking, with an optional starting balance. | Write |
pennywell_update_account | Rename or reorder an account. | Write |
pennywell_set_account_closed | Close an account that holds no money, or reopen a closed one. | Write |
pennywell_delete_account | Delete a closed account that holds no money. | Write, destructive |
Transactions
| Tool | What it does | Kind |
|---|---|---|
pennywell_search_transactions | One page of the register, optionally for one account, matching a search term, carrying one flag, or only the rows that need review. | Read |
pennywell_get_transaction | One transaction, with its split legs. | Read |
pennywell_create_transaction | Record a transaction: a purchase, income, a transfer or a split. | Write |
pennywell_update_transaction | Change a transaction's category, payee, memo, amount, date, cleared state, flag, splits or approval. | Write |
pennywell_update_transactions | Approve, categorise, flag, mark cleared or change the payee of several transactions at once. | Write |
pennywell_delete_transaction | Delete a transaction. | Write, destructive |
pennywell_reject_transactions | Remove unapproved transactions a bank brought in, and keep later imports from bringing them back. | Write, destructive |
pennywell_list_flags | The six flag colours, each with the name this budget gives it. | Read |
pennywell_set_flag_name | Name one of the six flag colours, or forget its name. | Write |
pennywell_confirm_matches | Approve transactions an import matched to ones entered by hand, keeping each match. | Write |
pennywell_unmatch_transactions | Split matched transactions back into the one entered by hand and the bank's, which returns for review. | Write |
pennywell_pair_transfers | Link an outflow already in one account and its inflow already in another into one transfer. | Write |
Payees
| Tool | What it does | Kind |
|---|---|---|
pennywell_list_payees | Every payee, with the category its next transaction defaults to. | Read |
pennywell_set_payee_default_category | Teach, or forget, the category a payee's transactions default to. | Write |
Reports
| Tool | What it does | Kind |
|---|---|---|
pennywell_get_reports | Spending by category, income and expense by month, net worth and age of money over a window. | Read |
Imports
| Tool | What it does | Kind |
|---|---|---|
pennywell_list_import_profiles | The bank export formats a file import understands, and their columns. | Read |
pennywell_import_preview | Stage a pull from the Plaid connector and show what an import would do. Writes nothing. | Import, writes nothing |
pennywell_import_commit | Import a previewed Plaid pull with the person's decisions. | Import |
pennywell_import_file_preview | Stage bank export files (CSV text) and show what an import would do. Writes nothing. | Import, writes nothing |
pennywell_import_file_commit | Import previewed bank export files with the person's decisions. | Import |
How the tools talk
- Money is an integer count of milliunits, in answers and in arguments:
1000is $1.00, so-85380is −$85.38. Outflows are negative. - Months are
YYYY-MM, datesYYYY-MM-DD.pennywell_get_budget_infosays which month is “this month” for the person. - Every answer is JSON, as text and as
structuredContent. A refusal is{ "error": { "code", "message", "detail" } }with the same code the web app gets, so an agent can read what to change and try again. - The server's instructions — sent when a client connects — explain the budget's rules to the agent: Ready to Assign, income filed under Inflow: Ready to Assign, and why an assign names the amount it read.
- For advice,
pennywell_get_budgeting_guide— also the resourcepennywell://guide/budgeting— explains the envelope method as Pennywell implements it: Ready to Assign, overspending, credit cards, targets, and a routine to support.
Prompts
sync_bank_transactions— pull, review and import the bank's posted transactions.monthly_budget_review— Ready to Assign, overspending and underfunded targets, with moves proposed before any is made.categorize_uncategorized— suggest a category for each transaction that needs one, and apply the ones approved.
The Plaid-shuttle flow
Pennywell never touches Plaid's API for connector users. The agent shuttles the data:
- You connect your bank through Muse's first-party Plaid connector, and Pennywell through this one.
- You say “sync my bank transactions into Pennywell.” The agent pulls posted transactions from the Plaid connector.
- The agent calls
pennywell_import_previewwith the pull, every field verbatim. The server renders theplaid-transactionsCSV in memory and runs the real import pipeline over it. - The agent shows you the review buckets and asks about the ambiguous rows — new accounts to map, transfers to confirm, review-bucket decisions.
- You answer; the agent calls
pennywell_import_commitwith the same transactions plus your answers. The commit re-derives everything from those bytes, so a preview can never be smuggled past the server. - The agent reports back — e.g. via
pennywell_get_budget_month, your new Ready to Assign.
The transaction shape is Pennywell's plaid-transactions profile: plaid_transaction_id, plaid_account_id, institution, account_name, account_mask, account_type, account_subtype, date, amount, currency, merchant_name, name, pending, category_primary, category_detailed. Dedup is structural — the import id is plaid:<id> verbatim, so re-importing an overlapping pull is a no-op. Pending rows are skipped, never staged. Amounts use Plaid's sign convention (positive is money out); the server flips them before parsing. Export files a person hands over go through pennywell_import_file_preview and pennywell_import_file_commit the same way.
What the connector leaves to the web app
Signing in and API keys — an agent never mints a credential or manages accounts. Pennywell's own bank sync, which is the deployment owner's and spends their Plaid plan; connector users bring bank data through the Plaid shuttle above. And restoring a whole budget from a YNAB export, which replaces everything and is a file too large to pass through a tool call.
Rate limits
Per credential, per minute: 300 reads and protocol calls, 120 writes, and 60 import previews or commits. Past a limit the answer is 429 with a Retry-After header in seconds — wait that long and try again. The counters are kept per server instance, so treat them as a ceiling rather than a quota. A sync is one preview and one commit; categorising a month is one write per transaction.
Account requirements
A Pennywell account is required — the connector answers for the budget that credential owns, and nothing else. Sign-ups may be open or closed; when open, the standard plan covers every tool. No paid tier is needed. Regional availability: wherever the hosted deployment is reachable.
Example prompts
- “Sync my bank transactions into Pennywell.”
- “How much did I spend on dining in September?”
- “What's my Ready to Assign for October, and what's overspent?”
- “Move $50 from Dining Out to Groceries.”
- “Categorize everything from last week that still needs a category.”
- “Set a $200 monthly target for Car Maintenance.”
- “Find every transaction over $500 last month and tell me which categories they hit.”
- “Preview this month's bank transactions before I commit anything.”
Support
Fine print
Privacy policy, effective October 8, 2026 · Terms of service, effective October 3, 2026.