Trek_CN/server/tests/unit/mcp
jubnl da39b570eb
feat(mcp): align MCP surface with current app state
- Add Journey addon tools (list, get, entries, contributors, suggestions,
  available trips, create/update/delete journey and entries, reorder,
  contributors CRUD, preferences, share link management)
- Add Journey resources (trek://journeys and sub-resources)
- Split transport (flight/train/car/cruise) into dedicated tools with
  endpoints[] and needs_review support; narrow reservation types to
  non-transport only
- Add airport lookup tools (search_airports, get_airport) under geo:read
- Add import_places_from_url and bulk_delete_places to places tools
- Add journey:read/write/share OAuth scopes (27 total) with translations
  across all 15 locales
- Default end_day to start_day when creating a transport (MCP + UI)
- Fix MCP.md drift: addon gates, removed files resource, corrected
  get_trip_summary description, todos under Packing addon
2026-04-19 16:03:32 +02:00
..
resources.test.ts refactor(mcp): replace direct DB access with service layer calls 2026-04-04 18:12:53 +02:00
scopes.test.ts feat(mcp): granular OAuth scopes and per-client rate limiting 2026-04-11 02:06:32 +02:00
sessionManager.test.ts test: add comprehensive coverage for OAuth scopes, MCP, and core services 2026-04-11 14:08:09 +02:00
tools-addon-gating.test.ts test(mcp): add tests for OAuth 2.1, addon gating, and budget reorder 2026-04-09 23:12:59 +02:00
tools-assignments-reservations-extra.test.ts refactor(mcp): extract all MCP tools into dedicated modules and add shared helpers 2026-04-09 18:09:33 +02:00
tools-assignments.test.ts refactor(mcp): replace direct DB access with service layer calls 2026-04-04 18:12:53 +02:00
tools-atlas-expanded.test.ts refactor(mcp): extract all MCP tools into dedicated modules and add shared helpers 2026-04-09 18:09:33 +02:00
tools-atlas.test.ts refactor(mcp): replace direct DB access with service layer calls 2026-04-04 18:12:53 +02:00
tools-budget-advanced.test.ts refactor(mcp): extract all MCP tools into dedicated modules and add shared helpers 2026-04-09 18:09:33 +02:00
tools-budget.test.ts refactor(mcp): replace direct DB access with service layer calls 2026-04-04 18:12:53 +02:00
tools-collab-polls-chat.test.ts refactor(mcp): extract all MCP tools into dedicated modules and add shared helpers 2026-04-09 18:09:33 +02:00
tools-days-accommodations.test.ts feat(mcp): granular OAuth scopes and per-client rate limiting 2026-04-11 02:06:32 +02:00
tools-days.test.ts refactor(mcp): replace direct DB access with service layer calls 2026-04-04 18:12:53 +02:00
tools-notes.test.ts refactor(mcp): replace direct DB access with service layer calls 2026-04-04 18:12:53 +02:00
tools-notifications.test.ts fix(mcp): remove all file tools and remove ability to delete notifications 2026-04-09 18:17:31 +02:00
tools-packing-advanced.test.ts refactor(mcp): extract all MCP tools into dedicated modules and add shared helpers 2026-04-09 18:09:33 +02:00
tools-packing.test.ts refactor(mcp): replace direct DB access with service layer calls 2026-04-04 18:12:53 +02:00
tools-places.test.ts feat(mcp): add list_places assignment filter for orphan activities 2026-04-09 12:45:09 +02:00
tools-prompts.test.ts test: add comprehensive coverage for OAuth scopes, MCP, and core services 2026-04-11 14:08:09 +02:00
tools-reservations.test.ts feat(mcp): align MCP surface with current app state 2026-04-19 16:03:32 +02:00
tools-tags-maps-weather.test.ts refactor(mcp): extract all MCP tools into dedicated modules and add shared helpers 2026-04-09 18:09:33 +02:00
tools-todos.test.ts refactor(mcp): extract all MCP tools into dedicated modules and add shared helpers 2026-04-09 18:09:33 +02:00
tools-trip-members.test.ts refactor(mcp): extract all MCP tools into dedicated modules and add shared helpers 2026-04-09 18:09:33 +02:00
tools-trips.test.ts test(mcp): add tests for OAuth 2.1, addon gating, and budget reorder 2026-04-09 23:12:59 +02:00
tools-vacay.test.ts refactor(mcp): extract all MCP tools into dedicated modules and add shared helpers 2026-04-09 18:09:33 +02:00