Doriku

السجل الرسمي أدوات المطورين

Shared control plane for AI coding agents — tasks, memory, decisions, file locks. 12 tools.

التثبيت

أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: ‏.cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).

Remote (streamable-http)
Claude Code
claude mcp add --transport http doriku 'https://api.doriku.io/mcp' --header 'Authorization: <Bearer token for API authentication (format: Bearer drk_*)>'
إعداد JSON (Claude Desktop وCursor وVS Code)
{
    "mcpServers": {
        "doriku": {
            "type": "http",
            "url": "https://api.doriku.io/mcp",
            "headers": {
                "Authorization": "<Bearer token for API authentication (format: Bearer drk_*)>"
            }
        }
    }
}

التوثيق

مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.

المحتويات
  1. @doriku/cli
  2. Quick Start
  3. Installation
  4. Setup Flow
  5. What It Does
  6. Who This Is For
  7. CLI Reference
  8. Links
  9. License

@doriku/cli

The CLI for Doriku — an MCP-native governance plane for multi-IDE coding agents. Set up MCP config and Claude Code hooks, then manage workflows, file-lock policies, and cost caps from the terminal.


Quick Start

npx @doriku/cli setup

That's it. Your MCP server config and Claude Code hooks are ready.

Recommended next workflow (AI-friendly):

  1. Register your agent
  2. Create a task
  3. Log progress
  4. Update task status/result

Recommended first-value goal (15 minutes):

  1. Connect MCP successfully (connection test passes)
  2. Create one real engineering task
  3. Generate one summary snapshot
  4. Invite one teammate to review the shared state

See docs for MCP/API contracts, first-value onboarding, and recipe examples:

Installation

# Run directly (no install needed)
npx @doriku/cli setup

# Or install globally
npm install -g @doriku/cli
doriku setup

Setup Flow

  1. Sign in at doriku.io/console and create an API key
  2. Run the setup command
  3. Enter your API key when prompted — done!
Non-Interactive Mode
npx @doriku/cli setup --token drk_live_your_key_here --yes

What It Does

StepDescription
MCP ConfigurationWrites .mcp.json with your Doriku server config (merges with existing servers)
Claude Code HooksInstalls hooks in ~/.claude/settings.json for automatic task sync
Connection TestVerifies your API key works against the Doriku API
Workflow ManagementList, run, monitor, and cancel multi-step agent workflows
Lock PoliciesDefine and inspect file-lock policies to prevent agent conflicts
Cost CapsView and set workspace-level daily token spend limits

Doriku also exposes AI-friendly MCP/REST contracts (structured MCP errors, machine-readable REST error fields, and a core OpenAPI spec) to make agent retries and recovery easier.

Who This Is For

  • Solo developers and teams using Claude Code, Cursor, or Windsurf in parallel
  • Anyone who needs governance (file locks, cost caps, audit trails) across multi-IDE agents
  • Teams that need approvals, auditability, and operational visibility across agent work

CLI Reference

Usage: doriku <command> [options]

Commands:
  setup                     Configure MCP and Claude Code hooks
  workflow <subcommand>     Manage workflow definitions and runs
  lock <subcommand>         Manage file-lock policies
  cost <subcommand>         Manage workspace cost caps

Options:
  --token <key>      API key (drk_live_...)
  --yes, -y          Non-interactive mode (accept all defaults)
  --skip-hooks       Skip Claude Code hook installation
  --skip-test        Skip connection test
  -d, --dir <path>   Target directory for .mcp.json (default: cwd)
  --api-url <url>    API base URL (default: https://api.doriku.io)
  --help, -h         Show help
  --version, -v      Show version
Workflow Subcommands
doriku workflow list                 # List all workflow definitions
doriku workflow run <slug>           # Start a workflow run
doriku workflow status <runId>       # Show run status and step summary
doriku workflow logs <runId>         # Show step-level timeline
doriku workflow cancel <runId>       # Cancel an in-progress run
Lock Subcommands
doriku lock list                     # List all file-lock policies
doriku lock policy                   # Define a new policy (interactive)
Cost Subcommands
doriku cost status                   # Show current cost cap config and today's usage
doriku cost set                      # Set daily token cap (interactive)

License

MIT

الأسئلة الشائعة

ما هو Doriku؟

Shared control plane for AI coding agents — tasks, memory, decisions, file locks. 12 tools.

كيف أثبّت Doriku؟

يعمل كخادم بعيد. في Claude Code: claude mcp add --transport http doriku 'https://api.doriku.io/mcp' --header 'Authorization: <Bearer token for API authentication (format: Bearer drk_*)>'. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.

هل يحتاج Doriku إلى مفتاح API؟

نعم. يتطلب Authorization، وتضبطها في إعداداته.

هل Doriku مفتوح المصدر؟

شيفرته علنية على GitHub، لكن المستودع لا يعلن ترخيصًا قياسيًا.

من يصون Doriku؟

ينشره doriku-io. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.

من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.