Start the MCP server for AI agent integration.
duh mcp
Starts a Model Context Protocol server on stdio. This allows AI agents (Claude Desktop, Claude Code, and other MCP-compatible clients) to use duh's consensus engine as a tool.
The server exposes three tools: duh_ask, duh_recall, and duh_threads.
See MCP Server for full configuration and usage details.
Run directly:
duh mcpAdd to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS):
{
"mcpServers": {
"duh": {
"command": "duh",
"args": ["mcp"]
}
}
}Add to .mcp.json in your project:
{
"mcpServers": {
"duh": {
"command": "duh",
"args": ["mcp"]
}
}
}- MCP Server -- Full MCP server guide with tool details