@totemsdk/mcp-server 0.2.0 → 0.3.0

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
@@ -1,6 +1,6 @@
1
1
  # @totemsdk/mcp-server
2
2
 
3
- Model Context Protocol server exposing the full Totem SDK package set — 53 packages, 13k+ exports, cross-package dependency graphs, and scaffolding tools.
3
+ Model Context Protocol server exposing the full Totem SDK package set — packages, exports, cross-package dependency graphs, and scaffolding tools.
4
4
 
5
5
  ## Usage
6
6
 
@@ -52,6 +52,11 @@ The server runs on stdio and communicates via JSON-RPC.
52
52
  | `scaffold-package` | Generate new package boilerplate |
53
53
  | `package-stats` | Export counts, Rust/Go, tests, deps |
54
54
  | `list-exports` | List exports filtered by kind and name |
55
+ | `suggest-template` | Suggest KISSVM templates matching a use case |
56
+ | `read-source` | Read a source file from a package's `src/` |
57
+ | `list-packages` | List packages filtered by domain or name |
58
+ | `search-packages` | Free-text package search |
59
+ | `refresh-index` | Rebuild the SDK index (development only) |
55
60
 
56
61
  ## Prompts
57
62
 
@@ -62,7 +67,9 @@ The server runs on stdio and communicates via JSON-RPC.
62
67
 
63
68
  ## How it works
64
69
 
65
- At startup, the server scans all `@totemsdk/*` packages in the monorepo, parses `package.json` and `src/index.ts` to build an in-memory index of 53 packages and their exports. No runtime dependency on any `@totemsdk/*` package.
70
+ At startup, the server builds an in-memory index of every `@totemsdk/*` package and its exports. When run inside the SDK monorepo it scans `packages/*` live; when installed from npm (e.g. via `npx`) it loads the prebuilt index shipped in `data/sdk-index.json`. No runtime dependency on any `@totemsdk/*` package.
71
+
72
+ If neither is available the server stays running but index-backed tools return an explicit **"SDK index unavailable"** error — never an empty result that looks like a real answer.
66
73
 
67
74
  ## License
68
75