@agent-context-kit/toolshed-server
v0.1.50
Published
MCP Toolshed server for agent-context-kit
Readme
@agent-context-kit/toolshed-server
stdio MCP server for agent-context-kit: reads your project’s manifest.yaml and serves L0/L1/L2 context as tools so LLMs fetch only what they need (Stripe-style Toolshed pattern).
Requirements: Node.js 18+. Run from the directory that contains manifest.yaml (or pass --manifest). Optional --profile <name> merges profiles.<name> from the manifest.
Install
npm install -g @agent-context-kit/toolshed-serverOr use with npx (no global install):
npx @agent-context-kit/toolshed-serverUsage
From your project root (where manifest.yaml lives):
toolshed-server
# or
npx @agent-context-kit/toolshed-serverCustom manifest path:
toolshed-server --manifest ./path/to/manifest.yamlProfile (manifest deep-merge):
toolshed-server --profile backendPaths inside manifest.yaml are resolved relative to the manifest file’s directory.
MCP client (e.g. Cursor, Claude Desktop)
Use an absolute path to manifest.yaml in the args — this is the most reliable approach regardless of which directory the editor starts the process from:
{
"mcpServers": {
"toolshed": {
"command": "npx",
"args": [
"-y",
"@agent-context-kit/toolshed-server",
"--manifest",
"/absolute/path/to/your/project/manifest.yaml"
]
}
}
}npx @agent-context-kit/cli setup generates this file automatically with the correct absolute path.
Add "--profile", "frontend" to args for a named profile.
If tool names clash with another server, set toolshed.tool_aliases in manifest.yaml.
Tools exposed
Read context
| Tool | Purpose |
| ----------------------------- | -------------------------------------------------- |
| get_project_identity | L0: values, architecture, glossary |
| get_guardrails | Blocked actions, approval list, allowed domains |
| get_rules | L1: policy + standards |
| get_learnings | L2: key learnings |
| get_spec | Feature spec from registry |
| list_registry | Feature list + status |
| lookup_glossary | Term lookup |
| get_prompt / list_prompts | Prompt templates (get_prompt supports variables) |
| search_context | Search configured context paths |
Validate & persist
| Tool | Purpose |
| ----------------------- | ----------------------------------------- |
| validate_context | Verify manifest paths exist |
| add_learning | Append to key-learnings.md |
| add_glossary_term | Append to glossary.md |
| update_feature_status | Update registry status in manifest.yaml |
Safety & verification
| Tool | Purpose |
| ------------------------ | --------------------------------------------------- |
| request_human_approval | Structured approval request |
| verify_action | Post-condition checks (files, commands, HTTP, JSON) |
The same surface is available from @agent-context-kit/langchain via createContextKitTools().
Scaffold a project
Use @agent-context-kit/cli (context-kit init) to generate manifest.yaml and docs/ from the official template.
License
MIT
