1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

claudeCodeのMCP導入

1
Last updated at Posted at 2026-05-03

概要

  • claudeCodeにMCPサーバーの設定を導入する
  • MCPサーバーにはローカルのgitリポジトリを使う

知見メモ

  • claudeには claudeCode(CLI)claudeDesktop が存在するが、これらの設定はお互いに独立している
  • 本記事では基本的に claudeDesktop についてのみ言及する

claudeDesktop設定

A.前準備:uv(python環境管理ツール)を入れる

(追記:npxを使うようにしたのでuvは入れなくて良い)

  1. uv --version でコマンド入っていないこと確認(入っていれば後続の作業不要)
  2. uv公式githubどおりのインストール手順実行
    curl -LsSf https://astral.sh/uv/install.sh | sh
  3. 設定読み込み source $HOME/.local/bin/env
  4. uv --version が表示されればOK

B.設定編集

  1. 設定ファイル存在確認
    ls ~/Library/Application\ Support/Claude/claude_desktop_config.json
  2. 編集
    vimでも良いし、左下の設定>開発者>設定を編集で下記の "mcpServers" の内容を追記
  3. jsonの中身
    {
      "preferences": {
        "coworkWebSearchEnabled": true,
        "coworkScheduledTasksEnabled": true,
        "ccdScheduledTasksEnabled": true
      },
      "mcpServers": {
        "fluentd_practice": {
          "command": "npx",
          "args": [
            "-y",
            "@modelcontextprotocol/server-filesystem",
            "/Users/{{ユーザー名}}/git/fluentd_practice"
          ]
        }
      }
    }
    
  4. アプリ再起動して fluentd_practiceのディレクトリ構成見せて で中身回答もらえればOK

C.MCPサーバーの追加

1.コンフル追加
code ~/Library/Application\ Support/Claude/claude_desktop_config.json
"mcpServers"内の要素として下記を追加

    "atlassian": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://mcp.atlassian.com/v1/mcp/authv2"
      ]
    }
1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?