@mac-claw/mcp 1.1.0 → 1.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 +5 -5
- package/package.json +1 -1
- package/server.js +2 -2
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @
|
|
1
|
+
# @mac-claw/mcp
|
|
2
2
|
|
|
3
3
|
MCP server for **Mac Claw** - AI-powered Mac mini / Mac Studio CtoC marketplace. 47 tools for items, market analysis, checkout, watches, inspections, notifications, and more.
|
|
4
4
|
|
|
@@ -11,7 +11,7 @@ Mac Claw (macclaw.jp) is a specialized CtoC marketplace for Mac mini and Mac Stu
|
|
|
11
11
|
### For Claude Code
|
|
12
12
|
|
|
13
13
|
```bash
|
|
14
|
-
claude mcp add macclaw -- npx -y @
|
|
14
|
+
claude mcp add macclaw -- npx -y @mac-claw/mcp
|
|
15
15
|
```
|
|
16
16
|
|
|
17
17
|
Then set the environment variable:
|
|
@@ -26,7 +26,7 @@ Or add to your MCP settings file (`~/.claude/mcp.json`):
|
|
|
26
26
|
"mcpServers": {
|
|
27
27
|
"macclaw": {
|
|
28
28
|
"command": "npx",
|
|
29
|
-
"args": ["-y", "@
|
|
29
|
+
"args": ["-y", "@mac-claw/mcp"],
|
|
30
30
|
"env": {
|
|
31
31
|
"MACCLAW_API_KEY": "mc_your_key_here"
|
|
32
32
|
}
|
|
@@ -44,7 +44,7 @@ Add to `.cursor/mcp.json` in your project:
|
|
|
44
44
|
"mcpServers": {
|
|
45
45
|
"macclaw": {
|
|
46
46
|
"command": "npx",
|
|
47
|
-
"args": ["-y", "@
|
|
47
|
+
"args": ["-y", "@mac-claw/mcp"],
|
|
48
48
|
"env": {
|
|
49
49
|
"MACCLAW_API_KEY": "mc_your_key_here"
|
|
50
50
|
}
|
|
@@ -58,7 +58,7 @@ Add to `.cursor/mcp.json` in your project:
|
|
|
58
58
|
Start the server in HTTP mode:
|
|
59
59
|
|
|
60
60
|
```bash
|
|
61
|
-
MACCLAW_API_KEY=mc_xxx MACCLAW_TRANSPORT=http MACCLAW_PORT=3006 npx @
|
|
61
|
+
MACCLAW_API_KEY=mc_xxx MACCLAW_TRANSPORT=http MACCLAW_PORT=3006 npx @mac-claw/mcp
|
|
62
62
|
```
|
|
63
63
|
|
|
64
64
|
Then connect to `http://localhost:3006/mcp`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mac-claw/mcp",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2.0",
|
|
4
4
|
"description": "MCP Server for Mac Claw - AI Mac Marketplace. 47 tools for items, market analysis, checkout, watches, inspections, notifications, and more.",
|
|
5
5
|
"main": "server.js",
|
|
6
6
|
"type": "module",
|
package/server.js
CHANGED
|
@@ -27,7 +27,7 @@ if (!API_KEY) {
|
|
|
27
27
|
const client = new MacClawApiClient(API_KEY, BASE_URL);
|
|
28
28
|
|
|
29
29
|
const server = new Server(
|
|
30
|
-
{ name: 'macclaw-mcp-server', version: '1.
|
|
30
|
+
{ name: 'macclaw-mcp-server', version: '1.2.0' },
|
|
31
31
|
{ capabilities: { tools: {} } }
|
|
32
32
|
);
|
|
33
33
|
|
|
@@ -890,7 +890,7 @@ async function main() {
|
|
|
890
890
|
// Health check
|
|
891
891
|
if (req.url === '/health') {
|
|
892
892
|
res.writeHead(200, { 'Content-Type': 'application/json' });
|
|
893
|
-
res.end(JSON.stringify({ status: 'ok', tools: TOOLS.length, version: '1.
|
|
893
|
+
res.end(JSON.stringify({ status: 'ok', tools: TOOLS.length, version: '1.2.0' }));
|
|
894
894
|
return;
|
|
895
895
|
}
|
|
896
896
|
|