agents-mcp
Allows invoking the GitHub Copilot CLI as an agent backend to run tasks; session management is not yet supported.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
@kimuson/agents-mcp
MCP server that provides unified interface for multiple AI agents (claude-code, codex, gemini-cli, etc.).
Features
Unified interface for multiple AI coding agents
Session management for continued conversations
Dynamic agent configuration via JSON
Support for:
Claude Code (
claude-code)Codex (
codex)Gemini CLI (
gemini-cli)Copilot CLI (
copilot-cli) - coming soon
Related MCP server: Pair
Usage
1. Initialize a configuration file
Generate a default configuration file:
npx -y @kimuson/agents-mcp@latest initThis creates an agents-mcp.config.json file with default agent configurations. You can customize the output path:
npx -y @kimuson/agents-mcp@latest init -o my-config.jsonOr create your own configuration file manually:
{
"agents": [
{
"name": "coding",
"description": "For implementing programs",
"agents": [
{
"type": "claude-code"
}
]
},
{
"name": "review",
"description": "For code review",
"prompt": "You are an experienced code reviewer. Review the code provided by the user and suggest improvements.",
"agents": [
{
"type": "codex"
}
]
}
]
}Each agent configuration has:
name: Agent name (used in tool calls)description: What this agent is used forprompt: (Optional) System prompt for this agent. If provided, it will be prepended to user inputagents: Array of agent configurations (priority order)type: CLI type (claude-code,codex,gemini-cli,copilot-cli)model: (Optional) Model name to use
When prompt is provided, the final prompt sent to the agent will be:
<agent prompt>
## User Input
<user input>2. Configure your MCP client
Add the server to your MCP client configuration (e.g., Claude Desktop, Cline):
{
"mcpServers": {
"agents-mcp": {
"command": "npx",
"args": [
"-y",
"@kimuson/agents-mcp@latest",
"serve",
"/absolute/path/to/agents-mcp.config.json"
]
}
}
}Note: Use absolute paths for the config file.
3. Use the agent-task tool
The server exposes an agent-task tool that can be called with:
agent: The agent name (e.g., "coding", "review", "qa")prompt: The instruction for the agentsessionId(optional): Session ID to continue a previous conversation
Example response includes the session ID and agent's response.
CLI Commands
serve
Start the MCP server:
npx -y @kimuson/agents-mcp@latest serve agents-mcp.config.jsonArguments:
<config>: (Required) Path to the configuration file
init
Initialize a new configuration file:
npx -y @kimuson/agents-mcp@latest initOptions:
-o, --output <path>: Output file path (default:agents-mcp.config.json)
Configuration
Agent Types
claude-code: Claude Code CLIcodex: Codex CLIgemini-cli: Gemini CLIcopilot-cli: GitHub Copilot CLI (session management not yet supported)
Agent Priority
If you provide multiple configurations for the same agent name (as an array), the first one will be used. Future versions may support automatic fallback.
Development
# Install dependencies
pnpm install
# Type check
pnpm typecheck
# Lint
pnpm lint
# Fix lint issues
pnpm fix
# Build
pnpm buildRequirements
You need to have the corresponding CLI tools installed:
Claude Code:
claudecommandCodex:
codexcommandGemini CLI:
geminicommandCopilot CLI:
copilotcommand
License
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Command center for developers coordinating AI coding agents across projects.
Sync coding-agent sessions and resume them in any other agent: Claude Code, Codex, Cursor, more.
Coordination hub for AI coding agents: message teammates, ask humans, audit every event.
Task manager for AI agents. Orchestrate agents to achieve large goals in unified control plane.
Related MCP Servers
- AlicenseCqualityCmaintenanceEnables delegating coding tasks to multiple AI CLI agents (Claude Code, Antigravity, Codex, Cursor) with session memory and diff inspection.1620 npmMIT
- AlicenseNot gradedqualityCmaintenanceEnables users to delegate coding tasks in a chosen project to the official Codex and Claude CLI agents from within an existing chat, then convene a council of configured models to gather independent opinions and review the resulting files and test runs. It also manages multi-provider API connections, model catalogs, and per-task token, time, and cost limits.MIT
- AlicenseNot gradedqualityCmaintenanceEnables local coding agents to track sessions, exchange isolated collaboration messages, and optionally delegate coding work to Codex with Git worktree isolation and task management.MIT
- AlicenseNot gradedqualityBmaintenanceEnables agents to discover and configure model routing, delegate coding tasks with context files, scope restrictions, and verification, and resume existing sessions with delta instructions or review feedback.MIT