Install MCP Server

VerifiedCaution

Installs MCP servers by running the `claude mcp add` command. Helps when you need to set up a new MCP server like GitHub or Filesystem, guiding you through name selection, scope (user or project), and environment variable configuration.

Sby Skills Guide Bot
DevelopmentBeginner
506/2/2026
Claude Code
#mcp#installation#claude-code#server-setup

Recommended for

Our review

Installs an MCP (Model Context Protocol) server using the `claude mcp add` command after user confirmation.

Strengths

  • Step-by-step guidance with clear confirmations before installation.
  • Supports popular MCP servers with built-in environment variable hints.
  • Handles user or project scope selection.

Limitations

  • Does not set environment variable values for security reasons.
  • Requires the user to know the exact MCP server name.
When to use it

When you need to add an MCP server to Claude Code to extend its capabilities (GitHub, databases, etc.).

When not to use it

For bulk or automated installations without user interaction.

Security analysis

Caution
Quality score90/100

The skill uses Bash to run a configuration command, which is a powerful tool, but only for adding MCP servers. It includes user confirmation and explicitly avoids setting environment variable values. The risk is low, but caution is warranted due to Bash usage.

Findings
  • Uses Bash to execute 'claude mcp add' command which modifies MCP server configuration; requires user confirmation but still a system-level change.

Examples

Install GitHub MCP
Install the GitHub MCP server so I can interact with GitHub from Claude Code.
Add filesystem MCP
Add the filesystem MCP server to my project scope.
Install PostgreSQL MCP
I need to install a MCP server for PostgreSQL. Please help me add it.

name: install-mcp description: MCP サーバーをインストールする。「MCP インストール」「MCP を追加」「MCP サーバー追加」「mcp add」「MCP を入れて」「MCP サーバーをインストール」「新しい MCP」などで起動。 allowed-tools: [Bash, AskUserQuestion]

Install MCP

MCP サーバーをインストールします。

実行手順

  1. ユーザーに以下を確認:
    • MCP サーバー名(例: github, filesystem, puppeteer)
    • スコープ(user または project)
  2. claude mcp add <name> --scope <scope> コマンドを実行
  3. 必要に応じて環境変数の設定を案内
  4. インストール完了メッセージを表示

人気の MCP サーバー

| 名前 | 説明 | 必要な環境変数 | |------|------|----------------| | github | GitHub API 操作 | GITHUB_PERSONAL_ACCESS_TOKEN | | filesystem | ファイルシステム操作 | なし | | puppeteer | ブラウザ自動化 | なし | | postgres | PostgreSQL 操作 | DATABASE_URL | | sqlite | SQLite 操作 | なし |

インストール確認フォーマット

## MCP サーバーインストール

以下の設定でインストールしますか?

| 項目 | 値 |
|------|-----|
| サーバー名 | github |
| スコープ | user |

実行するコマンド:
\`\`\`bash
claude mcp add github --scope user
\`\`\`

出力フォーマット(インストール完了時)

## インストール完了

MCP サーバー「github」をインストールしました。

### 環境変数の設定

このサーバーには以下の環境変数が必要です:

| 変数名 | 説明 |
|--------|------|
| GITHUB_PERSONAL_ACCESS_TOKEN | GitHub パーソナルアクセストークン |

設定方法:
\`\`\`bash
export GITHUB_PERSONAL_ACCESS_TOKEN="your_token_here"
\`\`\`

または `.claude/settings.json``env` セクションに追加してください。

重要な注意事項

  • ✅ インストール前に確認を求める
  • ✅ 必要な環境変数を案内
  • ✅ スコープの選択肢を提示
  • ❌ 環境変数の値自体は設定しない(セキュリティ上の理由)
Related skills