@mikoto_zero/minigame-open-mcp 1.1.1 → 1.1.2
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toolDefinitions.d.ts","sourceRoot":"","sources":["../../src/config/toolDefinitions.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,IAAI,EAAE,MAAM,oCAAoC,CAAC;AAE1D;;GAEG;AACH,wBAAgB,kBAAkB,IAAI,IAAI,EAAE,
|
|
1
|
+
{"version":3,"file":"toolDefinitions.d.ts","sourceRoot":"","sources":["../../src/config/toolDefinitions.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,IAAI,EAAE,MAAM,oCAAoC,CAAC;AAE1D;;GAEG;AACH,wBAAgB,kBAAkB,IAAI,IAAI,EAAE,CAmV3C"}
|
|
@@ -10,9 +10,7 @@ export function getToolDefinitions() {
|
|
|
10
10
|
// 🎯 Workflow Guidance Tool
|
|
11
11
|
{
|
|
12
12
|
name: 'start_leaderboard_integration',
|
|
13
|
-
description:
|
|
14
|
-
|
|
15
|
-
START HERE when user asks about integrating leaderboards, implementing rankings, or "接入排行榜".
|
|
13
|
+
description: `START HERE when user asks about integrating leaderboards, implementing rankings, or "接入排行榜".
|
|
16
14
|
|
|
17
15
|
This tool guides the complete leaderboard integration workflow:
|
|
18
16
|
1. Check if leaderboards already exist on server
|
|
@@ -37,10 +35,9 @@ Use this as the first step for any leaderboard integration request.`,
|
|
|
37
35
|
}
|
|
38
36
|
},
|
|
39
37
|
// 📖 Core LeaderboardManager API Documentation Tools (one tool per API)
|
|
40
|
-
// ⚠️ DEPRECATED: Please use Resources instead for better performance
|
|
41
38
|
{
|
|
42
39
|
name: 'get_leaderboard_manager',
|
|
43
|
-
description: '
|
|
40
|
+
description: 'Get documentation for tap.getLeaderboardManager() - how to obtain the LeaderboardManager instance. Use this when user asks how to initialize or access the leaderboard system.',
|
|
44
41
|
inputSchema: {
|
|
45
42
|
type: 'object',
|
|
46
43
|
properties: {}
|
|
@@ -48,7 +45,7 @@ Use this as the first step for any leaderboard integration request.`,
|
|
|
48
45
|
},
|
|
49
46
|
{
|
|
50
47
|
name: 'open_leaderboard',
|
|
51
|
-
description: '
|
|
48
|
+
description: 'Get documentation for leaderboardManager.openLeaderboard() - how to display the TapTap leaderboard UI. Use this when user wants to show leaderboard interface to players.',
|
|
52
49
|
inputSchema: {
|
|
53
50
|
type: 'object',
|
|
54
51
|
properties: {}
|
|
@@ -56,7 +53,7 @@ Use this as the first step for any leaderboard integration request.`,
|
|
|
56
53
|
},
|
|
57
54
|
{
|
|
58
55
|
name: 'submit_scores',
|
|
59
|
-
description: '
|
|
56
|
+
description: 'Get documentation for leaderboardManager.submitScores() - how to submit player scores to leaderboards. Use this when user wants to upload scores or update rankings.',
|
|
60
57
|
inputSchema: {
|
|
61
58
|
type: 'object',
|
|
62
59
|
properties: {}
|
|
@@ -64,7 +61,7 @@ Use this as the first step for any leaderboard integration request.`,
|
|
|
64
61
|
},
|
|
65
62
|
{
|
|
66
63
|
name: 'load_leaderboard_scores',
|
|
67
|
-
description: '
|
|
64
|
+
description: 'Get documentation for leaderboardManager.loadLeaderboardScores() - how to retrieve paginated leaderboard data. Use this when user wants to fetch top scores or implement custom leaderboard UI.',
|
|
68
65
|
inputSchema: {
|
|
69
66
|
type: 'object',
|
|
70
67
|
properties: {}
|
|
@@ -72,7 +69,7 @@ Use this as the first step for any leaderboard integration request.`,
|
|
|
72
69
|
},
|
|
73
70
|
{
|
|
74
71
|
name: 'load_current_player_score',
|
|
75
|
-
description: '
|
|
72
|
+
description: 'Get documentation for leaderboardManager.loadCurrentPlayerLeaderboardScore() - how to get current player\'s score and rank. Use this when user wants to show player their own ranking.',
|
|
76
73
|
inputSchema: {
|
|
77
74
|
type: 'object',
|
|
78
75
|
properties: {}
|
|
@@ -80,7 +77,7 @@ Use this as the first step for any leaderboard integration request.`,
|
|
|
80
77
|
},
|
|
81
78
|
{
|
|
82
79
|
name: 'load_player_centered_scores',
|
|
83
|
-
description: '
|
|
80
|
+
description: 'Get documentation for leaderboardManager.loadPlayerCenteredScores() - how to load scores of players near current user. Use this when user wants to display surrounding competitors.',
|
|
84
81
|
inputSchema: {
|
|
85
82
|
type: 'object',
|
|
86
83
|
properties: {}
|
|
@@ -103,7 +100,7 @@ Use this as the first step for any leaderboard integration request.`,
|
|
|
103
100
|
},
|
|
104
101
|
{
|
|
105
102
|
name: 'get_leaderboard_overview',
|
|
106
|
-
description: '
|
|
103
|
+
description: 'Get comprehensive overview of all TapTap leaderboard APIs and features. Use this when user wants to understand what leaderboard functionality is available.',
|
|
107
104
|
inputSchema: {
|
|
108
105
|
type: 'object',
|
|
109
106
|
properties: {}
|
|
@@ -111,7 +108,7 @@ Use this as the first step for any leaderboard integration request.`,
|
|
|
111
108
|
},
|
|
112
109
|
{
|
|
113
110
|
name: 'get_leaderboard_patterns',
|
|
114
|
-
description: '
|
|
111
|
+
description: 'Get complete implementation examples and best practices for leaderboards. Use this when user wants to see full integration code or common usage patterns.',
|
|
115
112
|
inputSchema: {
|
|
116
113
|
type: 'object',
|
|
117
114
|
properties: {}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toolDefinitions.js","sourceRoot":"","sources":["../../src/config/toolDefinitions.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAIH;;GAEG;AACH,MAAM,UAAU,kBAAkB;IAChC,OAAO;QACL,4BAA4B;QAC5B;YACE,IAAI,EAAE,+BAA+B;YACrC,WAAW,EAAE
|
|
1
|
+
{"version":3,"file":"toolDefinitions.js","sourceRoot":"","sources":["../../src/config/toolDefinitions.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAIH;;GAEG;AACH,MAAM,UAAU,kBAAkB;IAChC,OAAO;QACL,4BAA4B;QAC5B;YACE,IAAI,EAAE,+BAA+B;YACrC,WAAW,EAAE;;;;;;;;;;;;;oEAaiD;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ACd,WAAW,EAAE,sEAAsE;qBACpF;oBACD,IAAI,EAAE;wBACJ,IAAI,EAAE,QAAQ;wBACd,WAAW,EAAE,kDAAkD;qBAChE;oBACD,SAAS,EAAE;wBACT,IAAI,EAAE,QAAQ;wBACd,WAAW,EAAE,yCAAyC;qBACvD;iBACF;aACF;SACF;QACD;YACE,IAAI,EAAE,qBAAqB;YAC3B,WAAW,EAAE;;;;;;;;;;;;4GAYyF;YACtG,WAAW,EAAE;gBACX,IAAI,EAAE,QAAQ;gBACd,UAAU,EAAE;oBACV,YAAY,EAAE;wBACZ,IAAI,EAAE,QAAQ;wBACd,WAAW,EAAE,+DAA+D;qBAC7E;oBACD,MAAM,EAAE;wBACN,IAAI,EAAE,QAAQ;wBACd,WAAW,EAAE,sEAAsE;qBACpF;oBACD,EAAE,EAAE;wBACF,IAAI,EAAE,QAAQ;wBACd,WAAW,EAAE,4DAA4D;qBAC1E;oBACD,OAAO,EAAE;wBACP,IAAI,EAAE,SAAS;wBACf,WAAW,EAAE,+HAA+H;qBAC7I;iBACF;gBACD,QAAQ,EAAE,CAAC,IAAI,EAAE,SAAS,CAAC;aAC5B;SACF;QAED,kDAAkD;QAClD;YACE,IAAI,EAAE,6BAA6B;YACnC,WAAW,EAAE,iNAAiN;YAC9N,WAAW,EAAE;gBACX,IAAI,EAAE,QAAQ;gBACd,UAAU,EAAE;oBACV,aAAa,EAAE;wBACb,IAAI,EAAE,QAAQ;wBACd,WAAW,EAAE,qGAAqG;qBACnH;oBACD,KAAK,EAAE;wBACL,IAAI,EAAE,QAAQ;wBACd,WAAW,EAAE,2DAA2D;wBACxE,OAAO,EAAE,EAAE;qBACZ;iBACF;aACF;SACF;KACF,CAAC;AACJ,CAAC"}
|
package/dist/server.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mikoto_zero/minigame-open-mcp",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "TapTap Minigame Open API MCP Server - Documentation and Management APIs for TapTap minigame (Leaderboard, and more features coming)",
|
|
6
6
|
"main": "dist/server.js",
|