Skip to content

MCP Tools

werk exposes its full capability surface through the Model Context Protocol (MCP). Start the server with:

Terminal window
werk mcp

This opens a stdio transport. Connect any MCP-compatible client (Claude Code, Claude Desktop, custom agents) to interact with the tension structure programmatically.

This reference is under construction. Tool schemas will be generated from the MCP server’s self-description.

Add to your MCP client configuration:

{
"mcpServers": {
"werk": {
"command": "werk",
"args": ["mcp"]
}
}
}

Tools that query tension state without mutation.

show, list, tree, stats, log, search

Tools that mutate tension state. Each creates a recorded gesture.

add, reality, desire, resolve, release, reopen, position, hold, move, split, merge, note, horizon, snooze, recur, epoch

Tools for workspace and configuration management.

config, flush, batch

  • Always use structured (JSON) output — the MCP tools return typed responses.
  • Read before writing. Use show or list to understand current state before proposing mutations.
  • Every mutation is a gesture. The logbase records what you did and when.
  • Respect the practitioner’s position sequence. Don’t reorder without being asked.