@teknologika/chisel-knowledge-mcp
v0.1.1
Published
Standalone MCP server and library for building and managing knowledge workspaces.
Readme
chisel-knowledge-mcp
Standalone MCP server and library for building and managing knowledge workspaces.
Canonical behavior documentation lives in docs/chisel-knowledge-mcp.md and is routed from docs/CANONICAL_DOCS.md.
Requirements
- Node.js 22 or newer
npm
Install
npm installLibrary usage
Import the workspace service and related types directly from the package root:
import { WorkspaceService, KnowledgeIndex } from '@teknologika/chisel-knowledge-mcp';The MCP server remains available from the server subpath and through the published binary.
Workspace Workflow
The workspace service and MCP server expose a deterministic inbox pipeline:
knowledge_get_next_inbox_filereturns the first unprocessed inbox file with its content.knowledge_get_dedupe_contextreturns search results from bothknowledge/andinbox/for a file-specific query.knowledge_compile_newwrites a new article intoknowledge/, updatesknowledge/index.md, appendsknowledge/log.md, and archives the source inbox file.knowledge_compile_extendwrites a revised article intoknowledge/, updates the article'sUpdatedentry inknowledge/index.md, appendsknowledge/log.md, and archives the source inbox file.
These tools are deterministic. The LLM that consumes the MCP server decides the article content and the dedupe outcome; the server only performs file and index updates.
Build
npm run buildType check
npx tsc --noEmitConfig
The server reads workspace configuration from:
~/.chisel/config.json
If the file does not exist, the server starts with zero configured workspaces and logs a warning to stderr. See config.example.json for the expected shape.
Claude Desktop
Use this MCP server with Claude Desktop by adding:
{
"mcpServers": {
"chisel-knowledge": {
"command": "npx",
"args": ["-y", "@teknologika/chisel-knowledge-mcp"]
}
}
}Notes
- Transport is stdio only.
- Logging goes to stderr so stdout stays reserved for MCP protocol messages.
- The binary is
chisel-knowledge-mcp. - The package root exports the library surface;
@teknologika/chisel-knowledge-mcp/serverresolves to the MCP server entry point.
