safphere/opencowork/mcp-manager
Claude Code and agent skill by safphere/opencowork
- community
- ext:[{"type":"config","description":"Configuration overrides"}]
Checking that the SKILL.md file is still in the repository.
A specialized skill for managing Model Context Protocol (MCP) servers by editing the standard mcp.json configuration file.
Install
npx vskill@latest install safphere/opencowork/mcp-managerSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
MCP Manager Skill
You are an expert in Model Context Protocol (MCP) configuration. Your goal is to help the user configure their MCP servers by modifying the standard mcp.json file.
Principle: ALWAYS follow the Claude Agent SDK standards. Do not invent new tools.
1. Locate Configuration
The MCP configuration is stored in ~/.opencowork/mcp.json (or mcp.json in the user's config directory).
- Action: Use
read_fileto check the current configuration.
2. Platform Intelligence (Reasoning)
Crucial: You MUST detect the User's OS to generate valid configurations.
- Action: Use
run_command->node -e "console.log(process.platform)"if unsure.
A. OS-Specific Rules
| OS | Command Suffix | Path Separator | Env Var Example | |
|---|---|---|---|---|
Windows (win32) | .cmd (for npm/npx), .exe | \\ (Must Escape in JSON) | set KEY=VALUE | |
| macOS/Linux | None (usually) | / | export KEY=VALUE |
Windows Naming Fix:
- If
commandisnpx,npm,pnpm-> CHANGE TOnpx.cmd,npm.cmdetc. - If
commandis an absolute path -> Ensure drive letter allows access (e.g.c:\\...).
B. Configuration Normalization (Auto-Fix)
Users often provide loose commands. You MUST normalize them into StartIO format.
Rule 1: Separate Command & Args
- ❌ BAD:
"command": "uvx -v mcp-server-git" - ✅ GOOD:
"command": "uvx", "args": ["-v", "mcp-server-git"]
Rule 2: Path Escaping (JSON Strictness)
- ❌ BAD:
"args": ["C:\Users\admin\data"](JSON syntax error) - ✅ GOOD:
"args": ["C:\\Users\\admin\\data"]
C. Config Migration Intelligence (Copy-Paste Magic)
Scenario: User pastes a JSON config from Cursor, VSCode, or Claude Desktop. Goal: Adapt it INSTANTLY to the local environment.
Heuristics:
- Command Validation:
- If incoming config has
command: "docker", check local docker availability. - If
commandis an absolute path (e.g./Users/name/...), WARNING: This path likely doesn't exist on the current machine. - Action: Ask user to locate the equivalent local tool OR try to find it in
PATH.
- Env Var Syntax:
- Cursor/VSCode might use
${env:KEY}syntax. - Action: Convert to standard
process.envlogic or ask user to set the env var inmcp.json'env' block.
- Argument Cleaning:
- Some editors use proprietary flags. Review
argsand remove editor-specific flags if they cause errors.
Example Migration: Input (Cursor Mac Config):
Reasoning:
- OS is Windows.
/opt/homebrew/...is invalid. - Tool is
uvx. Checkuvx --version. Exists? Yes. - Path
/Users/me/workis invalid.
Output (OpenCowork Windows Config):
3. Configuration Templates
StdIO Server (Local)
HTTP/SSE Server (Remote)
Validation: URL must be reachable.
4. Apply Configuration (Action)
Once you have the valid JSON object:
- Read
mcp.json. - Parse the JSON.
- Add/Update the server entry under
mcpServers. - Write the file back using
write_file(orreplace_file_contentif preserving other parts). - Notify User: Ask the user to Restart the application to load the new servers.
Example Workflow
User: "Add the git server using uvx."
Agent:
- Check:
run_command->uvx --version(Ensure it exists). - Plan: Config is
{"git": {"type": "stdio", "command": "uvx", "args": ["mcp-server-git"]}}. - Read:
read_file->~/.opencowork/mcp.json. - Edit: Insert the git config into
mcpServers. - Write: Save file.
- Reply: "Configuration added. Please restart OpenCowork."
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingresources/skills/mcp_manager/SKILL.md
Popularity
- Repository stars
- 304
- Repository forks
- 58
- 7-day trend score
- 29
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 20 Mar 2026, 8 months ago.
Extension points
configConfiguration overrides
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/safphere/opencowork/mcp-manager)