---
schema_version: "1"
id: eacdc37cddae374a3c84c3b306730936ff6fbc555dc1b1d85e1bc51e9051f390
title: MuleSoft MCP Server の使用開始
collection: mulesoft
version: current
locale: ja-jp
portal_url: https://docs.salesforce.com/mulesoft/current/ja-jp/mulesoft-mcp-server/getting-started.md
canonical_url: https://docs.mulesoft.com/jp/mulesoft-mcp-server/getting-started
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 73e742513a0feb29d30382558d0e12249ce9765f4f26b5ae4e5e810abc32b5f0
description: MuleSoft Documentation Site
latest: true
---
# MuleSoft MCP Server の使用開始

## [](#前提条件)前提条件

- Anypoint Extension Pack バージョン 1.10.0 以降
- Git
- 組織のシステム管理者アクセス権 ( [接続アプリケーションの作成](https://docs.mulesoft.com/access-management/connected-apps-overview)​のため)
- `generate_mule_flow`​ および ​`generate_api_spec`​ ツールを実行するには、アクセス管理で Einstein を有効にします。詳細は、 [「Enabling Einstein for Anypoint Platform (Anypoint Platform での Einstein の有効化)」](https://docs.mulesoft.com/access-management/enabling-einstein)​を参照してください。

## [](#考慮事項)考慮事項

アプリケーションをデプロイできるのは、CloudHub 2.0 または Runtime Fabric のみです。

## [](#認証のセットアップ)認証のセットアップ

[「Create a Connected App That Acts on Its Own Behalf (単独で動作する接続アプリケーションを作成する)」](https://docs.mulesoft.com/access-management/creating-connected-apps-dev#create-connected-app-on-its-own-behalf)​の手順を使用して、単独で動作する接続アプリケーションを作成します。

ステップ 6 で、以下のスコープを追加します。以下のスコープにすべてのビジネスグループと関連する環境が選択されていることを確認します。

### [](#anypoint-code-builder)Anypoint Code Builder

- Mule Developer Generative AI User (Mule 開発者生成 AI ユーザー)

### [](#anypoint-monitoring)Anypoint Monitoring

- Monitoring Viewer (Monitoring 閲覧者)

### [](#api-manager)API Manager

- API 設定の管理
- ポリシーの管理
- API 設定の表示
- ポリシーの表示

### [](#exchange)Exchange

- Exchange Administrator (Exchange 管理者)
- Exchange Contributor (Exchange コントリビューター)
- Exchange Creator (Exchange 作成者)
- Exchange Viewer (Exchange 閲覧者)

### [](#一般)一般

- View Organization (組織の表示)
- View Connected Application (接続アプリケーションの表示)

### [](#runtime-manager)Runtime Manager

- Read Applications (アプリケーションの参照)
- アプリケーションの作成
- Read Runtime Fabrics (Runtime Fabric の参照)
- Cloudhub Network Viewer (Cloudhub ネットワーク閲覧者)

### [](#使用状況)使用状況

- Usage Viewer (使用状況閲覧者)

## [](#mulesoft-mcp-server-のインストール)MuleSoft MCP Server のインストール

サーバーをノードと共にインストールするには、次のコマンドを入力します。 ​`npm install -g @mulesoft/mcp-server`

## [](#mulesoft-mcp-server-の設定)MuleSoft MCP Server の設定

Claude Desktop、Cursor、Windsurf、Zed、およびその他の IDE を MuleSoft MCP Server と連携するように設定できます。

### [](#claude-desktop)[Claude Desktop](https://claude.ai/download)

次のスニペットを ​`claude_desktop_config.json`​ に追加します。​`ANYPOINT_REGION`​ (省略可能) は、​`PROD_US`​、​`PROD_EU`​、​`PROD_CA`​、または ​`PROD_JP`​ のいずれかの値になります。

{
  "mcpServers": {
    "mulesoft": {
      "command": "npx",
      "args": \["-y", "@mulesoft/mcp-server", "start"\],
      "env": {
        "ANYPOINT\_CLIENT\_ID": "<YOUR\_CLIENT\_ID>",
        "ANYPOINT\_CLIENT\_SECRET": "<YOUR\_CLIENT\_SECRET>",
        "ANYPOINT\_REGION": "<REGION\_NAME>"
      }
    }
  }
}

### [](#cline)[Cline](https://cline.bot/)

次のスニペットを Cline の ​`config.json`​ に追加します。​`ANYPOINT_REGION`​ (省略可能) は、​`PROD_US`​、​`PROD_EU`​、​`PROD_CA`​、または ​`PROD_JP`​ のいずれかの値になります。

{
  "mcpServers": {
    "mulesoft": {
      "command": "npx",
      "args": \["-y", "@mulesoft/mcp-server", "start"\],
      "env": {
        "ANYPOINT\_CLIENT\_ID": "<YOUR\_CLIENT\_ID>",
        "ANYPOINT\_CLIENT\_SECRET": "<YOUR\_CLIENT\_SECRET>",
        "ANYPOINT\_REGION": "<REGION\_NAME>"
      }
    }
  }
}

### [](#cursor)[Cursor](https://www.cursor.com/)

次のスニペットを Cursor の ​`mcp.json`​ に追加します。​`ANYPOINT_REGION`​ (省略可能) は、​`PROD_US`​、​`PROD_EU`​、​`PROD_CA`​、または ​`PROD_JP`​ のいずれかの値になります。

{
  "mcpServers": {
    "mulesoft": {
      "command": "npx",
      "args": \["-y", "@mulesoft/mcp-server", "start"\],
      "env": {
        "ANYPOINT\_CLIENT\_ID": "<YOUR\_CLIENT\_ID>",
        "ANYPOINT\_CLIENT\_SECRET": "<YOUR\_CLIENT\_SECRET>",
        "ANYPOINT\_REGION": "<REGION\_NAME>"
      }
    }
  }
}

### [](#trae)[Trae](https://trae.ai/)

次のスニペットを Trae の ​`mcp_settings.json`​ または ​`.vscode/mcp.json`​ に追加します。​`ANYPOINT_REGION`​ (省略可能) は、​`PROD_US`​、​`PROD_EU`​、​`PROD_CA`​、または ​`PROD_JP`​ のいずれかの値になります。

{
  "mcpServers": {
    "mulesoft": {
      "command": "npx",
      "args": \["-y", "@mulesoft/mcp-server", "start"\],
      "env": {
        "ANYPOINT\_CLIENT\_ID": "<YOUR\_CLIENT\_ID>",
        "ANYPOINT\_CLIENT\_SECRET": "<YOUR\_CLIENT\_SECRET>",
        "ANYPOINT\_REGION": "<REGION\_NAME>"
      }
    }
  }
}

### [](#vs-code)[VS Code](https://code.visualstudio.com/)

次のスニペットを VS Code の ​`settings.json`​ または ​`.vscode/mcp.json`​ に追加します。​`ANYPOINT_REGION`​ (省略可能) は、​`PROD_US`​、​`PROD_EU`​、​`PROD_CA`​、または ​`PROD_JP`​ のいずれかの値になります。

{
  "mcp": {
    "servers": {
      "mulesoft": {
        "command": "npx",
        "args": \["-y", "@mulesoft/mcp-server", "start"\],
        "env": {
          "ANYPOINT\_CLIENT\_ID": "<YOUR\_CLIENT\_ID>",
          "ANYPOINT\_CLIENT\_SECRET": "<YOUR\_CLIENT\_SECRET>",
          "ANYPOINT\_REGION": "<REGION\_NAME>"
        }
      }
    }
  }
}

### [](#windsurf)[Windsurf](https://www.windsurf.com/)

次のスニペットを Windsurf の ​`mcp_config.json`​ に追加します。​`ANYPOINT_REGION`​ (省略可能) は、​`PROD_US`​、​`PROD_EU`​、​`PROD_CA`​、または ​`PROD_JP`​ のいずれかの値になります。

{
  "mcpServers": {
    "mulesoft": {
      "command": "npx",
      "args": \["-y", "@mulesoft/mcp-server", "start"\],
      "env": {
        "ANYPOINT\_CLIENT\_ID": "<YOUR\_CLIENT\_ID>",
        "ANYPOINT\_CLIENT\_SECRET": "<YOUR\_CLIENT\_SECRET>",
        "ANYPOINT\_REGION": "<REGION\_NAME>"
      }
    }
  }
}

### [](#zed)[Zed](https://github.com/zed-industries/zed)

次のスニペットを Zed の ​`settings.json`​ に追加します。​`ANYPOINT_REGION`​ (省略可能) は、​`PROD_US`​、​`PROD_EU`​、​`PROD_CA`​、または ​`PROD_JP`​ のいずれかの値になります。

{
  "context\_servers": {
    "mulesoft": {
      "command": "npx",
      "args": \["-y", "@mulesoft/mcp-server", "start"\],
      "env": {
        "ANYPOINT\_CLIENT\_ID": "<YOUR\_CLIENT\_ID>",
        "ANYPOINT\_CLIENT\_SECRET": "<YOUR\_CLIENT\_SECRET>",
        "ANYPOINT\_REGION": "<REGION\_NAME>"
      }
    }
  }
}

- [概要](https://docs.mulesoft.com/jp/mulesoft-mcp-server/)