nokto-agent-orchestrator MCP server
OfficialClick on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@nokto-agent-orchestrator MCP serverFix the login bug and create a PR with tests"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
nokto-agent-orchestrator
Orchestrates Claude Code and OpenAI Codex in a controlled delivery workflow for code changes submitted through pull requests.
Each task is planned, validated, implemented in an isolated Git worktree, reviewed independently, and verified against the task's own test commands. Changes are never merged automatically.
The system is built and used in production by Nokto. Missing providers are reported as unavailable, failing tests stop the run, and model output that cannot be parsed is treated as an error.
Workflow
Planning Claude creates an implementation plan with read-only access and without modifying files.
Validation The plan is checked using static controls for allowed paths, hard-blocked areas, and secrets. It can also be evaluated by a language model against custom quality profiles through
AGENT_PROFILE_FILES.Isolation A separate Git worktree is created from a new branch using the naming format
agent/<id>-<attempt>. Agents never work directly in the main working copy.Implementation Codex is the primary implementer, with Claude as the fallback. Permitted implementation agents are controlled by
allowedImplementersin the task contract.Code review Claude reviews the diff independently and receives access only to the change itself, not the implementer's own summary.
Secondary review Codex performs an additional review in a read-only sandbox when Claude implemented the change, or when the primary review identified material findings.
Verification The commands in
testRequirements.commandsare executed in the worktree through an explicit command allowlist.Correction Verification failures and review findings are returned to the implementer as specific correction items.
Re-review and verification Steps 4–7 are repeated after corrections. The number of additional attempts is limited by
maxRetries.Pull request The diff is scanned for secrets, pushed, and opened as a pull request with a complete report containing the implementation plan, review findings, and verification results. The change must be merged by a human.
State is stored atomically after each step. An interrupted run can therefore resume from the exact last completed step.
All events are stored in an append-only JSONL audit log. Secrets are redacted before they are written to the log.
Related MCP server: github-workflow-mcp
Security
Control | Protection |
Argument-based process execution without | Prevents command injection structurally, without relying on text sanitization |
Binary allowlist | Restricts which tools agents can execute |
Git subcommand rules | Blocks destructive or high-risk Git operations |
Force-push blocking | Rejects |
Main branch protection | Prevents direct pushes to |
Worktree requirement | Rejects mutating Git operations outside an isolated worktree |
Secret scanning | Scans plans and diffs and blocks pull-request creation when secrets are detected |
Audit-log redaction | Removes secrets before events are stored |
Sandbox hard block | Rejects the Codex |
Runtime environment verification |
|
The following Git operations are always blocked:
git reset
git clean
git filter-branch
git filter-repo
git checkout -- <path>Allowed binaries include:
git
pnpm
npm
node
tsc
vitest
eslint
prettier
python3
pytestRequirements
Node.js 20 or later
pnpm 9
claudeCLI, installed and authenticated for planning and code reviewcodexCLI, installed for implementation and secondary reviewGITHUB_TOKENif the orchestrator should create pull requests automatically
Codex is optional. Claude can be used as the only implementer by specifying:
allowedImplementers:
- claudeCheck which providers and binaries are actually available in the environment:
nokto-agent doctordoctor checks the real binaries and reports missing dependencies without assuming availability.
Installation
Local development
pnpm install
cp .env.example .env
pnpm run build.env.example contains safe default values.
Installation from GitHub with npm
npm install github:noktohq/nokto-agent-orchestratorThe prepare script builds the package automatically when installed directly from Git.
Installation from GitHub with pnpm
pnpm add github:noktohq/nokto-agent-orchestratorpnpm blocks build scripts for Git dependencies by default. This is a pnpm security measure and must be approved explicitly.
Add the package to pnpm-workspace.yaml:
onlyBuiltDependencies:
- nokto-agent-orchestratorThen approve the build script:
pnpm approve-buildsThe repository is public on GitHub. The "private": true setting in package.json only prevents accidental publication to npm and does not affect the repository's visibility.
CLI
nokto-agent doctor
nokto-agent plan --task tasks/example.yaml
nokto-agent dry-run --task tasks/example.yaml
nokto-agent run --task tasks/example.yaml
nokto-agent status
nokto-agent status --task-id <id>
nokto-agent resume --task-id <id>
nokto-agent cancel --task-id <id>
nokto-agent review --task <file> --worktree <dir>
nokto-agent verify --task <file> --worktree <dir>The commands are used as follows:
Command | Purpose |
| Checks which providers and binaries are available |
| Creates an implementation plan without modifying files |
| Plans, validates, and creates a worktree without implementation or pull-request creation |
| Runs the complete delivery workflow |
| Displays all stored tasks |
| Displays the complete history of one task |
| Resumes an interrupted task |
| Cancels an active task |
| Performs a standalone code review |
| Performs standalone verification |
Run the CLI directly from the source code during development:
pnpm run cli -- <command>MCP server
The following seven operations are exposed as MCP tools over stdio:
agent_doctor
agent_plan_task
agent_run_task
agent_review_task
agent_get_status
agent_resume_task
agent_cancel_taskStart the built MCP server with:
node dist/mcp/server.jsStart the MCP server directly from the source code during development:
pnpm run mcpTask contract
Tasks are defined as YAML or JSON files and validated against a strict Zod schema in src/types.ts.
See tasks/example.yaml for a complete example.
Field | Purpose |
| Glob patterns for files and directories agents are permitted to modify |
| Glob patterns for files and directories that are always blocked |
| Requirements used to evaluate the implementation plan, review, and result |
| Commands executed through the allowlist during verification |
| Maximum number of correction attempts |
| Maximum runtime for the task |
| Implementation agents that may be used |
| Branch from which the worktree is created |
| Prefix used for task branches |
Plans and file changes outside the permitted scope are rejected.
Testing
Run the checks separately:
pnpm run lint
pnpm run format:check
pnpm run typecheck
pnpm run test
pnpm run buildRun the complete validation chain:
pnpm run lint && pnpm run format:check && pnpm run typecheck && pnpm run test && pnpm run buildThe project has 80 tests.
The worktree-isolation and verification tests use real Git repositories in temporary directories, not mocks.
Provider adapters are tested with mocked process execution. The standard test suite therefore performs no paid API calls.
A real integration test against claude -p is available through explicit opt-in:
RUN_LIVE_PROVIDER_TESTS=1Cost control
Every call to claude -p and codex exec is a real invocation that may incur costs.
The following settings limit resource usage:
AGENT_CLAUDE_MAX_BUDGET_USDlimits the cost per Claude invocationconstraints.maxRetrieslimits the number of implementation attemptsconstraints.timeoutMinuteslimits the runtime of each task
The total_cost_usd value reported by Claude CLI is recorded for each invocation.
Operations
See RUNBOOK.md for:
health checks
common failures
troubleshooting
cancellation
cleanup
incident handling
License
MIT © 2026 Nokto — nokto.no
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityCmaintenanceOrchestrates parallel Claude Code worker swarms with protocol-based behavioral governance for multi-hour autonomous coding sessions.Last updated83110MIT
- FlicenseAqualityDmaintenanceAutomates GitHub workflows (branch creation, testing, commit/push, PR) through natural language instructions in Claude Code.Last updated8
- Flicense-qualityDmaintenanceCoordinates multiple Claude Code agents to work collaboratively on projects with role-based task management, shared state, and automated code review.Last updated92
- AlicenseAqualityAmaintenanceBridges Claude Code and OpenAI Codex CLI for an interactive plan-execute-review workflow, enabling Claude to interview, design, and review while Codex implements code changes.Last updated71863MIT
Related MCP Connectors
AI code review for GitHub PRs with an MCP autofix loop for Claude Code and Cursor
Adaptive plan/build/review cycles for AI coding assistants, persisted across sessions.
Cross-agent artifact workspace with provenance across Claude Code, Codex, Cursor, LangGraph.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/noktohq/nokto-agent-orchestrator'
If you have feedback or need assistance with the MCP directory API, please join our Discord server