Windows版 Claude Desktop × AWS MCP Servers 設定


### はじめに

Windows で Claude Desktop から AWS MCP Servers を利用する際の設定メモです。

* Claude Desktop

https://claude.ai/download

* AWS MCP Servers

https://github.com/awslabs/mcp

ドキュメント通りに設定しても Claude Desktop で MCP 設定エラーとなり MCP が 「runnning」 にならない場合に参照してください。

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/3288944/ef8410e5-bd5b-49a6-95b3-39044e7144bc.png)

* 設定ファイル
ファイル > 設定 > 開発者 > 構成の編集

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/3288944/ff415522-986e-49b1-9df7-882064081e5a.png)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/3288944/497a6bb7-2fe6-4286-828f-6574fc583c21.png)

開いたエクスプローラーの「**claude_desktop_config.json**」が設定ファイルです。

### AWS MCP Servers
:::note warn
2025/4/21時点の情報です。
:::

#### Core MCP Server

https://github.com/awslabs/mcp/blob/main/src/core-mcp-server/README.md

```json:claude_desktop_config.json
    "awslabs.core-mcp-server": {
      "command": "uvx",
      "args": [
        "--from",
        "awslabs-core-mcp-server",
        "awslabs.core-mcp-server.exe"
      ],
      "env": {
        "FASTMCP_LOG_LEVEL": "ERROR"
      },
      "disabled": false,
      "autoApprove": []
    }
```

#### AWS Documentation MCP Server

https://github.com/awslabs/mcp/blob/main/src/aws-documentation-mcp-server/README.md

```json:claude_desktop_config.json
    "awslabs.aws-documentation-mcp-server": {
      "command": "uvx",
      "args": [
          "--from",
          "awslabs-aws-documentation-mcp-server",
          "awslabs.aws-documentation-mcp-server.exe"
      ],
      "env": {
          "FASTMCP_LOG_LEVEL": "ERROR"
      },
      "disabled": false,
      "autoApprove": []
    }
```

#### Amazon Bedrock Knowledge Base Retrieval MCP Server

https://github.com/awslabs/mcp/blob/main/src/bedrock-kb-retrieval-mcp-server/README.md

```json:claude_desktop_config.json
    "awslabs.bedrock-kb-retrieval-mcp-server": {
      "command": "uvx",
      "args": [
        "--from",
        "awslabs-bedrock-kb-retrieval-mcp-server",
        "awslabs.bedrock-kb-retrieval-mcp-server.exe"
      ],
      "env": {
        "FASTMCP_LOG_LEVEL": "ERROR",
        "AWS_PROFILE": "default",
        "AWS_REGION": "ap-northeast-1"
      },
      "disabled": false,
      "autoApprove": []
    }
```

* `"AWS_PROFILE"`　AWS CLIをインストールしてaws configで登録したprofileを設定します。
C:\Users\\[ユーザ名]\\.aws参照。
* `"AWS_REGION"`　Bedrockのナレッジベースをデプロイしたリージョンを設定します。

#### AWS CDK MCP Server

https://github.com/awslabs/mcp/blob/main/src/cdk-mcp-server/README.md

```json:claude_desktop_config.json
    "awslabs.cdk-mcp-server": {
      "command": "uvx",
      "args": [
        "--from",
        "awslabs-cdk-mcp-server",
        "awslabs.cdk-mcp-server.exe"
      ],
      "env": {
        "FASTMCP_LOG_LEVEL": "ERROR"
      },
      "disabled": false,
      "autoApprove": []
    }
```

#### Cost Analysis MCP Server

https://github.com/awslabs/mcp/blob/main/src/cost-analysis-mcp-server/README.md

```json:claude_desktop_config.json
    "awslabs.cost-analysis-mcp-server": {
      "command": "uvx",
      "args": [
        "--from",
        "awslabs-cost-analysis-mcp-server",
        "awslabs.cost-analysis-mcp-server.exe"
      ],
      "env": {
        "FASTMCP_LOG_LEVEL": "ERROR",
        "AWS_PROFILE": "default"
      },
      "disabled": false,
      "autoApprove": []
    }
```

* `"AWS_PROFILE"`　AWS CLIをインストールしてaws configで登録したprofileを設定します。
C:\Users\\[ユーザ名]\\.aws参照。

#### Amazon Nova Canvas MCP Server

https://github.com/awslabs/mcp/blob/main/src/nova-canvas-mcp-server/README.md

```json:claude_desktop_config.json
    "awslabs.nova-canvas-mcp-server": {
      "command": "uvx",
      "args": [
        "--from",
        "awslabs-nova-canvas-mcp-server",
        "awslabs.nova-canvas-mcp-server.exe"
      ],
      "env": {
        "FASTMCP_LOG_LEVEL": "ERROR",
        "AWS_PROFILE": "default",
        "AWS_REGION": "ap-northeast-1"
      },
      "disabled": false,
      "autoApprove": []
    }
```

* `"AWS_PROFILE"`　AWS CLIをインストールしてaws configで登録したprofileを設定します。
C:\Users\\[ユーザ名]\\.aws参照。
* `"AWS_REGION"`　Novaのモデルをデプロイしたリージョンを設定します。

#### AWS Diagram MCP Server

https://github.com/awslabs/mcp/blob/main/src/aws-diagram-mcp-server/README.md

```json:claude_desktop_config.json
    "awslabs.aws-diagram-mcp-server": {
      "command": "uvx",
      "args": [
        "--from",
        "awslabs-aws-diagram-mcp-server",
        "awslabs.aws-diagram-mcp-server.exe"
      ],
      "env": {
        "FASTMCP_LOG_LEVEL": "ERROR"
      },
      "disabled": false,
      "autoApprove": []
    }
```

#### AWS Lambda MCP Server

https://github.com/awslabs/mcp/blob/main/src/lambda-mcp-server/README.md

```json:claude_desktop_config.json
    "awslabs.lambda-mcp-server": {
      "command": "uvx",
      "args": [
        "--from",
        "awslabs-lambda-mcp-server",
        "awslabs.lambda-mcp-server.exe"
      ],
      "env": {
        "FASTMCP_LOG_LEVEL": "ERROR",
        "AWS_PROFILE": "default",
        "AWS_REGION": "ap-northeast-1",
        "FUNCTION_LIST": "your-first-function, your-second-function"
      },
      "disabled": false,
      "autoApprove": []
    }
```

* `"AWS_PROFILE"`　AWS CLIをインストールしてaws configで登録したprofileを設定します。
C:\Users\\[ユーザ名]\\.aws参照。
* `"AWS_REGION"`　Lambdaをデプロイしたリージョンを設定します。
* `"FUNCTION_LIST"`　MCPで実行したいLambdaの関数名を設定します。
* `"FUNCTION_PREFIX"`　MCPで実行したいLambdaの関数名のプレフィックスを設定します。
* `"FUNCTION_TAG_KEY"`, `"FUNCTION_TAG_KEY"`　MCPで実行したいLambda関数名のタグを設定します。

#### AWS Terraform MCP Server

https://github.com/awslabs/mcp/blob/main/src/terraform-mcp-server/README.md

```json:claude_desktop_config.json
確認中。。。
```

#### ALL IN ONE

<details><summary>すべての AWS MCP Servers の設定です。（claude_desktop_config.json）</summary>

```json:claude_desktop_config.json
{
  "mcpServers": {
    "awslabs.core-mcp-server": {
      "command": "uvx",
      "args": [
        "--from",
        "awslabs-core-mcp-server",
        "awslabs.core-mcp-server.exe"
      ],
      "env": {
        "FASTMCP_LOG_LEVEL": "ERROR"
      },
      "disabled": false,
      "autoApprove": []
    },
    "awslabs.aws-documentation-mcp-server": {
      "command": "uvx",
      "args": [
          "--from",
          "awslabs-aws-documentation-mcp-server",
          "awslabs.aws-documentation-mcp-server.exe"
      ],
      "env": {
          "FASTMCP_LOG_LEVEL": "ERROR"
      },
      "disabled": false,
      "autoApprove": []
    },
    "awslabs.bedrock-kb-retrieval-mcp-server": {
      "command": "uvx",
      "args": [
        "--from",
        "awslabs-bedrock-kb-retrieval-mcp-server",
        "awslabs.bedrock-kb-retrieval-mcp-server.exe"
      ],
      "env": {
        "FASTMCP_LOG_LEVEL": "ERROR",
        "AWS_PROFILE": "default",
        "AWS_REGION": "ap-northeast-1"
      },
      "disabled": false,
      "autoApprove": []
    },
    "awslabs.cdk-mcp-server": {
      "command": "uvx",
      "args": [
        "--from",
        "awslabs-cdk-mcp-server",
        "awslabs.cdk-mcp-server.exe"
      ],
      "env": {
        "FASTMCP_LOG_LEVEL": "ERROR"
      },
      "disabled": false,
      "autoApprove": []
    },
    "awslabs.cost-analysis-mcp-server": {
      "command": "uvx",
      "args": [
        "--from",
        "awslabs-cost-analysis-mcp-server",
        "awslabs.cost-analysis-mcp-server.exe"
      ],
      "env": {
        "FASTMCP_LOG_LEVEL": "ERROR",
        "AWS_PROFILE": "default"
      },
      "disabled": false,
      "autoApprove": []
    },
    "awslabs.nova-canvas-mcp-server": {
      "command": "uvx",
      "args": [
        "--from",
        "awslabs-nova-canvas-mcp-server",
        "awslabs.nova-canvas-mcp-server.exe"
      ],
      "env": {
        "FASTMCP_LOG_LEVEL": "ERROR",
        "AWS_PROFILE": "default",
        "AWS_REGION": "ap-northeast-1"
      },
      "disabled": false,
      "autoApprove": []
    },
    "awslabs.aws-diagram-mcp-server": {
      "command": "uvx",
      "args": [
        "--from",
        "awslabs-aws-diagram-mcp-server",
        "awslabs.aws-diagram-mcp-server.exe"
      ],
      "env": {
        "FASTMCP_LOG_LEVEL": "ERROR"
      },
      "disabled": false,
      "autoApprove": []
    },
    "awslabs.lambda-mcp-server": {
      "command": "uvx",
      "args": [
        "--from",
        "awslabs-lambda-mcp-server",
        "awslabs.lambda-mcp-server.exe"
      ],
      "env": {
        "FASTMCP_LOG_LEVEL": "ERROR",
        "AWS_PROFILE": "default",
        "AWS_REGION": "ap-northeast-1",
        "FUNCTION_LIST": "your-first-function, your-second-function"
      },
      "disabled": false,
      "autoApprove": []
    }
  }
}
```
</details>

#### 設定反映
設定を反映するには、一度Claude Desktopを終了してから、Claude Desktopを起動します。

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/3288944/1215cfe5-b280-48a1-96b4-4eb9c62815cb.png)


:::note warn
MCP Server の設定するとローカルに uv のキャッシュが生成されます。
ディスク容量が大きくなる場合がありますので、確認の上、MCP Server の設定を実施してください。
**C:\Users\\[ユーザ名]\AppData\Local\uv\cache\archive-v0**
:::

設定後、以下のように 「running」 なっていればOKです！
ファイル > 設定 > 開発者

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/3288944/d1290c16-3b95-4aaa-bb85-4aebf337f2ed.png)