@totemsdk/mcp-server
v0.1.0
Published
MCP server exposing the full Totem SDK package set — metadata, types, exports, dependency graphs, and scaffolding tools for 53 packages
Maintainers
Readme
@totemsdk/mcp-server
Model Context Protocol server exposing the full Totem SDK package set — 53 packages, 13k+ exports, cross-package dependency graphs, and scaffolding tools.
Usage
Claude Desktop
Add to claude_desktop_config.json:
{
"mcpServers": {
"totemsdk": {
"command": "npx",
"args": ["-y", "@totemsdk/mcp-server"]
}
}
}Any MCP client
npx -y @totemsdk/mcp-serverThe server runs on stdio and communicates via JSON-RPC.
Resources
| URI | Description |
|-----|-------------|
| totemsdk://packages | All packages with metadata |
| totemsdk://packages/{name} | Package metadata (deps, exports, domain) |
| totemsdk://packages/{name}/exports | Exported symbols |
| totemsdk://packages/{name}/dependencies | Dependency lists |
| totemsdk://packages/by-domain/{layer} | Packages in a domain |
| totemsdk://conventions | Coding conventions |
| totemsdk://domain-map | Packages grouped by domain |
| totemsdk://symbol/{name} | Symbol locations across packages |
Tools
| Tool | Description |
|------|-------------|
| search-symbol | Find which packages export a symbol |
| find-type | Locate type definitions by name pattern |
| dependency-graph | Get outbound deps or inbound dependents |
| validate-import | Check if a cross-package import is valid |
| scaffold-adapter | Generate edge protocol adapter boilerplate |
| scaffold-package | Generate new package boilerplate |
| package-stats | Export counts, Rust/Go, tests, deps |
| list-exports | List exports filtered by kind and name |
Prompts
| Prompt | Description |
|--------|-------------|
| analyze-cross-package | Compare two packages' relationship |
| new-edge-adapter | Walk through creating a protocol adapter |
How it works
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.
License
MIT
