yats-toolkit 0.1.5 → 0.1.6
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 +20 -11
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -20,16 +20,12 @@ npx yats-toolkit
|
|
|
20
20
|
## How it works
|
|
21
21
|
|
|
22
22
|
```
|
|
23
|
-
Your code → Analyzer
|
|
24
|
-
↓
|
|
25
|
-
Neo4j (knowledge graph) + Qdrant (vectors)
|
|
26
|
-
↓
|
|
27
|
-
MCP Server → AI agent queries, not reads
|
|
23
|
+
Your code → Analyzer → Knowledge graph → MCP Server → AI agent queries
|
|
28
24
|
```
|
|
29
25
|
|
|
30
|
-
1. **Index** your repos
|
|
26
|
+
1. **Index** your repos — during setup, via CLI, or just ask your AI agent
|
|
31
27
|
2. **Configure** your AI agent with the MCP endpoint
|
|
32
|
-
3. **Ask** questions about your code — YATS answers
|
|
28
|
+
3. **Ask** questions about your code — YATS answers instantly
|
|
33
29
|
|
|
34
30
|
## Quick Start
|
|
35
31
|
|
|
@@ -38,17 +34,30 @@ Your code → Analyzer (AST) → Symbols + Relationships
|
|
|
38
34
|
npx yats-toolkit
|
|
39
35
|
|
|
40
36
|
# The wizard will:
|
|
41
|
-
# 1. Pull the YATS Docker image
|
|
42
|
-
# 2. Start
|
|
43
|
-
# 3.
|
|
37
|
+
# 1. Pull the YATS Docker image
|
|
38
|
+
# 2. Start the YATS MCP server
|
|
39
|
+
# 3. Optionally pre-index directories you select
|
|
40
|
+
# 4. Configure everything automatically
|
|
44
41
|
```
|
|
45
42
|
|
|
46
|
-
|
|
43
|
+
### Adding repositories
|
|
44
|
+
|
|
45
|
+
You can add repos in three ways:
|
|
46
|
+
|
|
47
|
+
**During setup** — the wizard asks if you want to pre-index any directories.
|
|
48
|
+
|
|
49
|
+
**From the terminal:**
|
|
47
50
|
```bash
|
|
48
51
|
yats index ~/work/backend
|
|
49
52
|
yats index ~/work/frontend
|
|
50
53
|
```
|
|
51
54
|
|
|
55
|
+
**From your AI agent** — just ask it to index a repo:
|
|
56
|
+
```
|
|
57
|
+
"index /home/user/my-project"
|
|
58
|
+
```
|
|
59
|
+
The agent will use the `index_repository` MCP tool, which tells it to run `yats index` and then polls until complete.
|
|
60
|
+
|
|
52
61
|
## MCP Configuration
|
|
53
62
|
|
|
54
63
|
Add this to your AI agent's MCP config:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "yats-toolkit",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.6",
|
|
4
4
|
"description": "YATS — Yet Another Token Saver. One-command MCP server that indexes your codebase into a knowledge graph so AI agents (Claude, Cursor, Copilot) can search and navigate it without burning tokens.",
|
|
5
5
|
"author": "Franco Vinciarelli <vinciarellifranco@gmail.com>",
|
|
6
6
|
"license": "MIT",
|