Dalan
Allows Meta's Muse Spark client to connect as an AI worker that can claim queued Dalan jobs, work on granted tasks, report progress, and return results for acceptance or rejection.
Allows OpenAI-based worker clients such as Codex CLI and ChatGPT to connect as AI workers that claim queued Dalan jobs, perform requested tasks, and return reports or patches for review.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Dalan
Put your MCP-only agent to work on coding jobs from your Mac or Linux computer. The hosted agent is the worker: it connects to your local Dalan bridge over MCP and claims jobs you queue. With explicit repository grants and workspace setup, it can return findings or a patch for you to review. You decide whether to apply changes. Dalan does not run a model or start the agent.
Before you begin, install Node.js 24 or newer. Your agent's account must allow custom MCP connectors.
Just exploring? Run a temporary trial that gives your connected worker a text-only job:
npm install -g @tnunamak/dalan
dalan try --publicFollow the terminal instructions to add the connector and approve only the matching sign-in code. Paste the supplied prompt into your agent's chat. Success is a report returned to your terminal.
The public trial is text-only and grants no repository access. Keep private code and secrets out of it. It ends after three hours at most. Its public link can change or stop without warning. For a local-only trial that opens no public route, run dalan try --local. That mode may briefly grant its built-in self-check worker access to a synthetic repository created locally, not to your repositories. To connect a worker client by hand, see manual setup. For a persistent connection, use the installation steps below.
Stop a trial
Ctrl-C stops the bridge and asks Gozar to close the trial's recorded route. If Gozar cannot confirm removal, rerun the trial with the same --home DIR. Dalan checks the retained route before it asks Gozar for a new one.
A trial prints its own home. Set DALAN_HOME to that home before you run other dalan commands against the trial. On stop, Dalan removes the connector URL file and the bridge's secret file for temporary routes.
Install a persistent connection
This example names your hosted worker assistant; use that name consistently.
If you plan repository jobs, include --enable-workspace in the service install command below.
If you tried the temporary trial first, save any results you want (see service setup), stop it with Ctrl-C, and unset the trial's DALAN_HOME before you install:
unset DALAN_HOMEThe persistent service uses a fresh home and needs a new sign-in. Do not reuse the trial home.
npm install -g @tnunamak/dalan
dalan service install --worker assistant
dalan connect start --worker assistantAdd the private connector URL shown by Dalan to your agent's MCP settings and start sign-in. Compare the code shown in your client with the pending code in your terminal:
dalan connect pendingOnly if they match, replace CODE below with that code and approve:
dalan connect approve CODE --worker assistantKeep the connector URL and pairing codes private. You are ready to send a job when the client finishes sign-in.
Dalan runs as a user service. On macOS it starts at login and stops at logout. On Linux it follows the systemd user manager; starting before login needs administrator setup. Installing a service does not start your AI agent. On macOS, jobs run with --execution none.
Automatic updates are enabled by default. Updates that change the tools exposed to your agent require approval and a connector refresh. See service setup for diagnostics, update controls, other routes and recovery.
Related MCP server: coder-worker-mcp
Give your connected agent a job
In another terminal, send a text-only job to the worker you just connected. If you chose a name other than assistant, use it instead. --execution none lets the job run no commands on your computer; --deliver none sends the result nowhere except back to Dalan, where you read it:
dalan submit --worker assistant --execution none --deliver none --brief "Explain what a database index does. Do not read files, run commands or call external services."This first job needs no repository and returns a report, not a patch. Copy the request ID that Dalan prints. In the connected agent's chat, send this, replacing REQUEST_ID with that ID:
Use Dalan to claim job REQUEST_ID, follow its brief, report progress, and finish with your answer. Do not expand its permissions.
Queuing a job does not start the agent. After you have prompted it, replace REQUEST_ID with the same ID, then wait and read the result:
dalan wait REQUEST_ID
dalan get REQUEST_ID --jsonRead the answer in report.result and its outcome in report.outcome. A missing or null report means there is no report yet. A blocked or failed outcome is not a successful answer.
wait defaults to 300 seconds. Exit 0 means finished, 3 a question or blocker, 4 cancelled, 5 the worker is on a usage break, and 124 timed out with the job still open. After a nonzero exit, inspect the job with dalan get before you continue. Do not submit again only because the wait timed out.
Only after you read a finished answer and find it useful, record your decision:
dalan decide REQUEST_ID acceptedA finished job and an accepted result are separate steps. Acceptance records your review; it does not change your files.
The text-only job above returns no patch to apply. A later repository job can return one. Inspect it first, then replace REQUEST_ID with that job's ID and PATH with your local repository directory:
dalan apply REQUEST_ID --dir PATHSend jobs from your local agent
A local coding agent with a shell (Claude Code, Codex CLI) can be the requester. It runs dalan submit, wait, get and decide. The hosted agent, such as Muse, stays the worker: it connects over MCP and claims the job. The requester needs no MCP connection. Copy the instruction block into your agent's instructions.
Give a worker a repository job
The text-only job proves pairing and reporting, not coding access. Keep using the same persistent bridge home and connected worker from the installation above. Before submitting a repository job, install Git and Python 3.8 or newer on the bridge computer, provide a host GitHub credential that can read the repository, and enable workspace access for both the host and worker. Then grant only the repository below. A repository grant alone does not enable workspaces.
The manual setup guide creates a separate loopback bridge in a new home; it is not an upgrade path for your persistent service. If your existing service has no workspace access, stop before submitting a repository job. Reinstalling with --enable-workspace is refused because the saved service configuration must match; it cannot enable workspace access in place.
The first repository job below reads one file at a pinned commit. It does not edit files or run checks. The trial's synthetic repository self-check is not a grant for this job; use the persistent service and the explicit grant below.
Replace WORKER with your worker's name (assistant above) and OWNER/REPO with the repository:
dalan worker allow WORKER OWNER/REPO
dalan worker list WORKER --jsonRevoke access when the worker no longer needs it:
dalan worker deny WORKER OWNER/REPOFor a read-only repository job, replace the request ID (req_ plus a new lowercase UUID), repository and full commit SHA below. Choose a file that exists at that commit:
{
"schema_version": 1,
"request_id": "req_<new UUID>",
"brief": "Read README.md at the pinned commit and report its title. Do not run checks or change files.",
"inputs": [{"github_repo": "OWNER/REPO", "base_sha": "<full 40-character commit SHA>"}],
"expected_output": "README title and pinned revision; no patch or check claim.",
"scope_paths": ["README.md"],
"execution_scope": "read-only"
}Save it as repository-job.json. Replace WORKER as above, then submit:
dalan submit --worker WORKER --execution none --deliver none --file repository-job.json --jsonCopy the request ID that submit prints. In your connected hosted agent's chat, send this, replacing REQUEST_ID with that ID:
Use Dalan to claim job REQUEST_ID, follow its brief, report progress, and finish with your answer. Do not expand its permissions.
Queuing does not start the agent. After you have prompted it, use the same bridge home and request ID to wait and read the report:
dalan wait REQUEST_ID
dalan get REQUEST_ID --jsonInspect report.result and report.outcome. A missing or null report means there is no report yet; a blocked or failed outcome is not a successful answer. After a nonzero wait exit, inspect the job before continuing, as described for the first job above.
Pause here to review the finished report. Only if you find it useful, record acceptance:
dalan decide REQUEST_ID acceptedThe host's GitHub credential must be able to read the repository. For local clones, manual bridge setup and workspace configuration, see manual setup and the setup reference. Keep private repository credentials out of the job brief.
Connect any MCP worker
Any client that speaks HTTP MCP and completes the bridge's OAuth sign-in can be a worker. Start with the worker guide.
Client | Guide |
Any MCP client | |
Codex CLI | |
Claude Code | |
opencode | |
ChatGPT | |
Claude on the web |
Upgrade
For an installed service, follow service updates. Dalan checks daily by default; a tool-catalog change waits for your approval before switching and requires a refresh in each connected client.
For an older or manually managed installation, follow the upgrade guide. Before upgrading or restoring, use the backup and rollback instructions. Do not copy keys alone or mix files from different backups.
Reference
Replace REQUEST_ID with a job's ID.
Need | Command or guide |
Command help |
|
Trial options |
|
Bridge and queue state |
|
Job notices across all requesters on this host (last 72 hours by default) |
|
A full job record |
|
Host diagnostics |
|
File locations |
|
Cancel a job |
|
Run a bridge in the background | |
Upgrade or remove an installation | |
Release changes |
When asking for help, share the failing step and error. Do not share private connector URLs, pairing codes or credentials.
Licensed under Apache-2.0.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Public MCP for agent verification, work discovery and governed interoperability.
Control plane for autonomous software labor. Agents claim objectives over MCP with audit trail.
Agent-first task marketplace MCP — discover, claim, and deliver paid workspace tasks.
MCP Server for an Agent Task Marketplace
Related MCP Servers
- AlicenseNot gradedqualityFmaintenanceLets coding agents delegate bounded background tasks to OMP models via an MCP server, with job control, custom roles and agents.MIT
- -licenseNot gradedqualityNot gradedmaintenanceEnables MCP clients to securely execute bounded coding tasks through registered backends, with idempotent job submission, status polling, and artifact retrieval. It isolates each job in Git worktrees and supports optional branch publishing and pull request creation under strict policy constraints.-
- AlicenseNot gradedqualityBmaintenanceEnables repository-aware lifecycle management and controlled delegation of coding tasks to trusted worker harnesses via MCP, with execution isolation, recovery, and verified handoff.8Apache 2.0
- AlicenseBqualityBmaintenanceEnables AI agents to submit GPU job requests, select eligible workers, track execution, and retrieve results via MCP.1421MIT