taru-mcp 0.1.7 → 0.1.8
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 +6 -6
- package/package.json +1 -1
- package/setup.sh +4 -2
package/README.md
CHANGED
|
@@ -53,10 +53,10 @@ cp node_modules/taru-mcp/samples/AGENTS.md ./AGENTS.md
|
|
|
53
53
|
|
|
54
54
|
```bash
|
|
55
55
|
# Claude Code
|
|
56
|
-
claude mcp add taru --
|
|
56
|
+
claude mcp add taru -- ./node_modules/.bin/taru-mcp --token xxv_your_token
|
|
57
57
|
|
|
58
58
|
# Codex
|
|
59
|
-
codex mcp add taru --
|
|
59
|
+
codex mcp add taru -- ./node_modules/.bin/taru-mcp --token xxv_your_token
|
|
60
60
|
```
|
|
61
61
|
|
|
62
62
|
### 4. Or configure MCP manually
|
|
@@ -67,8 +67,8 @@ If `claude mcp add` doesn't work, create `.mcp.json` in your project root:
|
|
|
67
67
|
{
|
|
68
68
|
"mcpServers": {
|
|
69
69
|
"taru": {
|
|
70
|
-
"command": "
|
|
71
|
-
"args": ["
|
|
70
|
+
"command": "./node_modules/.bin/taru-mcp",
|
|
71
|
+
"args": ["--token", "xxv_your_token"]
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
}
|
|
@@ -80,8 +80,8 @@ For Claude Code global config (`~/.claude.json`):
|
|
|
80
80
|
{
|
|
81
81
|
"mcpServers": {
|
|
82
82
|
"taru": {
|
|
83
|
-
"command": "
|
|
84
|
-
"args": ["
|
|
83
|
+
"command": "./node_modules/.bin/taru-mcp",
|
|
84
|
+
"args": ["--token", "xxv_your_token"]
|
|
85
85
|
}
|
|
86
86
|
}
|
|
87
87
|
}
|
package/package.json
CHANGED
package/setup.sh
CHANGED
|
@@ -90,12 +90,14 @@ register_mcp() {
|
|
|
90
90
|
token_args=" --token $TOKEN"
|
|
91
91
|
fi
|
|
92
92
|
|
|
93
|
+
local mcp_bin="$(pwd)/node_modules/.bin/taru-mcp"
|
|
94
|
+
|
|
93
95
|
if command -v "$cli" &>/dev/null; then
|
|
94
96
|
echo "==> Registering MCP server with $cli..."
|
|
95
|
-
$cli mcp add taru --
|
|
97
|
+
$cli mcp add taru -- "$mcp_bin" --url "$URL"$token_args
|
|
96
98
|
else
|
|
97
99
|
echo "==> '$cli' not found, skipping MCP registration."
|
|
98
|
-
echo " Run this later: $cli mcp add taru --
|
|
100
|
+
echo " Run this later: $cli mcp add taru -- $mcp_bin --url $URL$token_args"
|
|
99
101
|
fi
|
|
100
102
|
}
|
|
101
103
|
|