Installation
Prerequisites
- Node.js >= 18.0.0
- npm >= 9.0.0
- A GitHub personal access token with
repo,project, andread:orgscopes - GitHub CLI (
gh) recommended for token management
Option 1: Claude Code Plugin (Recommended)
The plugin gives you the full ido4 experience: 21 intelligent skills for project intelligence and governance, 4 specialized agents, and automation hooks that fire after key transitions. The MCP server is auto-installed. No clone, no build:
# Set your GitHub tokenexport GITHUB_TOKEN=$(gh auth token)
# Add the marketplace and install/plugin marketplace add ido4-dev/ido4-plugins/plugin install ido4dev@ido4-pluginsOnce loaded, you’ll see ido4 tools available in Claude Code.
First time? Run /ido4dev:onboard — it auto-clones a demo codebase, creates a governed sandbox with embedded violations, and walks you through governance discovery in ~10 minutes. See the sandbox demo guide for details.
Already have a project? Run /ido4dev:init to initialize governance on your existing repository, or /ido4dev:health for a quick governance status check.
Option 2: Standalone MCP Server
Install the MCP server package directly:
npm install @ido4/mcpConfigure your MCP client (e.g., Claude Code, or any MCP-compatible environment):
{ "mcpServers": { "ido4": { "command": "npx", "args": ["@ido4/mcp"], "env": { "GITHUB_TOKEN": "ghp_your_token_here" } } }}Option 3: Core Library Only
For programmatic use or building custom integrations:
npm install @ido4/coreimport { ServiceContainer } from '@ido4/core';
const container = await ServiceContainer.create({ projectRoot: '/path/to/project', githubToken: process.env.GITHUB_TOKEN!,});
// Use any serviceconst status = await container.containerService.getContainerStatus('wave-001');const result = await container.taskService.validateTransition(42, 'start', actor);Option 4: Local Development (Plugin Contributors)
For developing the ido4dev plugin itself:
# Clone the plugin repogit clone https://github.com/ido4-dev/ido4dev.git
# Clone and build the MCP servergit clone https://github.com/ido4-dev/ido4.gitcd ido4-MCPnpm install && npm run build
# Launch Claude Code with local pluginclaude --plugin-dir ../ido4devGitHub Token Scopes
ido4 interacts with GitHub Projects V2 via the GraphQL API. Your token needs:
| Scope | Why |
|---|---|
repo | Read/write issues, PRs, and repository data |
project | Read/write GitHub Projects V2 |
read:org | Read organization data (for org-owned projects) |
Verifying Installation
After setup, verify everything works:
# In Claude Code with the plugin:> /ido4dev:health
# Or check project status:> What's the status of our project?# Claude will call get_project_status automaticallyWhich option should I choose?
| I want to… | Use |
|---|---|
| Get the full experience with skills, agents, and hooks | Option 1 — Claude Code Plugin |
| Use ido4 with Cursor, Windsurf, or another MCP client | Option 2 — Standalone MCP Server |
| Build custom tooling on top of ido4’s domain layer | Option 3 — Core Library |
| Contribute to the ido4dev plugin | Option 4 — Local Development |
Next Steps
- Quick Start — Initialize governance on your project
- Sandbox Demo — Try the interactive sandbox with embedded violations