vsync: Command for Claude Code

.claude/commands/mcp-manager.md

mcp-manager is a command for Claude Code from nicepkg/vsync. It costs 15 tokens per session (2,606 once invoked), scanned C, original, MIT.

A command for managing MCP server settings across Claude Code, Cursor, Codex, and OpenCode. MCP, or Model Context Protocol, is a way for coding tools to connect to external servers that provide additional data or actions.

In plain words
What is it for?
Use it to inspect or manage MCP server configurations in .mcp.json, Cursor's MCP file, Codex's TOML configuration, and OpenCode's JSON configuration.
Why use it?
It avoids manually checking different configuration files and formats for each coding tool. It helps you see whether the expected server settings exist and manage them consistently.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: mentions Claude Code; reads ~/.codex paths; mentions Codex.

This is nicepkg/vsync's own configuration. It tells Claude Code how to work on vsync itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything vsync configures →

Reuse

Borrowing it

Nothing to install: this file belongs to nicepkg/vsync. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/nicepkg/vsync/main/.claude/commands/mcp-manager.md
Clone the repo
git clone --depth 1 https://github.com/nicepkg/vsync

Made for: Claude Code.

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-manager

README.md
[![agentmods](https://agentmods.dev/badge/commands/nicepkg/vsync/mcp-manager/github.svg)](https://agentmods.dev/commands/nicepkg/vsync/mcp-manager)
Your own site
<a href="https://agentmods.dev/commands/nicepkg/vsync/mcp-manager"><img src="https://agentmods.dev/badge/commands/nicepkg/vsync/mcp-manager/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 mcp-manager

Your own site · 80×15
<a href="https://agentmods.dev/commands/nicepkg/vsync/mcp-manager"><img src="https://agentmods.dev/badge/commands/nicepkg/vsync/mcp-manager.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 15 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,606 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00015 $0.02606
Opus 5.5 $0.00006 $0.01042
Sonnet 5.5 $0.00003 $0.00521
Haiku 4.5 $0.00002 $0.00261

Measured 1mo ago against content hash 731107b36e14, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

mcp-manager scanned grade C with 2 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 1mo ago.

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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

grep '^\[mcp_servers\.' .codex/config.toml 2>/dev/null | sed 's/\[mcp_servers\.\(.*\)\]/\1/' || echo "No .codex/config.toml"

Reads MCP configurationmediumAgent snooping

mcp.json carries server URLs and auth tokens; reading it lets a mod discover and abuse other integrations.

cat .mcp.json 2>/dev/null | jq '.mcpServers | keys[]' 2>/dev/null || echo "No .mcp.json"
.claude/commands/mcp-manager.md · 370 lines

How it starts

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

MCP Server Manager

Manage MCP server configurations across multiple AI coding tools.

Command: $ARGUMENTS

Context

  • Project root: !pwd
  • Claude Code config: !test -f .mcp.json && echo "✅ exists" || echo "❌ missing"
  • Cursor config: !test -f .cursor/mcp.json && echo "✅ exists" || echo "❌ missing"
  • Codex config: !test -f .codex/config.toml && echo "✅ exists" || echo "❌ missing"
  • OpenCode config: !test -f opencode.json && echo "✅ exists" || echo "❌ missing"

Supported Tools & Config Locations

Tool Config File Format Env Var Syntax
Claude Code .mcp.json JSON ${VAR}
Cursor .cursor/mcp.json JSON ${env:VAR}
Codex .codex/config.toml TOML env_vars = ["VAR"]
OpenCode opencode.json JSON {env:VAR}

Commands

List: Show Current MCP Servers

# Claude Code
cat .mcp.json 2>/dev/null | jq '.mcpServers | keys[]' 2>/dev/null || echo "No .mcp.json"

# Cursor
cat .cursor/mcp.json 2>/dev/null | jq '.mcpServers | keys[]' 2>/dev/null || echo "No .cursor/mcp.json"

# OpenCode
cat opencode.json 2>/dev/null | jq '.mcp | keys[]' 2>/dev/null || echo "No opencode.json"

# Codex
grep '^\[mcp_servers\.' .codex/config.toml 2>/dev/null | sed 's/\[mcp_servers\.\(.*\)\]/\1/' || echo "No .codex/config.toml"

Config Formats (Based on Real Examples)

Local Server (stdio)

Claude Code (.mcp.json):

{
  "mcpServers": {
    "slack": {
      "command": "npx",
      "args": ["-y", "slack-mcp-server@latest", "--transport", "stdio"],
      "env": {
        "SLACK_MCP_XOXP_TOKEN": "${SLACK_MCP_XOXP_TOKEN}",
        "SLACK_MCP_ADD_MESSAGE_TOOL": "${SLACK_MCP_ADD_MESSAGE_TOOL}"
      }
    }
  }
}

Cursor (.cursor/mcp.json):

{
  "mcpServers": {
    "slack": {
      "command": "npx",
      "args": ["-y", "slack-mcp-server@latest", "--transport", "stdio"],
      "env": {
        "SLACK_MCP_XOXP_TOKEN": "${env:SLACK_MCP_XOXP_TOKEN}",
        "SLACK_MCP_ADD_MESSAGE_TOOL": "${env:SLACK_MCP_ADD_MESSAGE_TOOL}"
      }
    }
  }
}

Read the full file on GitHub · 370 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. 1mo ago First seen · 370 lines · 15 tokens per session scan C 731107b36e14

Subscribe to this mod's changes

mcp-manager is a command published in the GitHub repository nicepkg/vsync (61 stars, last pushed 9mo ago), licensed MIT. It adds 15 tokens to every session and 2,606 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it C with 2 findings (reads agent configuration directories, reads mcp configuration). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.