Skip to main content

MCP server for communicating with other AI agents via file-based I/O

Project description

Other Agents

PyPI version CI Python License: MIT

A unified MCP server to orchestrate multiple AI CLI tools from a single interface.

Other Agents is an MCP server that lets you communicate with multiple AI command-line tools—Claude, Gemini, Codex, and Qwen—through a single, standardized protocol.

┌─────────────────────────────────────────────────────────────┐
│                      MCP Client                             │
│                (Claude Desktop / Code)                      │
└─────────────────────────┬───────────────────────────────────┘
                          │ MCP Protocol (stdio)
                          ▼
┌─────────────────────────────────────────────────────────────┐
│                 Other Agents MCP Server                     │
│  ┌─────────────────────────────────────────────────────┐   │
│  │  • list_agents    • use_agent    • use_agents       │   │
│  │  • get_task_status               • add_agent        │   │
│  └─────────────────────────────────────────────────────┘   │
└─────────────────────────┬───────────────────────────────────┘
                          │ File-based I/O
                          ▼
┌─────────────────────────────────────────────────────────────┐
│                     AI CLI Tools                            │
│  ┌──────────┐ ┌──────────┐ ┌──────────┐ ┌──────────┐       │
│  │  Claude  │ │  Gemini  │ │  Codex   │ │   Qwen   │  ...  │
│  └──────────┘ └──────────┘ └──────────┘ └──────────┘       │
└─────────────────────────────────────────────────────────────┘

Quick Start

1. Install

pip install other-agents-mcp

2. Configure (~/.config/claude/claude_desktop_config.json on macOS)

{
  "mcpServers": {
    "other-agents": {
      "command": "uvx",
      "args": ["other-agents-mcp"]
    }
  }
}

3. Use in Claude Desktop:

"Ask Gemini to review this code"
"Get Codex's opinion on this function"
"Send this question to all AI tools"

Supported AI CLIs

CLI Command Notes
Claude Code claude Anthropic's official CLI
Gemini CLI gemini Google's Gemini CLI
Codex codex OpenAI Codex (via Cursor)
Qwen qwen Alibaba's Qwen CLI

Each CLI tool must be installed separately on your system.


MCP Tools

list_agents

List available AI CLI tools and their installation status.

use_agent

Send a prompt to a specific AI CLI.

{
  "cli_name": "gemini",
  "message": "Explain this code"
}

Options:

  • run_async: Run in background, returns task_id
  • session_id / resume: Maintain conversation context
  • timeout: Custom timeout in seconds

use_agents

Broadcast a prompt to multiple AI CLIs simultaneously.

{
  "message": "Review this code for bugs",
  "cli_names": ["claude", "gemini"]
}

get_task_status

Check status of async tasks started with run_async: true.

add_agent

Register a custom AI CLI at runtime.


Installation Options

# PyPI (recommended)
pip install other-agents-mcp

# Or run directly with uvx
uvx other-agents-mcp

# Or via Smithery
npx @smithery/cli install other-agents-mcp --client claude

Development

git clone https://github.com/inchan/other-agents.git
cd other-agents
python -m venv venv && source venv/bin/activate
pip install -e ".[dev]"

# Run tests
pytest tests/ -v

# Run server
python -m other_agents_mcp.server

License

MIT - see LICENSE

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

other_agents_mcp-0.0.6.tar.gz (48.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

other_agents_mcp-0.0.6-py3-none-any.whl (27.9 kB view details)

Uploaded Python 3

File details

Details for the file other_agents_mcp-0.0.6.tar.gz.

File metadata

  • Download URL: other_agents_mcp-0.0.6.tar.gz
  • Upload date:
  • Size: 48.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for other_agents_mcp-0.0.6.tar.gz
Algorithm Hash digest
SHA256 97356d93a005635a7b1e0acd8fab4fafbdb7d84dba72859536b53601bdf7c31b
MD5 ea613e2fe20cc08711d057642e37b381
BLAKE2b-256 48414bcac00bb7a733729ad6e43e306163b4a54f32e90ca4c79cb451a6bf6a0d

See more details on using hashes here.

Provenance

The following attestation bundles were made for other_agents_mcp-0.0.6.tar.gz:

Publisher: publish.yml on inchan/other-agents

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file other_agents_mcp-0.0.6-py3-none-any.whl.

File metadata

File hashes

Hashes for other_agents_mcp-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 c72b5a5dd0ba2d9c39d1c13a5f5afbde66937c93cd95d7ee6daec048c6b0ccc0
MD5 660fcef16749066ec8ded4f8c173b890
BLAKE2b-256 a4361f874ef7add83c0487937942e0c063e2b73a9061e6b81805befd7131777c

See more details on using hashes here.

Provenance

The following attestation bundles were made for other_agents_mcp-0.0.6-py3-none-any.whl:

Publisher: publish.yml on inchan/other-agents

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page