cc-mcp

cc-mcp is a command for Claude Code from TheLobbi/claude. It costs 0 tokens per session (489 once invoked), scanned A, original, MIT.

A command for configuring MCP servers, which let Claude Code connect to external tools and services. It can add, remove, list, test, and troubleshoot those server connections.

In plain words
What is it for?
Use it to connect Claude Code to services such as GitHub, PostgreSQL, Slack, files, search tools, or a custom MCP server, and to check whether those connections work.
Why use it?
It gathers common MCP setup and connection checks in one place, so you do not have to edit configuration by hand or diagnose each server separately.

Command for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions Claude Code.

Part of the claude-orchestration plugin — 6 skills, 133 commands, 9 agents, 8 hooks, 6 plugins shipped together

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 commands/thelobbi/claude/cc-mcp
Clone the repo
git clone --depth 1 https://github.com/TheLobbi/claude

Made for: Claude Code.

Or install claude-orchestration, the plugin that ships this one along with the rest of its 6 skills, 133 commands, 9 agents, 8 hooks, 6 plugins.

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/thelobbi/claude/cc-mcp.svg)](https://agentmods.dev/commands/thelobbi/claude/cc-mcp)
Your own site
<a href="https://agentmods.dev/commands/thelobbi/claude/cc-mcp"><img src="https://agentmods.dev/badge/commands/thelobbi/claude/cc-mcp.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 489 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.1 $0.00000 $0.00489
Opus 5 $0.00000 $0.00244
Sonnet 5 $0.00000 $0.00098
Haiku 4.5 $0.00000 $0.00049

Measured 5d ago against content hash ef809f1e9aff, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

cc-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 5d 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.

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.

.claude/commands/cc-mcp.md · 79 lines

What it actually says

/cc-mcp — MCP Server Configuration Manager

Configure, troubleshoot, and manage MCP servers for Claude Code.

Usage

/cc-mcp [action] [server-name]

Actions

add

Add a new MCP server.

/cc-mcp add                       # Interactive
/cc-mcp add filesystem            # Add filesystem server
/cc-mcp add postgres              # Add PostgreSQL server
/cc-mcp add github                # Add GitHub server
/cc-mcp add brave-search          # Add Brave Search
/cc-mcp add memory                # Add Memory server
/cc-mcp add slack                 # Add Slack server
/cc-mcp add puppeteer             # Add Puppeteer server
/cc-mcp add firecrawl             # Add Firecrawl server
/cc-mcp add perplexity            # Add Perplexity server
/cc-mcp add context7              # Add Context7 server
/cc-mcp add custom                # Add custom server

remove

Remove an MCP server.

/cc-mcp remove server-name

list

List all configured MCP servers with status.

/cc-mcp list

test

Test MCP server connectivity.

/cc-mcp test                      # Test all servers
/cc-mcp test server-name          # Test specific server

troubleshoot

Diagnose MCP server issues.

/cc-mcp troubleshoot              # Check all servers
/cc-mcp troubleshoot server-name  # Check specific server

Implementation

When invoked:

For add:

  1. If known server type, use preconfigured template
  2. Ask for required environment variables (API keys, etc.)
  3. Add entry to .mcp.json
  4. Test the server starts correctly
  5. Show available tools from the server

For test:

  1. Read .mcp.json
  2. For each server, attempt to start and send initialize request
  3. List available tools
  4. Report status (OK/FAIL)

For troubleshoot:

  1. Check .mcp.json syntax
  2. Verify server command exists
  3. Check env vars are set
  4. Attempt server startup
  5. Check for common issues (ports, permissions, deps)
  6. Provide specific fix recommendations
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. 5d ago First seen · 79 lines · 0 tokens per session scan A ef809f1e9aff

Subscribe to this mod's changes

cc-mcp is a command published in the GitHub repository TheLobbi/claude (21 stars, last pushed yesterday), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 489 tokens. 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.