# agentsocks MCP server

> Enables Claude Code and Codex sessions to message each other, share tasks, and coordinate work without terminal input.

- Repository: https://github.com/Aelethion/agentsocks
- Page: https://hostedmcp.org/servers/aelethion/agentsocks
- Transport: stdio
- Stars: 1
- License: MIT
- Latest version: 0.4.0

## Install

### Claude Code

```sh
claude mcp add agentsocks -- npx -y agentsocks
```

### Cursor (`~/.cursor/mcp.json`)

```json
{
  "mcpServers": {
    "agentsocks": {
      "command": "npx",
      "args": [
        "-y",
        "agentsocks"
      ]
    }
  }
}
```

### VS Code (`.vscode/mcp.json`)

```json
{
  "servers": {
    "agentsocks": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "agentsocks"
      ]
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"agentsocks","type":"stdio","command":"npx","args":["-y","agentsocks"]}'
```

### Claude Desktop (`claude_desktop_config.json`)

```json
{
  "mcpServers": {
    "agentsocks": {
      "command": "npx",
      "args": [
        "-y",
        "agentsocks"
      ]
    }
  }
}
```

### Codex

```sh
codex mcp add agentsocks -- npx -y agentsocks
```

### Codex config.toml (`~/.codex/config.toml`)

```toml
[mcp_servers.agentsocks]
command = "npx"
args = ["-y", "agentsocks"]
```

### Gemini CLI

```sh
gemini mcp add -s user agentsocks npx -- -y agentsocks
```

### Gemini settings.json (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "agentsocks": {
      "command": "npx",
      "args": [
        "-y",
        "agentsocks"
      ]
    }
  }
}
```

## FAQ

### Does agentsocks require typing into the terminal to communicate?

No, messages arrive through existing tool channels so nothing is ever typed into a terminal.

### What are the system requirements for agentsocks?

It requires Node.js 22.13 or later, Claude Code 2.1.224 or later, and Codex CLI 0.162 or later.
