Back to list
clearfunction

mcp-management

by clearfunction

Claude Code skills plugin featuring Slidev presentations and developer productivity tools

1🍴 1📅 Jan 24, 2026

SKILL.md


name: mcp-management description: > Manages MCP (Model Context Protocol) servers for Claude Code and Claude Desktop. Activates for: finding MCP servers, MCP registries, MCP server setup, MCP configuration, MCP troubleshooting, MCP security, building MCP servers, MCP transport selection, claude mcp commands, mcp.json files, mcpServers configuration, tool poisoning prevention, MCP debugging, Smithery, Glama, GitHub MCP registry, which MCP server should I use. NOT for: general Claude Code settings (use claude-code-mastery), OAuth/authentication unrelated to MCP, generic API integrations without MCP.

MCP Management

Comprehensive guide for finding, configuring, securing, and building MCP servers for Claude Code and Claude Desktop.

Quick Navigation

Platform Differences

AspectClaude CodeClaude Desktop
Config location~/.claude/settings.json~/Library/Application Support/Claude/claude_desktop_config.json
CLI managementclaude mcp add/list/removeManual JSON editing
Scopeslocal/project/userSingle config
Hot reloadSupportedRequires full restart (Cmd+Q)
Can act as serverYes (claude mcp serve)No

Discovering MCP Servers

Primary Registries

RegistryServersBest For
Official MCP RegistryCanonicalVerified, authoritative source
GitHub MCP RegistryCuratedGitHub-native, one-click VS Code install
Smithery.ai4,600+Usage metrics, edge deployment
Glama.ai10,000+Hosted option, no local setup
PulseMCP7,500+Daily updates, streaming focus

Specialized Directories

RegistryFocus
Cursor DirectoryCursor IDE optimized (1,800+)
MastraMeta-aggregator across registries
MCP.soQuality-verified listings
Awesome MCP ServersCommunity curated GitHub list
HiMCP.aiUptime & performance metrics
MCPdb.orgRegional filtering, tech docs
MCPMarket.comCommercial/enterprise with pricing
Portkey.aiEnterprise security/compliance
MCPServers.orgUser reviews, troubleshooting guides
Cline.botCline AI one-click integration
APITracker.ioAPI version tracking
AIXploriaEditorial reviews, use-case guides

Evaluation Criteria

When selecting an MCP server:

  1. Maintenance: Recent commits? Active issues?
  2. Security: Reviewed code? Known vulnerabilities?
  3. Token cost: How many tokens does it consume?
  4. Transport: HTTP (remote) vs stdio (local)?
  5. Trust: Official vs community vs unknown author?

Pre-Installation Workflow

CRITICAL: Before installing ANY MCP server, follow this workflow:

1. Fetch and Read the README

Always retrieve the server's README.md from GitHub or the registry:

# View README directly
gh repo view owner/repo-name

# Or fetch raw README
curl -s https://raw.githubusercontent.com/owner/repo/main/README.md

Look for:

  • Required environment variables
  • Prerequisites (Node 18+, Python 3.10+, API keys)
  • Configuration options and defaults
  • Usage examples and limitations
  • Security considerations

2. Check for Deprecations

DeprecatedUse Instead
SSE transportHTTP or stdio (June 2025 spec)
@modelcontextprotocol/server-github@github/github-mcp-server (April 2025)
OAuth 2.0 for HTTPOAuth 2.1 required (March 2025 spec)

3. Verify Prerequisites

# Check Node version (18+ typically required)
node --version

# Check Python version (3.10+ for MCP SDK)
python3 --version

# Check if package exists
npm view @package/server-name

4. Review Security Implications

Before proceeding, confirm:

  • What filesystem paths can it access?
  • What network requests can it make?
  • What environment variables does it read?
  • Is the source code available and reviewed?

5. Install Following README Instructions

Only after completing steps 1-4, install using the README's recommended method.

Transport Types

TransportUse WhenExample
HTTPCloud services, remote APIsclaude mcp add --transport http notion https://mcp.notion.com/mcp
stdioLocal tools, system accessclaude mcp add --transport stdio fs -- npx -y @anthropic/mcp-server-filesystem
SSELegacy (prefer HTTP)Deprecated for new implementations

Quick Setup Examples

Claude Code (CLI)

# Add remote server
claude mcp add --transport http github https://api.githubcopilot.com/mcp/

# Add local server
claude mcp add --transport stdio postgres -- npx -y @modelcontextprotocol/server-postgres

# List servers
claude mcp list

# Remove server
claude mcp remove github

Claude Desktop (JSON)

{
  "mcpServers": {
    "github": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-github"],
      "env": {
        "GITHUB_PERSONAL_ACCESS_TOKEN": "ghp_xxx"
      }
    }
  }
}

MCP vs CLI Decision

Use MCP WhenUse CLI When
Rich context needed in responsesSimple one-off operations
Complex queries across resourcesQuick lookups
Ongoing session workInfrequent access
Want tool integrationPrefer direct control

Token budget matters: GitHub MCP ~40k tokens. Context7 ~500 tokens. Enable sparingly.

Security Essentials

Critical risks (2025 research: 43% of servers have command injection flaws):

  1. Prompt injection: Malicious content in fetched data manipulates Claude
  2. Tool poisoning: Malicious tool descriptions trick model into unsafe actions
  3. Credential exposure: API keys in version control or logs

Mitigations:

  • Only install from trusted registries
  • Review server code before installing unknown servers
  • Use scoped tokens with minimal permissions
  • Never commit credentials to version control
  • Enable project-scope servers only after review

See references/security-essentials.md for detailed patterns.

Building MCP Servers

Language Selection

ChooseWhen
PythonRapid prototyping, data science tools, existing Python ecosystem
TypeScriptWeb integrations, npm ecosystem, type safety preference

Python Quick Start (FastMCP)

from mcp.server.fastmcp import FastMCP

mcp = FastMCP("my-server")

@mcp.tool()
async def my_tool(param: str) -> str:
    """Tool description for Claude."""
    return f"Result: {param}"

if __name__ == "__main__":
    mcp.run(transport="stdio")

TypeScript Quick Start

import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";

const server = new McpServer({ name: "my-server", version: "1.0.0" });

server.registerTool("my_tool", {
  description: "Tool description for Claude",
  inputSchema: { param: z.string() }
}, async ({ param }) => ({
  content: [{ type: "text", text: `Result: ${param}` }]
}));

const transport = new StdioServerTransport();
await server.connect(transport);

Critical: For stdio transport, NEVER write to stdout (corrupts JSON-RPC). Use stderr or logging libraries.

See references/building-servers.md for complete patterns.

Score

Total Score

60/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

Reviews

💬

Reviews coming soon