1. Conduid
  2. Blockchain
  3. A0 Mcp2cli
MCP server · Blockchain

A0 Mcp2cli

Token-efficient CLI bridge to any MCP server for Agent Zero. Discover and call MCP tools on demand — saves 96-99% tokens vs native MCP schema injection.

Unclaimed MIT blockchain
34Low

Scored 21 days ago · breakdown

About A0 Mcp2cli

A0 Mcp2cli is an MCP server published by vanja-emichi in the Blockchain category: token-efficient CLI bridge to any MCP server for Agent Zero. Discover and call MCP tools on demand — saves 96-99% tokens vs native MCP schema injection.

The repository has 5 stars and 2 forks, with the last commit 2 months ago. Recent commit activity is the strongest signal that reported issues will get attention.

Install

From source
git clone https://github.com/vanja-emichi/a0-mcp2cli

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about A0 Mcp2cli

Powered by Claude · Grounded in docs

I know everything about A0 Mcp2cli. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

Static checks derived from the repository 3 days ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository ships documentation.
  • ✓License declaredUsable under a stated license.
  • ✓Tests presentA test suite exists in the repository.
  • !Dependencies pinnedNo lockfile. Installs can pull different code over time.
  • ✓No dynamic code executionSource scan found no eval, dynamic Function, or shell execution.

1 check has not been run yet.

README

MCP2CLI — Agent Zero Plugin

Token-efficient bridge to any MCP server. Instead of injecting all MCP tool schemas into every LLM turn, agents discover and call tools on demand via code_execution_tool + the mcp2cli CLI binary — saving 96–99% of tokens compared to native MCP injection.


How It Works

  1. System prompt extensions suppress native MCP schema injection (cli mode) and strip the dot-prefixed routing line, redirecting the agent to mcp2cli.
  2. A skill teaches the agent to run uvx mcp2cli commands via the standard code_execution_tool.
  3. A helper script (helpers/mcp_servers.py) resolves configured server connection strings with credentials so the agent never handles secrets directly.

No dedicated tool class — the agent uses code_execution_tool (runtime=terminal) for everything.


Setup

  1. Enable MCP2CLI in Agent Zero → Settings → Agent tab.
  2. Click Initialize to verify mcp2cli availability (falls back to uvx automatically).
  3. Set mode to cli in the plugin config to suppress native MCP schema injection.

The mcp2cli binary is the upstream knowsuchagency/mcp2cli (PyPI, v3.3.1), run via uvx.


Modes

Mode Behavior
default Native MCP schemas injected as usual (no change from stock Agent Zero)
cli Native injection suppressed; agent uses code_execution_tool + mcp2cli CLI on demand

Switch via the plugin config dropdown (per-project and per-agent supported).


Files

Path Purpose
skills/mcp2cli/SKILL.md Teaches the agent the discover → help → call workflow via code_execution_tool
helpers/mcp_servers.py Resolves server connection strings with credentials from settings
extensions/.../_12_mcp_prompt/.../end/_10_cli_mode.py Suppresses native MCP schema in cli mode
extensions/.../_11_tools_prompt/.../end/_10_strip_mcp_routing.py Strips dot-prefixed routing line in cli mode
extensions/python/system_prompt/_30_mcp2cli_skill_hint.py Injects "load mcp2cli skill" hint
hooks.py / execute.py Plugin lifecycle (install/uninstall binary)

Token Savings

Approach Tokens per turn
Native MCP (all schemas) 5,000–20,000
mcp2cli on-demand 100–300
mcp2cli + --compact / --toon 60–180

README fetched from the repository 3 days ago. The original is authoritative.

Questions

About A0 Mcp2cli

How do I install A0 Mcp2cli?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is A0 Mcp2cli safe to use with an AI agent?

Its trust score is 34 out of 100 (low). It passes 4 of the 5 static security checks run so far; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is A0 Mcp2cli still maintained?

Yes — the last commit was 2 months ago. The repository has 5 stars and 2 forks and 3 open issues.