← スキル一覧に戻る

mcp-configuration
by vanman2024
⭐ 0🍴 0📅 2026年1月13日
SKILL.md
name: MCP Configuration description: MCP server configuration templates and setup scripts. Use when configuring MCP servers, setting up MCP environment, managing MCP configs, adding MCP servers, or when user mentions MCP setup, MCP configuration, server environment, or MCP installation. allowed-tools: Read, Write, Bash
MCP Configuration
This skill provides MCP server configuration templates, setup scripts, and environment management helpers for Claude Code MCP integration.
What This Skill Provides
1. Configuration Templates
.mcp.jsontemplate for MCP server definitions- Server configuration examples (FastMCP, Node.js, Python)
- API key management patterns
2. Setup Scripts
setup-mcp-server.sh- Configure MCP server in .mcp.jsonvalidate-mcp-config.sh- Validate MCP configurationlist-mcp-servers.sh- List available MCP servers
3. Server Type Templates
- stdio servers (local process)
- HTTP servers (remote API)
- SSE servers (server-sent events)
Instructions
Adding MCP Server Configuration
When user wants to configure MCP servers:
- Check if .mcp.json exists in project
- Use template to create/update configuration
- Add server definition with type, command, args
- Configure environment variables if needed
Example structure:
- mcpServers object
- Server name as key
- type: "stdio" or "http"
- command and args for stdio
- url for http servers
Validating Configuration
Execute validation script:
!{bash plugins/01-core/skills/mcp-configuration/scripts/validate-mcp-config.sh .mcp.json}
Checks for:
- Valid JSON format
- Required fields present
- Correct server type
- Valid command paths
Environment Setup
For MCP servers requiring API keys:
- Create .env file (if not exists)
- Add API key variables
- Reference in MCP server config
- Ensure .env is in .gitignore
Configuration Examples
FastMCP Server (stdio):
- type: stdio
- command: python
- args: ["-m", "server_name"]
HTTP Server:
- type: http
- url: https://api.example.com
With Environment Variables:
- env: { API_KEY: "${API_KEY}" }
- Reads from .env file
Success Criteria
- ✅ Valid .mcp.json configuration
- ✅ Server definitions are correct
- ✅ Environment variables configured
- ✅ API keys secured in .env
- ✅ Configuration validated
Plugin: 01-core Skill Type: Generator + Validator Auto-invocation: Yes (via description matching)
スコア
総合スコア
50/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です