MCP server · Chat
agentsocks MCP server
by Aelethion
Lets your Claude Code and Codex sessions on the same machine message each other and hand over tasks.
agentsocks is a small helper that lets the coding agents running on your computer talk to each other. If you have a Claude Code session open in one window and a Codex session open in another, they can send each other notes and questions without you copying and pasting anything. It is handy if you run more than one coding assistant at once and want them to stay in sync.
What is an MCP server? The 30-second version
On its own, your AI can only chat with you in the window you have open. An MCP server is a small helper program that gives your AI a new skill or a connection to something else. This one connects your AI to the other coding agent sessions running on your machine, so they can pass messages and tasks between them. When you ask your AI to tell another session something, this helper is what carries the message across.
What this MCP server does
You install agentsocks once, and it quietly wires itself into the coding agents you already use. After that, when you ask one session to send a message to another, your AI calls this helper, the helper finds the other session on your machine, and drops the message where that session will see it. The other session reads it the same way it reads anything else, so nothing gets typed into a terminal. You just see the reply show up in the chat, and the helper keeps track of who got what.
What you can do with it
- Send a message from one coding session to another
- Ask several sessions the same question and collect their answers
- Hand over a task with an owner, a state and a result
- See which sessions are running with a simple list command
- Post a note to a shared topic channel
- Watch messages move between sessions in a live view
Try asking your AI
- “Tell api-worker the migration is done and the new column is tenant_id”
- “Ask the other sessions what version of Node they are running”
- “Hand over the failing test fix to the codex-web session”
- “Send a message to the frontend session that the API change is live”
What it gives back to you
You get the replies in your chat, in plain text. If you asked several sessions a question, the answers come back together in one place. If you handed over a task, you can see its state and result. The helper also shows delivery notes like who received what, so you know the message landed.
Before you start
What you need
- Node.js 22.13 or later
- Claude Code 2.1.224 or later and/or Codex CLI 0.162 or later
- A terminal to run the install command once
Good to know
It only works between sessions on the same machine, it is built on features that can change when Claude Code or Codex updates, and the newer integrations and the gateway are experimental.
Install it with your AI
Add agentsocks MCP server to your AI, no technical skills needed
You don't install anything by hand. You copy one prompt, paste it into an AI that can work on your computer, and it checks, installs and connects the server for you, asking you when it needs something.
Sign in to get the install prompt
Members get a ready-made prompt that lets the Claude desktop app check agentsocks MCP server, install it and connect it for them, step by step. You don't need any technical skills: you copy, paste and answer a few questions. Your connected AI can also find and install any of the 5,044 MCP servers here for you.
Who it's for
Developers and tinkerers who run more than one coding assistant at the same time and want them to cooperate.





