What is agentsocks?
agentsocks is a MCP server by Aelethion that claude Code and Codex sessions on one machine message each other and hand over tracked tasks, routed by what the receiver is doing. Nothing is typed into a terminal. The optional gateway. It is listed under Developer tools and has 1 GitHub stars.
| Type | Mcp server |
|---|---|
| Author | Aelethion |
| Repository | Aelethion/agentsocks |
| Popularity | 1 GitHub stars |
| Category | Developer tools |
| Security | Low risk (84/100) |
| Rank | #3,552 of 5,098 MCP servers; #678 in Developer tools |
| License | MIT |
| Last commit | 2026-11-24 |
| Runs | Locally |
| Language | TypeScript |
| Platforms | Linux |
Is agentsocks safe to install?
agentsocks scores 84/100 on the MCPMods security check: Low risk. Things to review: executes code or shell commands. It passed 4 of 6 checks.
MCP server results come from listing signals: who publishes it, where your data goes and what it can do. The code itself is not scanned yet.
| Check | Result |
|---|---|
| Community-built server | Note |
| Runs on your machine only | Pass |
| No credentials mentioned | Pass |
| Read-only by description | Pass |
| Executes code or shell commands | Review |
| Source on GitHub | Pass |
How do I install agentsocks?
- Find the launch command. The README says how the server starts (npx, uvx, docker or a remote URL) and which API keys it needs.
https://github.com/Aelethion/agentsocks
- Add it to Claude Code. Replace the part after -- with the command from the README. Remote servers use --transport http with a URL.
claude mcp add agentsocks -- <command from README> claude mcp add --transport http agentsocks <server-url>
- Check it connected. This lists your MCP servers and their status.
claude mcp list
Or ask Claude to set it up
Paste this into Claude Code and it installs agentsocks for you:
Add the "agentsocks" MCP server from https://github.com/Aelethion/agentsocks to Claude Code. Read its README for the launch command and any API keys I need, run claude mcp add, then check that it connects.