Basic information
About Magents MCP Server
Shared session bus for Claude Code, Codex, and Cursor
Magents is a MCP server in the Developer Tools category listed in the AddMCP.net directory, published by abnegate. It exposes 16 tools, including list_sessions, get_session, read_transcript, search_transcripts and more. Runtime: rust. License: MIT. The repository has 15 GitHub stars. Source code is hosted on github.com.
Setup
{
"mcpServers": {
"magents": {
"command": "docker",
"args": [
"pull",
"ghcr.io/abnegate/magents:latest"
]
}
}
}
{
"mcpServers": {
"magents": {
"command": "docker",
"args": [
"pull",
"ghcr.io/abnegate/magents:latest"
]
}
}
}
{
"servers": {
"magents": {
"command": "docker",
"args": [
"pull",
"ghcr.io/abnegate/magents:latest"
]
}
}
}
Magents MCP Server config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"magents": {
"command": "docker",
"args": [
"pull",
"ghcr.io/abnegate/magents:latest"
]
}
}
}
Magents MCP Server tools
- list_sessions — Live and recent sessions; filter by `cwd` / `branch`
- get_session — Lookup by id, title, live name, pid, or `agent:ref`
- read_transcript — Compact inert handoff (last request, last action, recent turns)
- search_transcripts — Full-text search across those transcripts
- search_memories — Phrase search over Claude / Codex / Grok memory markdown
- create_memory — Write a note into Claude / Codex / Grok first-party memory
- spawn_session — Start a new headless persisted session for independent work
- send_message — Deliver a user turn to an existing chat
- handoff — Compact this session and inject it into another live chat
- session_digest — Compact last request / action / cwd / branch / clipped turns
- files_touched — Paths another session edited
- stop_session — Stop a magents-supervised spawn or resume
- read_memory — Read one Claude / Codex / Grok memory markdown file
- whoami — Detect this connection; resolve session via env, socket, or unique cwd
- learn_collect — Collect compact records from every local agent's full history for `/learn`, or estimate a run
- learn_state — Read or update `/learn` state, decisions, and trash
Overview
What is Magents?
Shared session bus for Claude Code, Codex, and Cursor
How to use Magents?
The README includes setup instructions such as docker pull ghcr.io/abnegate/magents:latest.
Key features of Magents
- 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)
Use cases of Magents
- Connect an MCP-compatible client to this repository's service.
- Review the README-backed setup before enabling it in production.
Frequently asked questions
1 Where is the source code for Magents?
The source code is linked from the repository URL on this page.
2 Does Magents include a standard MCP config?
If the README contains a parseable MCP configuration block, it is shown in the Config tab.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In