Skip to main content
Glama

agent-kernel-mcp

One device package for all supported executors:

Piece

Role

agent-kernel-runner pair

Same pairing for DSH / Claude / Aider / OpenCode → connect.json

agent-kernel-runner

Outbound WSS — kernel pushes coding jobs

agent-kernel-mcp (stdio)

Same MCP tools in Claude / Aider / OpenCode / DSH

DSH plugin (optional)

Session Header UI + Host; still uses the same connect.json

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 running

Also 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.sh

Client

Config

Claude Code

.mcp.json → examples/claude.mcp.json

OpenCode

opencode.json → examples/opencode.json

Aider

--mcp-servers-file examples/aider.mcp.json

DSH

dsh plugin --profile web add file:… (cordis MCP entry)

Coding jobs

brief.executorId on the device:

Id

Spawns

dsh

DSH Host session RPC

claude-code

claude --print …

aider

aider --message …

opencode

opencode run --auto

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 tools
ak_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

    B3.4/5.0

    Scored across 12 tools

    Disambiguation4/5

    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.

    Naming Consistency3/5

    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.

    Tool Count5/5

    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.

    Completeness3/5

    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

    Related MCP Servers

    • F
      license
      Not graded
      quality
      B
      maintenance
      Enables 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.
      -
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables 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.
      2
      Apache 2.0