Xpersona
M

mcp-config

CLAWHUB · Unverified

MCP server configuration and diagnostics. add - add server (scope selection + registration) [add.md], move - change server scope (project→local, local→user) [move.md], format - JSON format reference (differences per agent) [format.md], catalog - list of commonly used servers [catalog.md], diagnostics - connection failure diagnosis and troubleshooting [diagnostics.md]. Use when: "add MCP", "mcp-config", "MCP server config", "add context7", "MCP format", "MCP server list", "move MCP", "MCP scope", "scope change", "MCP connection failed", "MCP error", "Failed to reconnect", "code-mode not working", "MCP server issue".

62
Rank
84
Safety
1.5k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.5K downloads reported by the source. Last updated 10/10/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s17ay1v6v88r2m102pvvc44gz183qcrm:mcp-config
  1. Install using `clawhub skill install s17ay1v6v88r2m102pvvc44gz183qcrm:mcp-config` in an isolated environment before connecting it to live workloads.
  2. No published capability contract is available yet, so validate auth and request/response behavior manually.
  3. Review the upstream CLAWHUB listing at https://clawhub.ai/drumrobot/mcp-config before using production credentials.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-drumrobot-mcp-config/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

139,960 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: mcp-config
metadata:
  author: es6kr
  version: "0.1.2"
description: |
  MCP server configuration and diagnostics. add - add server (scope selection + registration) [add.md], move - change server scope (project→local, local→user) [move.md], format - JSON format reference (differences per agent) [format.md], catalog - list of commonly used servers [catalog.md], diagnostics - connection failure diagnosis and troubleshooting [diagnostics.md].
  Use when: "add MCP", "mcp-config", "MCP server config", "add context7", "MCP format", "MCP server list", "move MCP", "MCP scope", "scope change", "MCP connection failed", "MCP error", "Failed to reconnect", "code-mode not working", "MCP server issue".
---

# MCP Server Configuration

Correctly add and manage MCP servers in the `.mcp.json` file.

## Topics

| Topic | Description | Guide |
|-------|-------------|-------|
| add | Add server (scope selection + registration + validation) | [add.md](./add.md) |
| catalog | Catalog of commonly used MCP servers | [catalog.md](./catalog.md) |
| diagnostics | Connection failure diagnosis and troubleshooting | [diagnostics.md](./diagnostics.md) |
| format | JSON format reference (differences per agent) | [format.md](./format.md) |
| move | Change server scope (project→local, local→user) | [move.md](./move.md) |

## Quick Reference

```text
"add MCP"              → add topic (scope selection → registration)
"add context7"         → add topic + refer to catalog for config
"move MCP"             → move topic (scope change: remove + re-add)
"MCP format"           → format topic (JSON differences per agent)
"MCP server list"      → catalog topic
"MCP connection failed" → diagnostics topic (connection troubleshooting)
"Failed to reconnect"  → diagnostics topic
```

## Core Rules

- **New MCP server = register as a separate key** (do not put inside an existing server's `env`)
- **Scope selection AskUserQuestion required** (global vs project, agent selection)
- **Antigravity requires `transport: "stdio"`**

_meta.json

{
  "ownerId": "kn74k8yfvftx6f062qa8fzyd8h8373jd",
  "slug": "mcp-config",
  "version": "0.3.3",
  "publishedAt": 1789746807322
}

add.md

# Add MCP Server

Procedure for registering a new MCP server.

## CRITICAL: Claude Code uses `claude mcp add` CLI

**Do NOT manually edit `.mcp.json` for Claude Code.** Manually adding entries to `.mcp.json` does NOT make Claude Code recognize the server. Always use the `claude mcp add` CLI command.

```bash
# stdio server (project scope)
claude mcp add --scope project my-server -- npx my-mcp-server

# HTTP server (project scope)
claude mcp add --transport http --scope project my-server https://example.com/mcp

# stdio server with env vars
claude mcp add --scope project -e API_KEY=xxx my-server -- npx my-mcp-server
```

**Name restriction**: Only letters, numbers, hyphens, underscores. No spaces.

## Required Procedure: Scope Selection (AskUserQuestion Required)

**Before adding an MCP server, always use AskUserQuestion in 2 steps:**

### Step 1: Scope Selection

| Option | Description |
|--------|-------------|
| Global | Add to each agent's config file (proceed to step 2) |
| Project | Add only to the current project |

### Step 2: When Global is selected → Agent Selection (multiSelect)

| Agent | Method | Difference |
|-------|--------|------------|
| Claude Code | `claude mcp add --scope user` | CLI required, manual `.mcp.json` edit NOT recognized |
| Cursor | Edit `~/.cursor/mcp.json` | `transport` field not required |
| Antigravity | Edit `~/.gemini/antigravity/mcp_config.json` | `"transport": "stdio"` required |

**multiSelect: true** — can add to multiple agents simultaneously.

**Do not decide arbitrarily.** Even if `.mcp.json` exists in the project directory, the user may want to add globally, and vice versa.

### Claude Code Scope Options

| Scope | Flag | Config File | Key Path | Description |
|-------|------|-------------|----------|-------------|
| local | `--scope local` (default) | `~/.claude.json` | `projects["/path/to/project"].mcpServers` | This machine, this project only |
| user | `--scope user` | `~/.claude.json` | root `mcpServers` | This machine, all projects |
| project | `--scope project` | `./.mcp.json` | `mcpServers` | Committed to repo, shared with team |

## Core Rule: Register as Separate Server

New MCP server = register as a separate key. **Do not put it inside an existing server's `env`.**

## Validation Checklist

- [ ] Claude Code: used `claude mcp add` CLI (NOT manual `.mcp.json` edit)
- [ ] Cursor/Antigravity: JSON syntax is valid
- [ ] Each server is registered as a separate key
- [ ] Server name contains only letters, numbers, hyphens, underscores
- [ ] `claude mcp list` shows the server as Connected

## Activate the change (MANDATORY — after every config edit or `mcp add`)

A new MCP entry (or edits to existing ones) is NOT picked up by the running agent until it reloads its MCP state. **Don't default to "restart your session"** — most agents have a lighter in-session reload.

Two distinct events to disambiguate before choosing the activation step:

| Trigger | Meaning | Activation goal |
|---------|------

catalog.md

# MCP Server Catalog

List of commonly used MCP servers.

## Server List

| Server | Package | Command | Purpose |
|--------|---------|---------|---------|
| code-mode | `@utcp/code-mode-mcp` | npx | UTCP tool chain |
| context7 | `@upstash/context7-mcp` | npx | Library documentation search |
| playwright | `@anthropics/mcp-playwright` | npx | Browser automation |
| postgres | `postgres-mcp` | uvx | PostgreSQL database |

## Configuration Examples per Server

### code-mode

```json
{
  "code-mode": {
    "command": "npx",
    "args": ["-y", "@utcp/code-mode-mcp"],
    "env": {
      "UTCP_CONFIG_FILE": "~/.utcp_config.json"
    }
  }
}
```

### context7

```json
{
  "context7": {
    "command": "npx",
    "args": ["-y", "@upstash/context7-mcp"]
  }
}
```

### playwright

```json
{
  "playwright": {
    "command": "npx",
    "args": ["-y", "@anthropics/mcp-playwright"]
  }
}
```

### postgres

```json
{
  "postgres": {
    "command": "uvx",
    "args": ["postgres-mcp", "--access-mode=unrestricted"],
    "env": {
      "DATABASE_URI": "postgresql://user:pass@host:5432/db"
    }
  }
}
```

CHANGELOG.md

# Changelog

## [0.3.3](https://github.com/es6kr/skills/compare/mcp-config-v0.3.2...mcp-config-v0.3.3) (2026-09-18)


### Bug Fixes

* **cleanup:** make the session-end report table self-sufficient ([#487](https://github.com/es6kr/skills/issues/487)) ([c4a0255](https://github.com/es6kr/skills/commit/c4a02557fb8de3b32cf337c549f62535dabf824b))

## [0.3.2](https://github.com/es6kr/skills/compare/mcp-config-v0.3.1...mcp-config-v0.3.2) (2026-08-17)


### Bug Fixes

* **wip:** cross-ref PR-URL and TaskCreate subject repo-qualifier rules ([#186](https://github.com/es6kr/skills/issues/186)) ([4982364](https://github.com/es6kr/skills/commit/49823641a7b08123ebd0325273892bee41bc3280))

## [0.3.1](https://github.com/es6kr/skills/compare/mcp-config-v0.3.0...mcp-config-v0.3.1) (2026-08-05)


### Bug Fixes

* **wip:** cross-ref PR-URL and TaskCreate subject repo-qualifier rules ([#186](https://github.com/es6kr/skills/issues/186)) ([951c1e6](https://github.com/es6kr/skills/commit/951c1e6871e78e226757c6a7ae5ae53efeb7bfb0))

## [0.3.0](https://github.com/es6kr/skills/compare/mcp-config-v0.2.0...mcp-config-v0.3.0) (2026-06-03)


### Features

* add metadata block (author, version) to all skills ([a36d9a5](https://github.com/es6kr/skills/commit/a36d9a5f029b595847220c3cc867370c7ff30a21))
* **ci:** add lint jobs and untrack LICENSE ([#7](https://github.com/es6kr/skills/issues/7) Phase 1) ([03a8587](https://github.com/es6kr/skills/commit/03a85872c575c6ffdf72f5ca2bdb353fdc947a73))
* publish 6 skills, rename folders to match slugs, add skill-kit find topic ([cc9859d](https://github.com/es6kr/skills/commit/cc9859ddbb2fa87e978a0f34c2ec6d18b9573995))
* publish 7 new skills, update 4 existing skills ([dce016d](https://github.com/es6kr/skills/commit/dce016da291f4c9da03746f8be668fa5db04e578))
* update 4 skills — session move, mcp diagnostics, git-repo worktree, fix improvements ([316c85f](https://github.com/es6kr/skills/commit/316c85f186ef94bbb5acae86d26dd6ac7fb027e9))


### Bug Fixes

* address CodeRabbit review findings on PR [#4](https://github.com/es6kr/skills/issues/4) ([bbaefdc](https://github.com/es6kr/skills/commit/bbaefdc8a88f26b0b072e115d0696e732ac52e0c))


### Documentation

* **mcp-config:** enrich add + diagnostics topics ([6f4a312](https://github.com/es6kr/skills/commit/6f4a3126f91f0b20246021fc4aae6056879675cd))

## [0.2.0](https://github.com/es6kr/skills/compare/mcp-config-v0.1.2...mcp-config-v0.2.0) (2026-05-24)


### Features

* **ci:** add lint jobs and untrack LICENSE ([#7](https://github.com/es6kr/skills/issues/7) Phase 1) ([03a8587](https://github.com/es6kr/skills/commit/03a85872c575c6ffdf72f5ca2bdb353fdc947a73))
* publish 7 new skills, update 4 existing skills ([dce016d](https://github.com/es6kr/skills/commit/dce016da291f4c9da03746f8be668fa5db04e578))


### Bug Fixes

* address CodeRabbit review findings on PR [#4](https://github.com/es6kr/skills/issues/4) ([bbaefdc](https://github.com/es6kr/skills/commit/bbaefdc8a88f26b0b072e115d0696e732ac52e0c))

Sponsored

Ads related to mcp-config and adjacent AI workflows.