原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

magents

作者:abnegate版本 0.14.2i★ –i在你的电脑上运行
注册名称io.github.abnegate/magents

安装

概览

作者提供的说明(英文原文)

Shared session bus for Claude, Codex, Copilot, Cursor, Gemini, AGY, Grok, and OpenCode.

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 其他

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 注册中心没有列出需要填写的密钥。

你需要

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "magents": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/abnegate/magents:0.14.2"
      ]
    }
  }
}

在终端中运行这条命令

claude mcp add magents -- docker run -i --rm ghcr.io/abnegate/magents:0.14.2

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "magents": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/abnegate/magents:0.14.2"
      ]
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "magents": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/abnegate/magents:0.14.2"
      ]
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 abnegate 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“其他”中的其他服务器比较i

  • 星标数多于此分类中其他 32718 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 32718 个服务器的 62% 更新
  • 基础检查结果等于或优于此分类中其他 32718 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

magents 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(0.14.2)于23天前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Docker。

有什么可以替代它?

同一分类中有:Spec Driven Development, Remote Desktop Commander, MemberVault MCP by usefulapi

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Spec Driven Development

作者:formulahendry

MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.

在你的电脑上运行★ 440MIT14个月前更新
安装

Remote Desktop Commander

作者:desktop-commander

Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.

在云端运行★ 211前天更新
安装

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

Claude Code, Codex, Copilot, Cursor, Gemini, AGY, Grok, and OpenCode already keep transcripts on disk. magents is the shared API over those sessions - an MCP server plus a small CLI - so one agent can pick up where another left off without you recapping, ping a *specific live chat* when you are not sitting in the middle, or start an independent persisted chat for a complete task.

It is not a second copy of history and not a fire-and-forget council. Existing chats stay the default unit of work; new chats are for independent work that benefits from its own session and working directory.

Install · Plugins · What you can do · Quick start · Tools · CLI · Releases

Why

You already run more than one coding agent. The pain is not "more models" - it is context trapped in another window.

PainWhat magents does
You switched hosts mid-taskRead the live session and continue *here*
Agent A hit a wall Agent B ownsInject into that live chat without you as the messenger
A subtask can run aloneSpawn a headless persisted session with a complete prompt + reply path

What you can do

1. Handoff without a new thread You were in Claude on the disaster-recovery branch. Now you are in Grok. Ask Grok what they were doing; it reads the live session and continues. No paste buffer. No "new chat, here's the context."

2. Send when you are not the messenger Three agents running. Claude hits a wall Codex owns. Claude injects into that Codex thread and keeps going - especially useful when the sender already has the failing query, file, and constraint you would otherwise reconstruct.

3. Spawn independent work When a task can proceed alone, start a new headless persisted session with a complete prompt, an isolated working directory when files could collide, and a request to reply through magents. Spawned agents keep their host's native approval policy - spawning does not add an approval bypass.

Install

Homebrew (macOS / Linux)
brew install abnegate/tap/magents

magents install --all

APT (Debian / Ubuntu)
curl -fsSL https://abnegate.github.io/apt-repo/pubkey.gpg | sudo gpg --dearmor -o /usr/share/keyrings/abnegate.gpg

echo "deb [signed-by=/usr/share/keyrings/abnegate.gpg] https://abnegate.github.io/apt-repo stable main" | sudo tee /etc/apt/sources.list.d/abnegate.list sudo apt update && sudo apt install magents magents install --all

Binary

From Releases:

curl -LSsf -o magents \

"https://github.com/abnegate/magents/releases/latest/download/magents-$(uname -m | sed 's/arm64/aarch64/')-$(uname -s | tr 'A-Z' 'a-z' | sed 's/darwin/apple-darwin/;s/linux/unknown-linux-musl/')" chmod +x magents ./magents install --all

Assets: magents-x86_64-unknown-linux-musl, magents-aarch64-unknown-linux-musl, magents-aarch64-apple-darwin, magents-x86_64-apple-darwin.

Container
docker pull ghcr.io/abnegate/magents:latest

docker run --rm --user "$(id -u):$(id -g)" \ -v "$HOME:$HOME" -e HOME \ ghcr.io/abnegate/magents list --live

Cargo
cargo install magents --locked

magents install --all

From source
cargo install --path .

magents install --all

Plugins

Host plugins package the magents skill plus an MCP entry that runs magents mcp. Install the CLI first (brew install abnegate/tap/magents), then load the matching folder under plugins/.

HostPath
Claude Codeplugins/claude
Codexplugins/codex
Cursorplugins/cursor
Gemini CLIrepo root (gemini-extension.json)
AGY CLI / Antigravityplugins/agy

Gemini CLI installs the extension straight from this repository:

gemini extensions install https://github.com/abnegate/magents

AGY CLI installs the plugin from plugins/agy (manifest, MCP, and skills):

agy plugin install https://github.com/abnegate/magents/plugins/agy

Details and marketplace notes: plugins/README.md.

Quick start

magents install --all registers the stdio MCP server with each installed host, skipping hosts whose required binaries are unavailable:

  • Grok (grok mcp add magents -- magents mcp)
  • Claude Code (claude mcp add --scope user magents -- magents mcp)
  • Codex (codex mcp add magents -- magents mcp)
  • Cursor (~/.cursor/mcp.json)
  • OpenCode ($XDG_CONFIG_HOME/opencode/opencode.json, default ~/.config/opencode)
  • Gemini CLI (gemini mcp add -s user magents magents mcp)
  • GitHub Copilot CLI (copilot mcp add magents -- magents mcp)
  • AGY CLI (agy mcp add magents magents mcp)

It also writes the magents and learn skills under supported hosts' skills directories (~/.grok/skills/{magents,learn}, ~/.claude/skills/{magents,learn}, ~/.cursor/skills/{magents,learn}, and the OpenCode / Gemini / AGY / Copilot equivalents). /learn reads every local agent's sessions, not only Grok.

For Grok and Codex only, point a host at the binary yourself:

[mcp_servers.magents]

command = "/path/to/magents" args = ["mcp"]

For Cline, open MCP Servers → Configure MCP Servers and add this to cline_mcp_settings.json:

{

"mcpServers": { "magents": { "command": "magents", "args": ["mcp"] } } }

Restart the agent session (or refresh /mcps) so the tools appear.

Try:

magents list --live

magents digest grok:latest magents handoff grok:latest --reason "continuing in grok"

Tools

ToolPurpose
list_sessionsLive and recent sessions; filter by cwd / branch
get_sessionLookup by id, title, live name, pid, or agent:ref
read_transcriptCompact inert handoff (last request, last action, recent turns)
search_transcriptsFull-text search across those transcripts
search_memoriesPhrase search over Claude / Codex / Grok memory markdown
create_memoryWrite a note into Claude / Codex / Grok first-party memory
spawn_sessionStart a new headless persisted session for independent work
send_messageDeliver a user turn to an existing chat
handoffCompact this session and inject it into another live chat
inbox / ack / await_reply / replyMailbox for cross-session replies
session_digestCompact last request / action / cwd / branch / clipped turns
files_touchedPaths another session edited
stop_sessionStop a magents-supervised spawn or resume
read_memoryRead one Claude / Codex / Grok memory markdown file
get_note / put_noteMagents-owned shared scratch for a working directory
whoamiDetect this connection; resolve session via env, socket, or unique cwd
learn_collectCollect compact records from every local agent's full history for /learn, or estimate a run
learn_stateRead or update /learn state, decisions, and trash

Refs can be prefixed: claude:disaster recovery, grok:latest, codex: , cursor:latest, opencode: , gemini:latest, agy: , copilot: .

CLI

magents list --live

magents list --agent grok --query edge magents get 'claude:disaster recovery' magents read grok:latest -n 20 magents digest grok:latest magents search "dedicated databases" --agent claude magents spawn codex --prompt-file /path/to/task.md --cwd /path/to/isolated-worktree magents send grok:latest "handoff: the DR runbook is in docs/RUNBOOK.md" magents handoff grok:latest --reason "continuing in grok" magents whoami magents learn estimate magents learn collect magents learn plan magents learn collect --since-last magents learn state

Pass --output json on any command for stable machine-readable stdout.

magents with no args on a piped stdin starts the MCP server.

magents spawn reads the complete task from stdin by default (--prompt-file supported). Prompt text is never a process argument.

How sessions talk

list_sessions / read_transcript / search_transcripts / search_memories are the handoff. create_memory writes into another harness's first-party memory (Claude, Codex, or Grok).

Choose the write path by where the work should happen:

  • `spawn_session` - new, headless, persisted, independent session. Complete task, verification, reply-through-magents, isolated cwd when edits could collide. Success means launch accepted (accepted: true, status: "starting"), not that the task finished.
  • `send_message` - existing session. Always records mailbox mail; injects a live user turn where the host supports one.
  • `handoff` - compact this session into an existing live session so that session continues the same work.
Delivery routes (existing chats)

send_message always appends to the mailbox, then prefers a native live path and otherwise starts a supervised headless resume:

SurfaceDelivery route
Claude DesktopUDS user turn (/tmp/cc-socks/ .sock), then tmux or supervised claude -p --verbose --resume
Claude CLIUDS when available, then tmux or supervised resume
GrokSupervised grok --cwd --resume --output-format streaming-json --prompt-file /dev/stdin
Codex Desktop / VS CodeLength-prefixed JSON-RPC on ~/.codex/ipc/ipc.sock, then supervised codex exec ... resume
Codex CLISupervised codex exec --json -C resume -
CursorSupervised cursor-agent -p --output-format stream-json --resume --workspace
OpenCodeSupervised opencode run --format json --session , started in the session cwd (with PWD set)
Gemini CLISupervised gemini --resume --output-format stream-json
AGY CLI / AntigravitySupervised agy --input-format stream-json --output-format stream-json --conversation
GitHub Copilot CLISupervised copilot --resume= --output-format json

Supervised routes pass the user turn through stdin and do not expose transcript text, tokens, or raw host output in the response. Spawn never adds approval bypasses (--dangerously-skip-permissions, --yolo, --full-auto, etc.).

Session discovery sources: Claude ~/.claude and ~/.claude-* (plus Desktop Claude / Claude-* session dirs), Grok ~/.grok/active_sessions.json, Codex sqlite + rollout JSONL, Cursor agent-transcripts, OpenCode SQLite (opencode.db and channel databases, v1 session and v2 session_v2 / session_message tables), Gemini journals, AGY CLI conversations / brain plus Antigravity desktop conversation_summaries, Copilot session-state. Claude sessions include a profile field when they come from a named home (work for ~/.claude-work). Resume and live inject use that home's CLAUDE_CONFIG_DIR.

Tests

cargo test --locked --all-targets

cargo llvm-cov --locked --all-targets --ignore-filename-regex 'src/main.rs|/rustlib/' --fail-under-lines 98

CI runs format, clippy (-D warnings), the full test suite, and a 98% line-coverage gate.

Requirements

  • Rust 1.97+
  • macOS or Linux (Claude UDS inject is Unix-only)

License

MIT

问 PopNx