agent-mcp
An MCP server that lets AI delegate complex tasks to specialized sub-agents equipped with their own tools and safety guardrails.
Install / Use
claude mcp add KubaZ2 -- npx -y github:KubaZ2/agent-mcpIf the server publishes to npm under a different name, use that package instead — check the repo README.
MCP Server
Model Context Protocol server
Quality Score
Category
Development & EngineeringSupported Platforms
Tags
Our assessment of agent-mcp
agent-mcp scores 76/100 on our quality scale, 3669th of 4,588 Development & Engineering skills we index.
Its MCP Server is 5.1 KB long, well organised into 18 sections with 2 code examples: a solid amount of guidance for an agent.
It has 3 GitHub stars, so there is little community track record yet; judge it on its content.
Maintenance, license and trust
- The repository was last updated today, so agent-mcp is actively maintained.
- It is released under the MIT license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 92/100, with 1 caution from licensing, adoption, age or documentation. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
Safety scan
No issues foundOur scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful.
AI review by kimi-k2.7-code on 2026-10-08. Automated pattern scan on 2026-10-08. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.
agent-mcp compared with similar skills
All 4 of these similar skills score higher than agent-mcp; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| agent-mcp (this skill)by KubaZ2 | 76 | 3 | today | MCP Server |
| Agent-Reachby Panniantong | 100 | 93.2k | today | CLAUDE.md |
| headroomby headroomlabs-ai | 100 | 74.6k | today | CLAUDE.md |
| CowAgentby zhayujie | 100 | 47.3k | today | CLAUDE.md |
| ai-job-searchby MadsLorentzen | 100 | 45.2k | 2d ago | CLAUDE.md |
Frequently asked questions
- How do I install agent-mcp?
- Run
claude mcp add KubaZ2 -- npx -y github:KubaZ2/agent-mcp. The install tabs above show the steps for each supported agent. - Which AI agents does agent-mcp work with?
- It is written for Claude Code, Claude Desktop and Zed, as a MCP Server file. Other agents that read the same format can often use it too.
- Is agent-mcp safe to use?
- Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful. It is MIT-licensed and scores 92/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is agent-mcp still maintained?
- The repository was last updated today, so agent-mcp is actively maintained.
Skill content
View source on GitHubAgent MCP Server
Agent MCP Server is a specialized Model Context Protocol (MCP) server that acts as a middleman orchestrator. Instead of merely exposing raw tools (like file system access or web search) to an MCP client, this server exposes a single, powerful agent tool.
By calling the agent tool, your primary MCP client can spawn and delegate complex, multi-step background tasks to specialized, configured AI agents (powered by OpenAI, Anthropic, or Ollama). These agents can dynamically connect to other downstream MCP servers, invoke their tools in parallel, wait for long-running tasks to finish, and ask for user permission before executing sensitive actions.
🌟 Key Features
- Agent Delegation: Exposes an
agenttool that dynamically lists available configured agents, allowing a parent LLM to delegate work to specialized sub-agents. - Downstream MCP Federation: Connects to other Stdio and HTTP MCP servers, passing their tools to your configured agents.
- Multi-Provider Support: Supports OpenAI, Anthropic, and Ollama compatible LLM backends.
- Human-in-the-Loop (Elicitation): Natively supports the MCP Elicitation capability. If an agent tries to call a tool, the server can pause and ask the user for approval (Approve Once, Approve Always, Deny Once, Deny Always). Also supports forwarding the elicitation prompts of downstream MCP servers to the client.
- Granular Tool Filtering: Configure default tool policies (
Ask(default),Allow,Deny) and specifyAutoApproveToolsorAutoDenyToolsusing glob or regex patterns. - Long-Running Tasks: Built-in support for the MCP Tasks extension. Agents can trigger asynchronous downstream tools, and the server will automatically poll until completion without blocking the client.
- Dual Hosting Modes: Can run as a standard
stdioMCP server or anhttpMCP server. - Native AOT: Pre-compiled native binaries mean incredibly fast startup times, low memory usage, and no runtime dependencies needed.
🏗️ Architecture
- MCP Client connects to Agent MCP Server.
- Client asks to run the
agenttool (e.g., "Use the 'Coder' agent to refactor this project"). - The Server spins up an LLM chat loop for the "Coder" agent.
- The "Coder" agent has access to downstream MCP servers (e.g., a local filesystem MCP).
- The agent acts autonomously, fetching files, reading, and writing, subject to your configured approval policies.
- Once finished, the final result is returned to the original MCP client.
🚀 Getting Started
Because Agent MCP Server is compiled with Native AOT, there are no prerequisites or SDKs required to run it.
Installation
Download the latest standalone binary for your operating system from the releases page.
Running the Server
You can run the server via standard I/O (default) or HTTP. You must provide a configuration, for example you can use a file for configuration and specify it via the --config flag.
# Run as stdio (default)
agent-mcp --config config.ini
# this is equivalent to 'agent-mcp stdio --config config.ini'
# Run as http server
agent-mcp http --config config.ini
⚙️ Configuration
Agent MCP Server can be configured in a variety of ways. Below there is an example using an .ini file format.
# Configure your LLM providers here.
# Supported Types: openai, anthropic, ollama
[Providers:claude]
Type = anthropic
ApiKey = sk-y…[redacted]
# Configure the MCP servers your agents can use.
[Mcp:filesystem]
Command = npx
Args:0 = -y
Args:1 = @modelcontextprotocol/server-filesystem
Args:2 = /home/myuser/projects/myproject
# Define specialized agents exposed to the client.
[Agents:coder]
Description = Use this agent to read and modify local files.
SystemPrompt = You are a principal software engineer. Complete the task step by step.
Provider = claude
Model = claude-fable-5-1
# Connects this agent to the filesystem downstream MCP
Mcp:0 = filesystem
For more configuration options and formats, please refer to the Wiki.
🛡️ Tool Permissions & Human-in-the-Loop
By default, Agent MCP Server uses Elicitation to ask for user approval before executing any downstream tools. You can fully customize this behavior by setting a default policy (Ask, Allow, Deny) or by using glob or regex patterns to automatically approve safe actions or block specific tools entirely. Additionally, when prompted, you can choose Approve Always or Deny Always to temporarily configure a tool's permissions on the fly without needing to edit your configuration file.
Read how to configure tool filtering in the Wiki.
🛠️ Exposed MCP Tools
Once running, the server exposes a single tool to the connected client:
agent:agent(string, enum): The specific agent to trigger (dynamically populated from your configuration, e.g., "researcher", "coder").prompt(string): The task for the agent to perform.
📜 License
This project is released under the MIT License.
Related Skills
Agent-Reach
93.2kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
headroom
74.6kCompress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
CowAgent
47.3kOpen-source personal AI assistant & Agent Harness. Plans tasks, runs tools and skills, self-evolves with memory and knowledge. Multi-agent, multi-model, multi-channel. Lightweight, extensible, one-line install.
ai-job-search
45.2kThe job search that runs on your machine. AI job application framework built on Claude Code: evaluate postings, tailor CVs, write cover letters, prep interviews. Fork it and own it.
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
