Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

Kxm

MCP server by kontextmind Verified · npm:@kontextmind

KXM runs a local hub that lets coding agents such as Claude Code and Pi send durable, authenticated messages and run workflows. Agents can delegate bounded work to each other and check which peer replied. It is aimed at people who run several coding agents on one machine.

  • Score 82
  • 4 stars
  • 1.4k a week
  • MIT
  • Updated

Install Kxm

Built from the published package, never by AI.

claude mcp add kxm -- npx -y @kontextmind/kxm

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install Kxm in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the kxm block.

About

KXM is a local-first message and workflow plane for coding agents such as Claude Code and Pi. A local hub stores messages in SQLite, so requests survive restarts, agents authenticate with a project token, and retries are deduplicated by idempotency key. Agents can delegate bounded work to each other and see which peer answered.

Projects are defined as reviewable YAML in a .kxm directory in Git. The kxm CLI, a Claude Code plugin with MCP tools, and a Pi extension all work against the same hub. Workflow runs execute in a local Runtime, and a live dashboard shows agents, tasks and workflows. It suits people who run several coding agents on one machine.

Written from the project's README and checked against it.

Tools it gives your assistant

  • kxm_listLists the agents in the project, including the current session.
  • kxm_improvement_reportBuilds an improvement report from hub workflow journals. It only proposes changes.
  • Peer messagingDiscover peers, send requests, await replies and fan out to up to three peers.
  • Webhook workflowsStarts durable runs from signed Jira, GitHub or generic webhooks.
  • Provenance and quorum gatesCounts only replies the hub routed, from distinct eligible peers.
  • Trust reviewLists permission expansions in .kxm/ changes with kxm trust diff.
  • Harness routingChecks that a harness hosts the model before a live run dispatches.
  • Context and memoryBuilds role-aware context packets filled to a token budget.
  • Live dashboardShows agents, tasks, workflows, plans, inbox and processes with kxm dash.
  • Backup and restoreBacks up and restores KXM state with kxm backup and kxm restore.

What you need

  • Node.js 22.19 or newer on the 22.x line, or Node.js 24 or newer
  • Git
  • Claude Code

Try asking

  • Ask Claude to call kxm_list and show the agents in my project.
  • Ask one agent to send a request to a peer and wait for the reply.
  • Call kxm_improvement_report and summarize the proposed changes.

Good to know

  • The hub refuses to listen beyond loopback without a token.
  • Provenance proves which peers answered, not that their answers are right.
  • Some reseller and policy routing cases remain operator decisions.
  • Improvement features only propose changes. A person must merge them.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to Kxm

All alternatives →

Compare with Jitsu, Vexa or Linkedin MCP server

Kxm: common questions

Does KXM send my messages to a cloud service?

KXM runs on your machine, and the hub listens on loopback by default. Other machines reach a hub only through a configured route such as an SSH forward.

Can KXM confirm that an agent's answer is correct?

No. Quorum gates show which eligible peers answered for a run, stage and attempt, but not whether the answer is right.

Which Node.js versions does KXM need?

It needs Node.js 22.19 or newer on the 22.x line, or Node.js 24 or newer.

How do I install Kxm?

In Claude Code run claude mcp add kxm -- npx -y @kontextmind/kxm. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is Kxm the official server?

Kxm is published by npm:@kontextmind from its verified domain in the official MCP Registry.

Is Kxm free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is Kxm safe to use?

It scores 82 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to Kxm?

Similar MCP servers: Jitsu, Vexa, Linkedin MCP server, Netsapiens MCP.

Does Kxm work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

Add to stack

Loading.