@coggit/mcp
v0.5.2
Published
CogGit MCP runtime: protocol registration, stdio entry, and prompt/tool assets.
Readme
@coggit/mcp
CogGit MCP runtime: a stdio MCP server exposing CogGit status, snapshot, add, and resolve as tools, plus cognition handbooks as prompts.
Peer dependency: @modelcontextprotocol/sdk (install it alongside this
package — embedders run an MCP SDK by definition).
Install
npm install @coggit/mcp @modelcontextprotocol/sdkUsage
Programmatic embedding:
import { createNodeCoggitServices } from '@coggit/runtime-node';
import { createCoggitMcpServer } from '@coggit/mcp';
const services = createNodeCoggitServices();
const server = createCoggitMcpServer(services, { toolsEnabled: true });
// connect the McpServer to your transportStandalone stdio binary (also available as npx coggit-mcp after install):
coggit-mcpSurface notes
- The
.export exposes onlycreateCoggitMcpServerandrunMcpStdio(seesrc/public.ts); tool/prompt assets and operation DTOs are internals.
Architecture, concepts, and workflow docs live in the repository root.
