MCP Server (WIP)

Roadmap status for Model Context Protocol integration.

Overview

Trellis has MCP (Model Context Protocol) support in the codebase, but the standalone CLI entry point is not shipped yet. Do not use trellis mcp; the current CLI will report it as an unknown command.

Current Supported Path

trellis code --web --mcp-port 3333

This launches the OpenCode harness and starts MCP in the managed web mode used by the harness. A standalone trellis mcp command and published MCP configuration are tracked on the roadmap.

Planned Tools

ToolPurpose
trellis_statusBranch, op count, tracked files, recent ops
trellis_logOp history with optional filters
trellis_filesList all tracked files
trellis_branchList / create / switch / delete branches
trellis_milestoneList or create milestones
trellis_diffFile-level diff between op hashes
trellis_gardenList / search / stats / revive idea clusters
trellis_parseParse TS/JS content into AST entities
trellis_semantic_diffSemantic diff between file versions
trellis_initInitialize a new repository
trellis_issue_createCreate issue with metadata and criteria
trellis_issue_listList/filter issues
trellis_issue_startStart issue (auto-branch, auto-assign)
trellis_issue_pausePause issue
trellis_issue_resumeResume issue
trellis_issue_triageMove issue backlog → queue
trellis_issue_updateUpdate issue metadata
trellis_issue_checkRun acceptance criteria
trellis_issue_closeClose issue
trellis_decision_listList/filter decision traces
trellis_decision_showShow full decision trace
trellis_decision_chainTrace decisions affecting an entity

Configuration

Standalone .mcp.json configuration is WIP because there is no shipped trellis mcp command yet.