@aaronsb/kg-cli 0.6.1 → 0.6.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
@@ -4,10 +4,23 @@ CLI and MCP server for interacting with [Knowledge Graph System](https://github.
4
4
 
5
5
  ## Installation
6
6
 
7
+ **Global install (requires sudo or npm configured for user-local):**
7
8
  ```bash
8
9
  npm install -g @aaronsb/kg-cli
9
10
  ```
10
11
 
12
+ **User-local install (no sudo required):**
13
+ ```bash
14
+ npm install -g @aaronsb/kg-cli --prefix ~/.local
15
+ ```
16
+ Then ensure `~/.local/bin` is in your PATH.
17
+
18
+ **Run without installing:**
19
+ ```bash
20
+ npx @aaronsb/kg-cli health
21
+ npx @aaronsb/kg-cli search "query"
22
+ ```
23
+
11
24
  This installs two commands:
12
25
  - `kg` - Command-line interface for the knowledge graph
13
26
  - `kg-mcp-server` - MCP server for AI assistant integration
@@ -53,8 +66,24 @@ The MCP server allows AI assistants (like Claude) to interact with your knowledg
53
66
 
54
67
  ### Claude Desktop Configuration
55
68
 
56
- Add to `~/Library/Application Support/Claude/claude_desktop_config.json` (macOS) or equivalent:
69
+ Add to `~/Library/Application Support/Claude/claude_desktop_config.json` (macOS) or `~/.config/Claude/claude_desktop_config.json` (Linux):
57
70
 
71
+ ```json
72
+ {
73
+ "mcpServers": {
74
+ "knowledge-graph": {
75
+ "command": "npx",
76
+ "args": ["-p", "@aaronsb/kg-cli", "kg-mcp-server"],
77
+ "env": {
78
+ "KG_API_URL": "https://kg.example.com/api",
79
+ "KG_API_TOKEN": "your-token-here"
80
+ }
81
+ }
82
+ }
83
+ }
84
+ ```
85
+
86
+ Or if installed globally/user-local (simpler):
58
87
  ```json
59
88
  {
60
89
  "mcpServers": {
@@ -101,6 +130,13 @@ Or use environment variables:
101
130
  - Node.js 18+
102
131
  - A running Knowledge Graph System instance
103
132
 
133
+ ## Shell Alias (optional)
134
+
135
+ If using npx, add an alias to your shell profile:
136
+ ```bash
137
+ alias kg='npx @aaronsb/kg-cli'
138
+ ```
139
+
104
140
  ## Links
105
141
 
106
142
  - [Knowledge Graph System](https://github.com/aaronsb/knowledge-graph-system)
package/dist/version.d.ts CHANGED
@@ -3,8 +3,8 @@
3
3
  * Generated at build time - DO NOT EDIT
4
4
  */
5
5
  export declare const VERSION_INFO: {
6
- readonly tag: "v0.5.0-39-gcf334383";
7
- readonly commit: "cf334383";
8
- readonly buildTime: "2026-01-21T03:49:33.562Z";
6
+ readonly tag: "v0.5.0-41-g446c1344";
7
+ readonly commit: "446c1344";
8
+ readonly buildTime: "2026-01-21T03:58:00.407Z";
9
9
  };
10
10
  //# sourceMappingURL=version.d.ts.map
package/dist/version.js CHANGED
@@ -6,8 +6,8 @@
6
6
  Object.defineProperty(exports, "__esModule", { value: true });
7
7
  exports.VERSION_INFO = void 0;
8
8
  exports.VERSION_INFO = {
9
- tag: 'v0.5.0-39-gcf334383',
10
- commit: 'cf334383',
11
- buildTime: '2026-01-21T03:49:33.562Z',
9
+ tag: 'v0.5.0-41-g446c1344',
10
+ commit: '446c1344',
11
+ buildTime: '2026-01-21T03:58:00.407Z',
12
12
  };
13
13
  //# sourceMappingURL=version.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aaronsb/kg-cli",
3
- "version": "0.6.1",
3
+ "version": "0.6.2",
4
4
  "description": "Knowledge Graph CLI and MCP server - interact with knowledge graph systems",
5
5
  "main": "dist/index.js",
6
6
  "bin": {