taru-mcp 0.1.0 → 0.1.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 +2 -7
- package/bin/taru-mcp.mjs +3 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -9,9 +9,7 @@ Zero dependencies. Pure Node.js. Works with any MCP client.
|
|
|
9
9
|
### Claude Code
|
|
10
10
|
|
|
11
11
|
```bash
|
|
12
|
-
claude mcp add taru -- npx -y taru-mcp
|
|
13
|
-
--url https://your-server.com \
|
|
14
|
-
--token xxv_your_token
|
|
12
|
+
claude mcp add taru -- npx -y taru-mcp --token xxv_your_token
|
|
15
13
|
|
|
16
14
|
# Copy the agent instructions to your project
|
|
17
15
|
cp node_modules/taru-mcp/samples/CLAUDE.md ./CLAUDE.md
|
|
@@ -20,9 +18,7 @@ cp node_modules/taru-mcp/samples/CLAUDE.md ./CLAUDE.md
|
|
|
20
18
|
### Codex (OpenAI)
|
|
21
19
|
|
|
22
20
|
```bash
|
|
23
|
-
codex mcp add taru -- npx -y taru-mcp
|
|
24
|
-
--url https://your-server.com \
|
|
25
|
-
--token xxv_your_token
|
|
21
|
+
codex mcp add taru -- npx -y taru-mcp --token xxv_your_token
|
|
26
22
|
|
|
27
23
|
# Copy the agent instructions to your project
|
|
28
24
|
cp node_modules/taru-mcp/samples/AGENTS.md ./AGENTS.md
|
|
@@ -43,7 +39,6 @@ These files teach the AI how to use taru tools, classify documents vs opinions,
|
|
|
43
39
|
|
|
44
40
|
| Flag | Env | Default | Description |
|
|
45
41
|
|------|-----|---------|-------------|
|
|
46
|
-
| `--url`, `-u` | `TARU_URL` | `http://localhost:9120` | Taru server URL |
|
|
47
42
|
| `--workspace-id`, `-w` | `TARU_WORKSPACE_ID` | `00000000-...0001` | Workspace UUID |
|
|
48
43
|
| `--token`, `-t` | `TARU_API_TOKEN` | — | API token (`xxv_...`) |
|
|
49
44
|
|
package/bin/taru-mcp.mjs
CHANGED
|
@@ -8,7 +8,7 @@ import { request as httpRequest } from "node:http";
|
|
|
8
8
|
// --- Parse args ---
|
|
9
9
|
|
|
10
10
|
const args = argv.slice(2);
|
|
11
|
-
let url = env.TARU_URL || "
|
|
11
|
+
let url = env.TARU_URL || "https://taru-api.arupa.io";
|
|
12
12
|
let workspaceId = env.TARU_WORKSPACE_ID || "00000000-0000-0000-0000-000000000001";
|
|
13
13
|
let token = env.TARU_API_TOKEN || "";
|
|
14
14
|
|
|
@@ -26,14 +26,13 @@ Usage:
|
|
|
26
26
|
npx taru-mcp [options]
|
|
27
27
|
|
|
28
28
|
Options:
|
|
29
|
-
--url, -u Taru server URL (env: TARU_URL, default: http://localhost:9120)
|
|
30
29
|
--workspace-id, -w Workspace UUID (env: TARU_WORKSPACE_ID)
|
|
31
30
|
--token, -t API token (env: TARU_API_TOKEN)
|
|
32
31
|
--help, -h Show this help
|
|
33
32
|
|
|
34
33
|
Examples:
|
|
35
|
-
claude mcp add taru -- npx -y taru-mcp --
|
|
36
|
-
codex mcp add taru -- npx -y taru-mcp
|
|
34
|
+
claude mcp add taru -- npx -y taru-mcp --token xxv_...
|
|
35
|
+
codex mcp add taru -- npx -y taru-mcp --token xxv_...
|
|
37
36
|
`);
|
|
38
37
|
process.exit(0);
|
|
39
38
|
}
|