@unclick/mcp-server 0.2.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -9,6 +9,7 @@ import { cocPlayer, cocClan, cocClanMembers, crPlayer, crTopPlayers, bsPlayer, b
9
9
  import { legoSearchSets, legoGetSet, legoSetParts, legoSearchParts, legoThemes, bricksetSearch, bricksetGetSet, } from "./lego-tool.js";
10
10
  import { untappdSearchBeer, untappdGetBeer, untappdGetBrewery, untappdSearchBrewery, untappdBeerActivities, } from "./untappd-tool.js";
11
11
  import { esportsMatches, esportsTournaments, esportsTeams, esportsPlayers, esportsGetMatch, } from "./pandascore-tool.js";
12
+ import { bggSearch, bggGameDetails, bggUserCollection, bggTopGames, bggGameReviews, } from "./bgg-tool.js";
12
13
  // ─── Australian / Local ───────────────────────────────────────────────────────
13
14
  import { getAmberSites, getAmberCurrentPrice, getAmberForecast, } from "./amber-tool.js";
14
15
  import { getWillyweatherForecast, getWillyweatherSurf, getWillyweatherTide, } from "./willyweather-tool.js";
@@ -114,6 +115,64 @@ import { vaultAction } from "./vault-tool.js";
114
115
  // ADDITIONAL_TOOLS
115
116
  // ─────────────────────────────────────────────────────────────────────────────
116
117
  export const ADDITIONAL_TOOLS = [
118
+ // ── bgg-tool.ts ─────────────────────────────────────────────────────────────
119
+ {
120
+ name: "bgg_search",
121
+ description: "Search BoardGameGeek for board games by name.",
122
+ inputSchema: {
123
+ type: "object",
124
+ properties: {
125
+ query: { type: "string", description: "Game name to search for" },
126
+ type: { type: "string", enum: ["boardgame", "boardgameexpansion"], description: "Type of item to search for (default: boardgame)" },
127
+ },
128
+ required: ["query"],
129
+ },
130
+ },
131
+ {
132
+ name: "bgg_game_details",
133
+ description: "Get full details for a board game by its BGG ID — name, year, rating, players, playtime, description, categories, and mechanics.",
134
+ inputSchema: {
135
+ type: "object",
136
+ properties: {
137
+ gameId: { type: "string", description: "BoardGameGeek game ID" },
138
+ },
139
+ required: ["gameId"],
140
+ },
141
+ },
142
+ {
143
+ name: "bgg_user_collection",
144
+ description: "Get a BGG user's game collection filtered by status (owned, wishlist, or played).",
145
+ inputSchema: {
146
+ type: "object",
147
+ properties: {
148
+ username: { type: "string", description: "BGG username" },
149
+ status: { type: "string", enum: ["owned", "wishlist", "played"], description: "Collection filter (default: owned)" },
150
+ },
151
+ required: ["username"],
152
+ },
153
+ },
154
+ {
155
+ name: "bgg_top_games",
156
+ description: "Get the BGG Hotness list — the most discussed and active board games right now.",
157
+ inputSchema: {
158
+ type: "object",
159
+ properties: {
160
+ limit: { type: "number", description: "Number of games to return (max 50, default 20)" },
161
+ },
162
+ },
163
+ },
164
+ {
165
+ name: "bgg_game_reviews",
166
+ description: "Get user comments and ratings for a board game on BGG.",
167
+ inputSchema: {
168
+ type: "object",
169
+ properties: {
170
+ gameId: { type: "string", description: "BoardGameGeek game ID" },
171
+ page: { type: "number", description: "Page number (default 1, 25 comments per page)" },
172
+ },
173
+ required: ["gameId"],
174
+ },
175
+ },
117
176
  // ── rawg-tool.ts ────────────────────────────────────────────────────────────
118
177
  {
119
178
  name: "rawg_search_games",
@@ -5533,6 +5592,12 @@ export const ADDITIONAL_TOOLS = [
5533
5592
  // ADDITIONAL_HANDLERS
5534
5593
  // ─────────────────────────────────────────────────────────────────────────────
5535
5594
  export const ADDITIONAL_HANDLERS = {
5595
+ // bgg-tool.ts
5596
+ bgg_search: (args) => bggSearch(args),
5597
+ bgg_game_details: (args) => bggGameDetails(args),
5598
+ bgg_user_collection: (args) => bggUserCollection(args),
5599
+ bgg_top_games: (args) => bggTopGames(args),
5600
+ bgg_game_reviews: (args) => bggGameReviews(args),
5536
5601
  // rawg-tool.ts
5537
5602
  rawg_search_games: (args) => rawgSearchGames(args),
5538
5603
  rawg_get_game: (args) => rawgGetGame(args),