@mikoto_zero/minigame-open-mcp 1.1.0 → 1.1.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.
|
@@ -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,CAsV3C"}
|
|
@@ -10,7 +10,9 @@ export function getToolDefinitions() {
|
|
|
10
10
|
// 🎯 Workflow Guidance Tool
|
|
11
11
|
{
|
|
12
12
|
name: 'start_leaderboard_integration',
|
|
13
|
-
description:
|
|
13
|
+
description: `⚠️ DEPRECATED: Use Prompt "leaderboard-integration" instead for better experience.
|
|
14
|
+
|
|
15
|
+
START HERE when user asks about integrating leaderboards, implementing rankings, or "接入排行榜".
|
|
14
16
|
|
|
15
17
|
This tool guides the complete leaderboard integration workflow:
|
|
16
18
|
1. Check if leaderboards already exist on server
|
|
@@ -35,9 +37,10 @@ Use this as the first step for any leaderboard integration request.`,
|
|
|
35
37
|
}
|
|
36
38
|
},
|
|
37
39
|
// 📖 Core LeaderboardManager API Documentation Tools (one tool per API)
|
|
40
|
+
// ⚠️ DEPRECATED: Please use Resources instead for better performance
|
|
38
41
|
{
|
|
39
42
|
name: 'get_leaderboard_manager',
|
|
40
|
-
description: '
|
|
43
|
+
description: '⚠️ DEPRECATED: Use Resource "docs://leaderboard/api/get-manager" instead.\n\nGet documentation for tap.getLeaderboardManager() - how to obtain the LeaderboardManager instance.',
|
|
41
44
|
inputSchema: {
|
|
42
45
|
type: 'object',
|
|
43
46
|
properties: {}
|
|
@@ -45,7 +48,7 @@ Use this as the first step for any leaderboard integration request.`,
|
|
|
45
48
|
},
|
|
46
49
|
{
|
|
47
50
|
name: 'open_leaderboard',
|
|
48
|
-
description: '
|
|
51
|
+
description: '⚠️ DEPRECATED: Use Resource "docs://leaderboard/api/open" instead.\n\nGet documentation for leaderboardManager.openLeaderboard() - how to display the TapTap leaderboard UI.',
|
|
49
52
|
inputSchema: {
|
|
50
53
|
type: 'object',
|
|
51
54
|
properties: {}
|
|
@@ -53,7 +56,7 @@ Use this as the first step for any leaderboard integration request.`,
|
|
|
53
56
|
},
|
|
54
57
|
{
|
|
55
58
|
name: 'submit_scores',
|
|
56
|
-
description: '
|
|
59
|
+
description: '⚠️ DEPRECATED: Use Resource "docs://leaderboard/api/submit-scores" instead.\n\nGet documentation for leaderboardManager.submitScores() - how to submit player scores to leaderboards.',
|
|
57
60
|
inputSchema: {
|
|
58
61
|
type: 'object',
|
|
59
62
|
properties: {}
|
|
@@ -61,7 +64,7 @@ Use this as the first step for any leaderboard integration request.`,
|
|
|
61
64
|
},
|
|
62
65
|
{
|
|
63
66
|
name: 'load_leaderboard_scores',
|
|
64
|
-
description: '
|
|
67
|
+
description: '⚠️ DEPRECATED: Use Resource "docs://leaderboard/api/load-scores" instead.\n\nGet documentation for leaderboardManager.loadLeaderboardScores() - how to retrieve paginated leaderboard data.',
|
|
65
68
|
inputSchema: {
|
|
66
69
|
type: 'object',
|
|
67
70
|
properties: {}
|
|
@@ -69,7 +72,7 @@ Use this as the first step for any leaderboard integration request.`,
|
|
|
69
72
|
},
|
|
70
73
|
{
|
|
71
74
|
name: 'load_current_player_score',
|
|
72
|
-
description: '
|
|
75
|
+
description: '⚠️ DEPRECATED: Use Resource "docs://leaderboard/api/load-player-score" instead.\n\nGet documentation for leaderboardManager.loadCurrentPlayerLeaderboardScore() - how to get current player\'s score and rank.',
|
|
73
76
|
inputSchema: {
|
|
74
77
|
type: 'object',
|
|
75
78
|
properties: {}
|
|
@@ -77,7 +80,7 @@ Use this as the first step for any leaderboard integration request.`,
|
|
|
77
80
|
},
|
|
78
81
|
{
|
|
79
82
|
name: 'load_player_centered_scores',
|
|
80
|
-
description: '
|
|
83
|
+
description: '⚠️ DEPRECATED: Use Resource "docs://leaderboard/api/load-centered-scores" instead.\n\nGet documentation for leaderboardManager.loadPlayerCenteredScores() - how to load scores of players near current user.',
|
|
81
84
|
inputSchema: {
|
|
82
85
|
type: 'object',
|
|
83
86
|
properties: {}
|
|
@@ -100,7 +103,7 @@ Use this as the first step for any leaderboard integration request.`,
|
|
|
100
103
|
},
|
|
101
104
|
{
|
|
102
105
|
name: 'get_leaderboard_overview',
|
|
103
|
-
description: '
|
|
106
|
+
description: '⚠️ DEPRECATED: Use Resource "docs://leaderboard/overview" instead.\n\nGet comprehensive overview of all TapTap leaderboard APIs and features.',
|
|
104
107
|
inputSchema: {
|
|
105
108
|
type: 'object',
|
|
106
109
|
properties: {}
|
|
@@ -108,7 +111,7 @@ Use this as the first step for any leaderboard integration request.`,
|
|
|
108
111
|
},
|
|
109
112
|
{
|
|
110
113
|
name: 'get_leaderboard_patterns',
|
|
111
|
-
description: '
|
|
114
|
+
description: '⚠️ DEPRECATED: Use Resource "docs://leaderboard/patterns" instead.\n\nGet complete implementation examples and best practices for leaderboards.',
|
|
112
115
|
inputSchema: {
|
|
113
116
|
type: 'object',
|
|
114
117
|
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","sourceRo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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.1",
|
|
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",
|