shuntaka9576/aws-data-processing-mcp-server-demo
3.1
If you are the rightful owner of aws-data-processing-mcp-server-demo and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to dayong@mcphub.com.
AWS Data Processing MCP Server is a tool designed to facilitate the analysis of IoT sensor data using AWS services like CDK and Athena.
aws-data-processing-mcp-server-demo
AWS CDK + Athena + AWS Data Processing MCP Server を使用したIoTセンサーデータ分析デモ
セットアップ
テストデータの準備
# 依存関係インストール
$ pnpm install
# CDKブートストラップ(初回のみ)
$ cd packages/iac && npx cdk bootstrap
# インフラデプロイ(クレデンシャルが表示されるので注意!)
$ pnpm run deploy
# データ生成
$ pnpm generate-data
# S3アップロード
$ export S3_BUCKET_NAME=iot-sensor-data-<account>-<region>
$ aws s3 sync packages/sensor-data-generator/data/ s3://$S3_BUCKET_NAME/sensor-data/ --delete
MCPの設定
プロファイルを設定する
$ cat ~/.aws/credentials
[iot-demo]
aws_access_key_id = ***
aws_secret_access_key = ***
commandにはwhich uvxを入れる
{
"mcpServers": {
"aws.dp-mcp": {
"args": [
"awslabs.aws-dataprocessing-mcp-server@latest",
"--allow-write",
"--allow-sensitive-data-access"
],
"command": "/Users/shuntaka/.local/share/mise/installs/python/3.13.5/bin/uvx",
"env": {
"AWS_PROFILE": "iot-demo",
"AWS_REGION": "ap-northeast-1"
}
}
}
}
削除
pnpm --filter iac destroy