@pipeworx/mcp-guild-wars-2 0.1.2 → 0.2.0
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.
- package/README.md +17 -12
- package/bin/cli.js +55 -11
- package/lib/index.js +333 -0
- package/package.json +17 -16
- package/server.json +1 -1
- package/tools.json +162 -0
- package/src/index.ts +0 -1067
- package/src/server.ts +0 -45
- package/tsconfig.json +0 -18
package/tools.json
ADDED
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"name": "worlds",
|
|
4
|
+
"description": "Fetch Guild Wars 2 world (server) details by comma-separated IDs, or return the full index of world IDs; includes world name and population level.",
|
|
5
|
+
"inputSchema": {
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {
|
|
8
|
+
"ids": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"description": "Comma-sep ids; omit for index."
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"name": "items",
|
|
17
|
+
"description": "Fetch Guild Wars 2 item details by comma-separated IDs or by page; returns item name, type, rarity, level, vendor value, icon, and game flags.",
|
|
18
|
+
"inputSchema": {
|
|
19
|
+
"type": "object",
|
|
20
|
+
"properties": {
|
|
21
|
+
"ids": {
|
|
22
|
+
"type": "string"
|
|
23
|
+
},
|
|
24
|
+
"page": {
|
|
25
|
+
"type": "number"
|
|
26
|
+
},
|
|
27
|
+
"page_size": {
|
|
28
|
+
"type": "number"
|
|
29
|
+
},
|
|
30
|
+
"lang": {
|
|
31
|
+
"type": "string"
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"name": "achievements",
|
|
38
|
+
"description": "Fetch Guild Wars 2 achievement details by comma-separated IDs or by page; returns achievement name, description, category, tiers, point rewards, and prerequisites.",
|
|
39
|
+
"inputSchema": {
|
|
40
|
+
"type": "object",
|
|
41
|
+
"properties": {
|
|
42
|
+
"ids": {
|
|
43
|
+
"type": "string"
|
|
44
|
+
},
|
|
45
|
+
"page": {
|
|
46
|
+
"type": "number"
|
|
47
|
+
},
|
|
48
|
+
"page_size": {
|
|
49
|
+
"type": "number"
|
|
50
|
+
},
|
|
51
|
+
"lang": {
|
|
52
|
+
"type": "string"
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"name": "professions",
|
|
59
|
+
"description": "Professions.",
|
|
60
|
+
"inputSchema": {
|
|
61
|
+
"type": "object",
|
|
62
|
+
"properties": {
|
|
63
|
+
"ids": {
|
|
64
|
+
"type": "string"
|
|
65
|
+
},
|
|
66
|
+
"lang": {
|
|
67
|
+
"type": "string"
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"name": "currencies",
|
|
74
|
+
"description": "Currencies.",
|
|
75
|
+
"inputSchema": {
|
|
76
|
+
"type": "object",
|
|
77
|
+
"properties": {
|
|
78
|
+
"ids": {
|
|
79
|
+
"type": "string"
|
|
80
|
+
},
|
|
81
|
+
"lang": {
|
|
82
|
+
"type": "string"
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"name": "build",
|
|
89
|
+
"description": "Current build id.",
|
|
90
|
+
"inputSchema": {
|
|
91
|
+
"type": "object",
|
|
92
|
+
"properties": {}
|
|
93
|
+
}
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"name": "quaggans",
|
|
97
|
+
"description": "Quaggan images.",
|
|
98
|
+
"inputSchema": {
|
|
99
|
+
"type": "object",
|
|
100
|
+
"properties": {}
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"name": "wvw_matches",
|
|
105
|
+
"description": "Current WvW matches.",
|
|
106
|
+
"inputSchema": {
|
|
107
|
+
"type": "object",
|
|
108
|
+
"properties": {
|
|
109
|
+
"world": {
|
|
110
|
+
"type": "number"
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"name": "commerce_prices",
|
|
117
|
+
"description": "Bulk Guild Wars 2 Trading Post buy/sell quotes for many numeric item IDs at once; returns the raw copper unit_price and open quantity on each side for every ID passed. Use guild_wars_2_item_price for a single item looked up by its name with gold/silver/copper formatting.",
|
|
118
|
+
"inputSchema": {
|
|
119
|
+
"type": "object",
|
|
120
|
+
"properties": {
|
|
121
|
+
"ids": {
|
|
122
|
+
"type": "string",
|
|
123
|
+
"description": "Comma-separated numeric item IDs, e.g. \"19976,19721\"."
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
"name": "commerce_listings",
|
|
130
|
+
"description": "Guild Wars 2 Trading Post order-book depth for numeric item IDs; returns every standing buy and sell listing tier with its copper unit price, listing count, and quantity, so you can see how deep the book is at each price level.",
|
|
131
|
+
"inputSchema": {
|
|
132
|
+
"type": "object",
|
|
133
|
+
"properties": {
|
|
134
|
+
"ids": {
|
|
135
|
+
"type": "string",
|
|
136
|
+
"description": "Comma-separated numeric item IDs, e.g. \"19976\"."
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"name": "guild_wars_2_item_price",
|
|
143
|
+
"description": "Current Guild Wars 2 Trading Post price for one item, looked up by item name (e.g. \"Mystic Coin\", \"Glob of Ectoplasm\") or by numeric item_id. Answers \"what is X selling for\", \"how much is X worth right now\", \"what is the trading post price of X\". Returns the highest standing buy order and the lowest sell offer, the quantity available on each side, the buy/sell spread, and every price both as raw copper and as a readable gold/silver/copper string, plus the item name, rarity, type and icon. Prices are live Trading Post data from the official Guild Wars 2 API.",
|
|
144
|
+
"inputSchema": {
|
|
145
|
+
"type": "object",
|
|
146
|
+
"properties": {
|
|
147
|
+
"name": {
|
|
148
|
+
"type": "string",
|
|
149
|
+
"description": "Item name as it appears in game, e.g. \"Mystic Coin\"."
|
|
150
|
+
},
|
|
151
|
+
"item_id": {
|
|
152
|
+
"type": "number",
|
|
153
|
+
"description": "Numeric Guild Wars 2 item ID, e.g. 19976. Takes precedence over name."
|
|
154
|
+
},
|
|
155
|
+
"include_listings": {
|
|
156
|
+
"type": "boolean",
|
|
157
|
+
"description": "Set true to also return the top order-book tiers on each side (default false)."
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
]
|