AI Agent Setup

Configure MCP server for coding agent integration.

Step 1: Start MCP Server

Start the barkcli MCP server.

barkcli mcp

Step 2: Configure Your Agent

Add barkcli as an MCP server in your agent's config.

# For OpenCode (.opencode/config.json)
{
  "mcpServers": {
    "barkcli": {
      "command": "barkcli",
      "args": ["mcp"]
    }
  }
}

# For Claude Code (.claude/settings.json)
{
  "mcpServers": {
    "barkcli": {
      "command": "barkcli",
      "args": ["mcp"]
    }
  }
}

Step 3: Use MCP Tools

Your agent can now use 25+ barkcli tools.

# Agent can now:
# - List tasks: board_list, card_list
# - Create tasks: card_create
# - Search code: code_search
# - Get call graphs: callgraph_get
# - Register as agent: agent_register
← All Guides