MCP server
Agents and tools that speak MCP (Model Context Protocol) can drive Woolshed through woolshed mcp: the same commands and terminals as woolshed do and hc.
woolshed mcp is an MCP (Model Context Protocol) server on stdin/stdout, for agents and tools that speak MCP rather than a shell. Add it to the client as a command, woolshed mcp (no arguments; it uses WOOLSHED_HOME like the rest). It talks to the open window and to Woolshed Core the way woolshed do and hc do, and holds nothing of its own. Tools: woolshed_ls, woolshed_status, woolshed_commands {filter?}, woolshed_do {command, args?, window?} (any command here), woolshed_shot {window?} (a PNG of the window), terminal_ls, terminal_read {terminal, lines?}, terminal_send {terminal, text, if?, wait?}, terminal_keys {terminal, keys}, terminal_run {argv, name?, cwd?, on?, space?}, terminal_wait {terminal, output?, timeout?} and hc {args} (any hc command but attach and connect). Resources: woolshed://skill (woolshed --skill), woolshed://guide (this file) and hc://skill (hc --skill). The same rules apply as from a shell: create spaces and tabs only when asked.
Your agents read these same words: Woolshed writes this guide to ~/.config/woolshed/AGENTS.md on every start. In it, “you” is the agent and “the person” is you.