mcp-installer

mcp-installer is a skill for Claude Code, Codex from evoelsewhere/evoflux. It costs 64 tokens per session (883 once invoked), scanned A, original, Apache-2.0.

A command-line guide for managing Model Context Protocol servers, which provide tools and context to an AI agent.

In plain words
What is it for?
Use it when you explicitly need to inspect or change an MCP server, connect its tools to an agent, authenticate it, or remove it.
Why use it?
It reduces configuration mistakes by checking the current setup and using supported operations for installation, updates, authentication, restarts, removal, and tool connections.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/evoelsewhere/evoflux/mcp-installer
Any agent
npx skills add evoelsewhere/evoflux --skill mcp-installer
Clone the repo
git clone --depth 1 https://github.com/evoelsewhere/evoflux

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for mcp-installer

README.md
[![agentmods](https://agentmods.dev/badge/skills/evoelsewhere/evoflux/mcp-installer.svg)](https://agentmods.dev/skills/evoelsewhere/evoflux/mcp-installer)
Your own site
<a href="https://agentmods.dev/skills/evoelsewhere/evoflux/mcp-installer"><img src="https://agentmods.dev/badge/skills/evoelsewhere/evoflux/mcp-installer.svg" alt="Measured on agentmods" height="20"></a>
Per session 64 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 883 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00064 $0.00883
Opus 5 $0.00032 $0.00441
Sonnet 5 $0.00013 $0.00177
Haiku 4.5 $0.00006 $0.00088

Measured 4d ago against content hash a94ca8cd7ac4, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

mcp-installer scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (mcp_apply.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

app/agent/builtin_skills/mcp-installer/SKILL.md · 107 lines

How it starts

The opening of the file, as written. The whole thing — 107 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Manage MCP servers

Use the bundled {SKILL_DIR}/mcp_apply.py for daemon and configuration operations. Do not construct raw daemon requests or edit mcp.json by hand while the helper can perform the operation. Run the helper with --help only when the exact subcommand or argument is not already known.

State machine

1. RESOLVE

Identify the exact server name, transport (http or stdio), endpoint or command, required arguments, environment variable names, target agent, and whether all or selected tools should be wired. Inspect current state first:

python3 "{SKILL_DIR}/mcp_apply.py" status [name]

Do not invent package names, endpoints, headers, OAuth mode, commands, tool names, or agent targets. Ask only for a missing value that cannot be derived from the provided server documentation or current configuration.

2. SAFETY

Use ${ENV_VAR} references for secrets. Never print, request in chat, embed in command history, or persist a raw API token when an environment reference or OAuth flow is available. Direct confidential OAuth credentials, when required by the helper, must be stored through its supported credential flow rather than written into mcp.json.

Resolve relative filesystem arguments to absolute paths because stdio runners do not inherit the user's interactive working directory. Inspect existing agent references before removing or renaming a server.

3. MUTATE

Choose exactly one operation and run it once:

add NAME --http URL [--header KEY=VALUE] [--oauth ...]
add NAME --stdio COMMAND --args ... [--env KEY=VALUE]
update NAME <transport options>
restart NAME
connect-oauth NAME
remove NAME
apply

Invoke it as python3 "{SKILL_DIR}/mcp_apply.py" <operation> .... Treat exit codes as follows:

  • 0: configuration applied, or safely written while the daemon was offline;
  • 1: validation/API error—correct the reported input before retrying;
  • 2: runner error or authentication required—inspect status and fix that condition;
  • 3: readiness wait timed out—report the current state instead of looping.

Read the full file on GitHub · 107 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 107 lines · 64 tokens per session scan A a94ca8cd7ac4

Subscribe to this mod's changes

mcp-installer is a skill published in the GitHub repository evoelsewhere/evoflux (5 stars, last pushed 8d ago), licensed Apache-2.0. It adds 64 tokens to every session and 883 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.