agent-kernel-mcp
Agent-kernel MCP server lets you inspect and control an agent-kernel control plane from any MCP client (Claude Code, OpenCode, Aider, DSH).
Health and auth:
ak_healthchecks API health;ak_meshows the current authenticated user and setup gaps.Projects:
ak_list_projectsandak_get_projectlist/read catalog projects.Assignments and scheduling:
ak_list_assignmentslists assignments;ak_nudgestarts/continues an executor run;ak_scheduler_tickruns one scheduler tick.Observability:
ak_attentionlists attention items;ak_list_runsandak_get_runlist/read run details.Executor management:
ak_test_executorlive-tests the configured executor;ak_executor_settingsreads user executor settings with secrets redacted.Through the paired runner and
brief.executorId, it can spawn coding jobs on executors such asdsh,claude-code,aider, andopencode.
Click on "Deploy 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., "@agent-kernel-mcp list my pending assignments and latest run statuses"
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.
agent-kernel-mcp
One device package for all supported executors:
Piece | Role |
| Same pairing for DSH / Claude / Aider / OpenCode → |
| Outbound WSS — kernel pushes coding jobs |
| Same MCP tools in Claude / Aider / OpenCode / DSH |
DSH plugin (optional) | Session Header UI + Host; still uses the same |
Pair (once) ──▶ connect.json ──▶ MCP tools (any client)
└──▶ WSS runner (jobs → dsh | claude | aider | opencode)Pair (identical everywhere)
# Kernel UI → Generate pairing code, then:
agent-kernel-runner pair --url https://YOUR_KERNEL --code ABCD-EFGH-IJKL
agent-kernel-runner # leave runningAlso writes ~/.dsh/agent-kernel/connect.json and ~/.agent-kernel/connect.json.
DSH Session Header → Pair still works (same claim API).
Related MCP server: agent-hub
MCP (same server, client-specific config)
pnpm build:mcp
bash examples/print-mcp-configs.shClient | Config |
Claude Code |
|
OpenCode |
|
Aider |
|
DSH |
|
Coding jobs
brief.executorId on the device:
Id | Spawns |
| DSH Host session RPC |
|
|
|
|
|
|
DSH plugin (web profile)
cd ~/Documents/Git/deepseek-harness
pnpm dsh plugin --profile web add github:fr4iser90/agent-kernel-mcp
pnpm dsh plugin --profile web add github:fr4iser90/agent-kernel-github-tools
pnpm dsh web --no-open # open the printed URL including ?token=...Requires current deepseek-harness (@deepseek-ai/dsh-client-store; the removed dsh-client-runtime API is no longer used). This repo ships a prebuilt lib/client.js — no local harness checkout needed to install.
Build
pnpm install
pnpm build # MCP + runner
pnpm build:runner
pnpm build:dsh # Host + browser client bundle (needs ../deepseek-harness)build:dsh copies this repo into deepseek-harness/packages/agent-kernel/mcp, runs tsc + tsdown there, and syncs lib/ back. Set DSH_HARNESS_ROOT if the harness checkout is not a sibling directory.
Available Tools
12 toolsak_attentionB
List observability attention items from agent-kernel.
Inputs: no named parameters.
ak_executor_settingsA
Read current user executor settings (secrets redacted by API).
Inputs: no named parameters.
ak_get_projectB
Get one project by id.
Inputs: projectId (required).
ak_get_runA
Get one run by id.
Inputs: runId (required).
ak_healthB
Check agent-kernel API health.
Inputs: no named parameters.
ak_list_assignmentsA
List assignments for the current user.
Inputs: no named parameters.
ak_list_projectsA
List catalog projects for the current user.
Inputs: no named parameters.
ak_list_runsB
List recent runs.
Inputs: no named parameters.
ak_meB
Current authenticated user / setup gaps.
Inputs: no named parameters.
ak_nudgeB
Nudge an assignment (kernel starts / continues an executor run). Prefer this over ad-hoc DSH autonomy when the control plane owns the schedule.
Inputs: assignmentId (required).
ak_scheduler_tickB
Run one agent-kernel scheduler tick (due assignments / nudges).
Inputs: no named parameters.
ak_test_executorB
Live-test the configured executor (DSH) from the kernel.
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 12 tools
Most tools clearly target distinct resources and actions, such as projects, assignments, runs, and health. The only mild ambiguity is between ak_nudge and ak_scheduler_tick, since both can trigger executor work, but their descriptions clarify the difference.
All tools share a consistent ak_ prefix and snake_case style, which helps readability. However, the set mixes verb_noun names like ak_list_projects with noun-only names like ak_health, ak_attention, and ak_me, so the pattern is not fully uniform.
12 tools is well within the ideal range and each tool serves a distinct operational area of the agent-kernel domain. The count feels appropriately scoped without redundancy or obvious bloat.
The surface covers listing and reading projects, assignments, and runs, plus scheduler and executor actions. Notable gaps include no way to update executor settings, cancel or retry runs, or get a single assignment by id, which limits full control-plane coverage.
Related MCP Connectors
Develop, manage, and debug Railway projects, services, and deployments from within agents.
Read a project's prompts, logs and agents, and send new work to the agent on your own machines.
Persistent memory, hybrid search and a goal graph for AI agents, over stdio or remote HTTP.
Hosted runtime for persistent agent teams, durable workflows, memory, schedules, and goals.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables an AI agent to run local tools on the user's own machine via stdio, including command execution, workspace file read/write, and system status checks.52MIT
- FlicenseNot gradedqualityBmaintenanceEnables MCP clients such as Claude Desktop or Claude Code to drive the local daemon through stdio, listing agents and sessions, running agents, and reporting costs.-
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to use an approved session to inspect capabilities, manage projects and memories, perform bounded reads, and make journaled changes through a stdio interface.1,229 npmMIT
- AlicenseNot gradedqualityBmaintenanceEnables compatible agents to call registered local tools and read resources through one stdio server, including harness preparation, knowledge search and document management, memory retention/recall, correction proposals, advisory decisions, tool/skill discovery, and log/source inspection.2Apache 2.0