steam-review-mcp 1.0.0 → 1.0.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.
package/README.md CHANGED
@@ -14,12 +14,27 @@ Helps LLMs retrieve Steam game reviews and information:
14
14
 
15
15
  ## Installation
16
16
 
17
- Or run it directly with npx:
17
+ Run it directly with npx:
18
18
 
19
19
  ```bash
20
20
  npx steam-review-mcp
21
21
  ```
22
22
 
23
+ or add:
24
+
25
+ ```json
26
+ {
27
+ "mcpServers": {
28
+ "steam-review-mcp": {
29
+ "command": "npx",
30
+ "args": [
31
+ "steam-review-mcp"
32
+ ]
33
+ }
34
+ }
35
+ }
36
+ ```
37
+
23
38
  ## Usage
24
39
 
25
40
  ### Tools
package/README.zh.md CHANGED
@@ -14,12 +14,27 @@
14
14
 
15
15
  ## 安装
16
16
 
17
- 或者直接使用 npx 运行:
17
+ 直接使用 npx 运行:
18
18
 
19
19
  ```bash
20
20
  npx steam-review-mcp
21
21
  ```
22
22
 
23
+ 或自行添加:
24
+
25
+ ```json
26
+ {
27
+ "mcpServers": {
28
+ "steam-review-mcp": {
29
+ "command": "npx",
30
+ "args": [
31
+ "steam-review-mcp"
32
+ ]
33
+ }
34
+ }
35
+ }
36
+ ```
37
+
23
38
  ## 使用方法
24
39
 
25
40
  ### 工具 (Tools)
Binary file
package/build/index.js CHANGED
@@ -51,7 +51,7 @@ const SteamReviewParamsSchema = {
51
51
  num_per_page: z.number().default(50).describe("number of reviews to get, max 100, default 50"),
52
52
  };
53
53
  // Add the tool to get steam reviews
54
- server.tool("get_steam_review", SteamReviewParamsSchema, async (params) => {
54
+ server.tool("get_steam_review", "Retrieves reviews and game information for a specific Steam application. Returns formatted review data including review scores, positive/negative counts, review texts, and basic game information.", SteamReviewParamsSchema, async (params) => {
55
55
  try {
56
56
  // Fetch game reviews
57
57
  const reviewsUrl = new URL(`appreviews/${params.appid}`, STEAM_API_BASE);
@@ -94,12 +94,13 @@ server.tool("get_steam_review", SteamReviewParamsSchema, async (params) => {
94
94
  name: infoData[params.appid]?.data?.name,
95
95
  detailed_description: infoData[params.appid]?.data?.detailed_description
96
96
  };
97
- // Return combined result in the format expected by MCP
97
+ // To be compatible with models such as DeepSeek R1 and DeepSeek V3, convert the format
98
+ const formattedJsonData = JSON.stringify({ game_reviews, game_info }, null, 2);
98
99
  return {
99
100
  content: [
100
101
  {
101
102
  type: "text",
102
- text: JSON.stringify({ game_reviews, game_info }, null, 2)
103
+ text: formattedJsonData
103
104
  }
104
105
  ]
105
106
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "steam-review-mcp",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "Get reviews from steam store with appid",
5
5
  "main": "build/index.js",
6
6
  "type": "module",