Claude-skill-registry admin-mcp
install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/admin-mcp" ~/.claude/skills/majiayu000-claude-skill-registry-admin-mcp && rm -rf "$T"
manifest:
skills/data/admin-mcp/SKILL.mdsafety · automated scan (medium risk)
This is a pattern-based risk scan, not a security review. Our crawler flagged:
- global npm install
- references API keys
Always read a skill's source content before installing. Patterns alone don't mean the skill is malicious — but they warrant attention.
source content
MCP Server Management
Requires: Node.js 18+, Claude Desktop
Profile-First Approach
MCP config and servers tracked in profile:
# Config file location $AdminProfile.mcp.configFile # "C:/Users/Owner/AppData/Roaming/Claude/claude_desktop_config.json" # Installed servers $AdminProfile.mcp.servers | Format-Table
jq '.mcp' "$ADMIN_PROFILE_PATH"
List MCP Servers
$AdminProfile.mcp.servers.PSObject.Properties | ForEach-Object { [PSCustomObject]@{ Name = $_.Name Package = $_.Value.package Status = $_.Value.status Tools = $_.Value.toolCount } }
Example output:
Name Package Status Tools ---- ------- ------ ----- win-cli D:/mcp/win-cli-mcp-server working 12 coolify @pashvc/mcp-server-coolify working 50
Config File Location
From profile:
$configPath = $AdminProfile.mcp.configFile # Or $configPath = $AdminProfile.paths.claudeConfig # Read current config $config = Get-Content $configPath | ConvertFrom-Json $config.mcpServers
Install New MCP Server
Step 1: Backup Config
$configPath = $AdminProfile.mcp.configFile $backup = "$configPath.backup.$(Get-Date -Format 'yyyyMMdd-HHmmss')" Copy-Item $configPath $backup
Step 2: Add Server Entry
$config = Get-Content $configPath | ConvertFrom-Json # NPX pattern (most common) $config.mcpServers | Add-Member -NotePropertyName "new-server" -NotePropertyValue @{ command = "npx" args = @("-y", "@some/mcp-server") } # Save $config | ConvertTo-Json -Depth 10 | Set-Content $configPath
Step 3: Update Profile
$AdminProfile.mcp.servers["new-server"] = @{ name = "new-server" package = "@some/mcp-server" version = "1.0.0" command = "npx -y @some/mcp-server" configFile = $null environment = @{} status = "pending" toolCount = 0 notes = "Just installed" } $AdminProfile | ConvertTo-Json -Depth 10 | Set-Content $AdminProfile.paths.deviceProfile
Step 4: Restart Claude Desktop
Close and reopen Claude Desktop, then verify tools appear.
Step 5: Update Status
$AdminProfile.mcp.servers["new-server"].status = "working" $AdminProfile.mcp.servers["new-server"].toolCount = 15 # Count from Claude $AdminProfile | ConvertTo-Json -Depth 10 | Set-Content $AdminProfile.paths.deviceProfile
Installation Patterns
NPX (Recommended)
{ "command": "npx", "args": ["-y", "@package/mcp-server"] }
Global npm
{ "command": "mcp-server-name" }
Requires:
npm install -g @package/mcp-server
Local Clone
{ "command": "node", "args": ["D:/mcp/server-name/dist/index.js"] }
With Environment Variables
{ "command": "npx", "args": ["-y", "@package/mcp-server"], "env": { "API_KEY": "your-key", "BASE_URL": "https://api.example.com" } }
Troubleshooting
Check Profile for Issues
# Known MCP issues $AdminProfile.issues.current | Where-Object { $_.tool -like "*mcp*" }
Common Problems
| Error | Cause | Fix |
|---|---|---|
| Command not found | Check path, install globally |
| Config syntax | Validate JSON |
| Didn't restart | Close/reopen Claude |
| Path issue | Use absolute Windows paths |
Diagnostics
# Check Node node --version # Check npm global npm list -g --depth=0 # Validate config JSON $configPath = $AdminProfile.mcp.configFile try { Get-Content $configPath | ConvertFrom-Json | Out-Null Write-Host "Config JSON valid" } catch { Write-Host "Config JSON invalid: $_" }
Track MCP Issue
$AdminProfile.issues.current += @{ id = "mcp-$(Get-Date -Format 'yyyyMMdd-HHmmss')" tool = "mcp-server-name" issue = "Server fails to start - spawn ENOENT" priority = "high" status = "pending" created = (Get-Date).ToString("o") } $AdminProfile | ConvertTo-Json -Depth 10 | Set-Content $AdminProfile.paths.deviceProfile
Remove MCP Server
From Claude Config
$config = Get-Content $AdminProfile.mcp.configFile | ConvertFrom-Json $config.mcpServers.PSObject.Properties.Remove("server-to-remove") $config | ConvertTo-Json -Depth 10 | Set-Content $AdminProfile.mcp.configFile
From Profile
$AdminProfile.mcp.servers.PSObject.Properties.Remove("server-to-remove") $AdminProfile | ConvertTo-Json -Depth 10 | Set-Content $AdminProfile.paths.deviceProfile
References
- Detailed install patternsreferences/INSTALLATION.md
- Config file structurereferences/CONFIGURATION.md
- Common fixesreferences/TROUBLESHOOTING.md