Skip to content

clawket/mcp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@clawket/mcp

MCP (Model Context Protocol) server for Clawket.

An stdio server that lets an LLM pull context from Clawket's RAG store via tool calls — complementing the push-style injection that clawket performs at SessionStart.

Status

Pre-alpha. The server starts and completes the stdio handshake but does not expose tools yet.

Install

pnpm add @clawket/mcp

In most setups this package is installed automatically by the Clawket plugin, so you do not need to install it manually.

Run

Via the Clawket Claude Code plugin (recommended)

Installing the clawket plugin registers this server in .mcp.json and starts it on demand.

Manually

node dist/index.js

Planned tools

Tool Purpose
clawket_search_artifacts Semantic search over design documents and decisions
clawket_search_tasks Search tasks by text
clawket_find_similar_tasks Find similar past tasks and extract the decisions/issues they produced
clawket_get_task_context Aggregate a task's surrounding artifacts, relations, and comments
clawket_get_recent_decisions Return recent artifacts of type decision

Develop

pnpm install
pnpm build       # TypeScript -> dist/
pnpm dev         # watch mode

Daemon connection

  • Default: reads the port from ~/.cache/clawket/clawketd.port
  • Override: set CLAWKET_DAEMON_URL=http://localhost:PORT

Architecture

  • Read only — all state mutations go through the clawket CLI.
  • Decoupled — talks to @clawket/daemon over HTTP only; does not import daemon internals.
  • Pull — complements SessionStart push injection. Tools that return context already present in the session mark it with _already_injected so the LLM can dedupe.

License

MIT

About

@clawket/mcp — independent package

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors