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.
Files changed (3) hide show
  1. package/README.md +6 -6
  2. package/package.json +1 -1
  3. 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 -- npx -y taru-mcp --url https://taru-api.arupa.io --token xxv_your_token
56
+ claude mcp add taru -- ./node_modules/.bin/taru-mcp --token xxv_your_token
57
57
 
58
58
  # Codex
59
- codex mcp add taru -- npx -y taru-mcp --url https://taru-api.arupa.io --token xxv_your_token
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": "npx",
71
- "args": ["-y", "taru-mcp", "--url", "https://taru-api.arupa.io", "--token", "xxv_your_token"]
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": "npx",
84
- "args": ["-y", "taru-mcp", "--url", "https://taru-api.arupa.io", "--token", "xxv_your_token"]
83
+ "command": "./node_modules/.bin/taru-mcp",
84
+ "args": ["--token", "xxv_your_token"]
85
85
  }
86
86
  }
87
87
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "taru-mcp",
3
- "version": "0.1.7",
3
+ "version": "0.1.8",
4
4
  "description": "MCP server for taru knowledge graph — connect Claude Code or Codex to your team's shared brain",
5
5
  "bin": {
6
6
  "taru-mcp": "./bin/taru-mcp.mjs"
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 -- npx -y taru-mcp --url "$URL"$token_args
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 -- npx -y taru-mcp --url $URL$token_args"
100
+ echo " Run this later: $cli mcp add taru -- $mcp_bin --url $URL$token_args"
99
101
  fi
100
102
  }
101
103