Skip to content

feat: add local wishlist system with 6 new MCP tools#8

Open
gouchan wants to merge 1 commit intorigwild:mainfrom
gouchan:feat/local-wishlists
Open

feat: add local wishlist system with 6 new MCP tools#8
gouchan wants to merge 1 commit intorigwild:mainfrom
gouchan:feat/local-wishlists

Conversation

@gouchan
Copy link
Copy Markdown

@gouchan gouchan commented Mar 24, 2026

Adds a local JSON-backed wishlist layer on top of the existing cart tools.

New file: src/wishlist.ts

  • createWishlist, addToWishlist, getWishlist, listWishlists, removeFromWishlist, deleteWishlist
  • Auto-creates wishlist on add if it doesn't exist
  • ASIN deduplication per wishlist
  • Estimated total calculation per wishlist
  • Persists to wishlists.json (gitignored)

Updated: src/index.ts

  • Registers 6 new MCP tools wrapping the wishlist module

Updated: .gitignore

  • Adds wishlists.json

Adds a local JSON-backed wishlist layer on top of the existing cart tools.

New file: src/wishlist.ts
- createWishlist, addToWishlist, getWishlist, listWishlists,
  removeFromWishlist, deleteWishlist
- Auto-creates wishlist on add if it doesn't exist
- ASIN deduplication per wishlist
- Estimated total calculation per wishlist
- Persists to wishlists.json (gitignored)

Updated: src/index.ts
- Registers 6 new MCP tools wrapping the wishlist module

Updated: .gitignore
- Adds wishlists.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant