update-mcp

update-mcp is a skill for Claude Code, Codex from fabis94/universal-ai-config. It costs 34 tokens per session (817 once invoked), scanned A, original, MIT.

A workflow for creating, updating, or removing MCP server configuration templates. MCP is a standard way for AI tools to connect to external tool servers.

In plain words
What is it for?
It helps discover existing configurations, add or modify servers, organize them across files, and remove unused configurations.
Why use it?
It helps keep server settings in the required JSON format and handles how configurations from multiple files are combined.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Codex.

Good fit It helps discover existing configurations, add or modify servers, organize them across files, and remove unused configurations.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/fabis94/universal-ai-config/update-mcp
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.

Any agent
npx skills add fabis94/universal-ai-config --skill update-mcp
Clone the repo
git clone --depth 1 https://github.com/fabis94/universal-ai-config

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 update-mcp

README.md
[![agentmods](https://agentmods.dev/badge/skills/fabis94/universal-ai-config/update-mcp/github.svg)](https://agentmods.dev/skills/fabis94/universal-ai-config/update-mcp)
Your own site
<a href="https://agentmods.dev/skills/fabis94/universal-ai-config/update-mcp"><img src="https://agentmods.dev/badge/skills/fabis94/universal-ai-config/update-mcp/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for update-mcp

Your own site · 80×15
<a href="https://agentmods.dev/skills/fabis94/universal-ai-config/update-mcp"><img src="https://agentmods.dev/badge/skills/fabis94/universal-ai-config/update-mcp.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 817 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Privilege Escalation · line 162
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
How audits are shown
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.1 $0.00034 $0.00817
Opus 5.5 $0.00014 $0.00327
Sonnet 5.5 $0.00007 $0.00163
Haiku 4.5 $0.00003 $0.00082

Measured yesterday against content hash 7bc1f75aa592, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

update-mcp 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 yesterday.

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.

.universal-ai-config/skills/update-mcp/SKILL.md · 83 lines

How it starts

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

Manage MCP Server Templates

MCP (Model Context Protocol) server configurations define external tool servers available to AI tools. They use JSON format (not markdown), similar to hooks.

Finding Existing MCP Configs

List files in <%= mcpTemplatePath() %>/ to discover existing MCP templates (.json files). Read them to understand what servers are already configured.

Note: Servers from multiple files are merged by server name during generation, and the first declaration of a name wins (templatesDir before additionalTemplateDirs, in order). You can organize servers by concern (e.g. github.json, databases.json).

Deciding What to Do

  • Create new file: for an entirely new server or group of related servers
  • Update existing file: modify server config, add servers to an existing file
  • Merge strategy: since servers merge by name, you can split them across files for better organization
  • Delete: remove an MCP config file when the server is no longer needed

Creating a New MCP Config

  1. Create a .json file in <%= mcpTemplatePath() %>/ with a descriptive name (e.g. github.json)
  2. Use the standard MCP JSON structure

JSON Structure

{
  "mcpServers": {
    "server-name": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "@some/mcp-server"],
      "env": {
        "API_KEY": "${API_KEY}"
      }
    }
  }
}

Server Fields

Core fields: command + args (stdio) or url + headers (HTTP), plus type and env. A server must have command or url. If neither is left after per-target override resolution, the server is dropped for that target, which is how you define target-exclusive servers.

Before using any other field, check <%= docPath('uac/mcp') %>. It lists every server field with the targets that use it (including Codex's auth fields and enabledTools/disabledTools), per-target override examples, the output path for each target (Claude and Copilot share the root .mcp.json), and server-name opt-in filtering. VS Code's inputs prompts and ${input:…} aren't supported.

Read the full file on GitHub · 83 lines

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. yesterday Changed · +4 lines 7bc1f75aa592
  2. 2d ago Changed · -125 lines cd0dcbf79d08
  3. 2mo ago First seen · 204 lines · 34 tokens per session scan A bbe4e17c7b30

Subscribe to this mod's changes

update-mcp is a skill published in the GitHub repository fabis94/universal-ai-config (14 stars, last pushed 2d ago), licensed MIT. It adds 34 tokens to every session and 817 once invoked, about $0.0001 per session on Opus 5.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-30.

Related

update-mcp compared with skills from other repositories

update-mcp next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
update-mcpfabis94/universal-ai-configSkill142d agoMITA34Claude Code, Codex
imagegenopenai/codexSkill134ktodayApache-2.0A113Codex
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill79ktodayMITA200Claude Code, Codex
playwright-climicrosoft/playwrightSkill99ktodayApache-2.0A19Claude Code
systematic-debuggingobra/superpowersSkill314k3d agoMITA21Claude Code
next-cache-components-adoptionvercel/next.jsSkill143ktodayMITA95Claude Code
chat-pet-sprite-creationmicrosoft/vscodeSkill195ktodayMITA53Claude Code, Codex