Integrate barkcli with OpenCode via MCP. Give your AI agent full task context.
Configure MCP in your OpenCode config
Set barkcli as the MCP server
Agent reads tasks via MCP tools
Agent creates and updates tasks
{
"mcpServers": {
"barkcli": {
"command": "barkcli",
"args": ["mcp"]
}
}
}