{ "name": "opencode-handoff", "version": "1.0.0", "description": "OpenCode task handoff MCP server for Cline integration", "type": "stdio", "capabilities": { "tools": true }, "tools": [ { "name": "opencode-launch-task", "description": "Launch OpenCode session with task description. Cline should use this when task is well-defined with clear acceptance criteria.", "inputSchema": { "type": "object", "properties": { "projectPath": { "type": "string", "description": "Path to project directory (e.g., 'Linkding Browser Extension/LinkdingSync')" }, "task": { "type": "string", "description": "Task description for OpenCode to execute" }, "model": { "type": "string", "description": "Model to use (e.g., 'qwen3.5-9b', 'llama3.2')" }, "checkpoints": { "type": "object", "description": "Checkpoint settings for progress monitoring", "properties": { "checkAt50Percent": { "type": "boolean", "default": true, "description": "Check progress at 50% of estimated time" }, "checkAt90Percent": { "type": "boolean", "default": true, "description": "Check progress at 90% of estimated time" }, "rethinkThreshold2x": { "type": "boolean", "default": true, "description": "Re-evaluate at 2x estimated time" }, "rethinkThreshold3x": { "type": "boolean", "default": true, "description": "Strong re-think at 3x estimated time" } } } }, "required": ["projectPath", "task"] } }, { "name": "opencode-check-status", "description": "Check OpenCode session status and progress", "inputSchema": { "type": "object", "properties": { "sessionId": { "type": "string", "description": "Session ID to check (optional - defaults to last session)" } } } }, { "name": "opencode-rethink", "description": "Request OpenCode re-think when stuck. Use when time > 2x estimate or no progress.", "inputSchema": { "type": "object", "properties": { "reason": { "type": "string", "description": "Reason for re-think (e.g., 'no progress after 2x time', 'same error pattern >3 times')" }, "newApproach": { "type": "string", "description": "Suggested new approach if known" }, "updateAGENTSmd": { "type": "string", "description": "Additional context to add to AGENTS.md" } } } }, { "name": "opencode-complete-task", "description": "Mark OpenCode task as complete. Cline reviews diff and approves here.", "inputSchema": { "type": "object", "properties": { "changes": { "type": "array", "items": { "type": "object", "properties": { "file": {"type": "string"}, "summary": {"type": "string"} } }, "description": "Files changed by OpenCode" }, "approved": { "type": "boolean", "description": "Whether Cline approves these changes" }, "revisions": { "type": "array", "items": {"type": "string"}, "description": "Any revisions Cline recommends" } } } } ] }