whisper-money/tests/Feature/Settings
Víctor Falcón 14ab73dcfb feat(mcp): add read-only MCP server for Pro accounts
Expose a remote (streamable HTTP) MCP server so users can connect Whisper
Money to their own AI assistant (Claude web/desktop, Claude Code, ChatGPT)
to analyse their finances.

- Auth via Sanctum personal access tokens with MCP-only abilities
  (mcp:read / mcp:write); tokens are created, rotated and revoked from a new
  Settings -> MCP access page, with per-client connection instructions and a
  one-time secret reveal.
- Read tools: search_transactions, spending_by_category, get_cashflow,
  get_net_worth, list_accounts, list_categories, list_spaces. Transaction and
  listing tools are space-scoped (optional space arg, defaults to personal);
  the analytics tools reuse the existing user-scoped services/controllers.
- Pro-plan gating is enforced per request inside the tools, so a lapsed
  subscription stops working without the user revoking the token. Free users
  can still create tokens (marked PRO in the UI).

Write tools are intentionally out of scope for this PR (follow-up).
2026-07-17 15:17:40 +02:00
..
AccountPageTest.php Reorganize setting items 2025-11-07 18:23:08 +00:00
AccountTest.php feat(currencies): add Colombian and Dominican peso (#471) 2026-06-01 18:14:16 +02:00
BankTest.php refactor(api): standardize serialization via model $hidden (#492) 2026-06-05 13:57:34 +02:00
BudgetSettingsRedirectTest.php fix(settings): restore budgets settings redirect (#228) 2026-03-16 13:04:08 +01:00
CategoryTest.php refactor(api): standardize serialization via model $hidden (#492) 2026-06-05 13:57:34 +02:00
CategoryTreeTest.php feat: parent/child category tree (#474) 2026-06-03 19:30:12 +02:00
ChartColorSchemeTest.php fix: route new PWA guests to signup (#313) 2026-04-21 10:53:05 +01:00
DeleteAccountPageTest.php fix(account): block deletion while subscription or trial is active (#531) 2026-06-14 20:46:44 +02:00
McpTokenTest.php feat(mcp): add read-only MCP server for Pro accounts 2026-07-17 15:17:40 +02:00
NetWorthChartLoanPreferenceTest.php fix: route new PWA guests to signup (#313) 2026-04-21 10:53:05 +01:00
NetWorthChartRealEstatePreferenceTest.php fix: route new PWA guests to signup (#313) 2026-04-21 10:53:05 +01:00
NotificationPreferenceTest.php feat(settings): let users disable bank transactions email (#472) 2026-06-02 12:24:39 +02:00
PasswordUpdateTest.php E2E Encryption 2025-11-07 14:21:25 +00:00
ProfileUpdateTest.php fix(account): block deletion while subscription or trial is active (#531) 2026-06-14 20:46:44 +02:00
TimezoneTest.php fix: route new PWA guests to signup (#313) 2026-04-21 10:53:05 +01:00
TwoFactorAuthenticationTest.php E2E Encryption 2025-11-07 14:21:25 +00:00