MCPサーバー開発

by bocchiczennie

129 downloads Not rated yet

About

# MCPサーバー開発 ## クイックスタートガイド Node.js 開発向け [https://modelcontextprotocol.io/quickstart/server#node](https://modelcontextprotocol.io/quickstart/server#node) - 上記URLを読んでMCPサーバーをClaude Desktopの準備をしておく ### システム要件 - Node.js バージョン 16 以上 - AWS CLI 2.23.3 (動作確認済み) ### npm インストール & ビルド ```bash npm install npm run build ``` ###…

Explore

- Reports AWS monthly cost report from an S3 bucket.
- Configurable AWS region, profile, and S3 endpoint.
- Auto-approves the get_env tool for environment variable access.
- Built with Node.js (version 16+ required).

- env には環境変数を指定する
- 設定を変更したら、Claude Desktop を再起動する

{
"mcpServers": {
"aws-monthly-cost-report": {
"command": "node",
"args": [
"/path/to/aws-monthly-cost-report-mcp-server/build/index.js"
],
"env": {
"AWS_REGION": "ap-northeast-3",
"AWS_PROFILE": "default",
"AWS_S3_ENDPOINT": "https://s3.ap-northeast-3.amazonaws.com",
"AWS_COST_REPORT_BUCKET": "your-backet-name"
},
"disabled": false,
"autoApprove": [
"get_env"
]
}
}
}

クイックスタートガイド Node.js 開発向け

https://modelcontextprotocol.io/quickstart/server#node - 上記URLを読んでMCPサーバーをClaude Desktopの準備をしておく

システム要件

- Node.js バージョン 16 以上 - AWS CLI 2.23.3 (動作確認済み)

npm インストール & ビルド

    npm install
    npm run build

claude_desktop_config.json

- env には環境変数を指定する - 設定を変更したら、Claude Desktop を再起動する
{
    "mcpServers": {
        "aws-monthly-cost-report": {
            "command": "node",
            "args": [
                "/path/to/aws-monthly-cost-report-mcp-server/build/index.js"
            ],
            "env": {
                "AWS_REGION": "ap-northeast-3",
                "AWS_PROFILE": "default",
                "AWS_S3_ENDPOINT": "https://s3.ap-northeast-3.amazonaws.com",
                "AWS_COST_REPORT_BUCKET": "your-backet-name"
            },
            "disabled": false,
            "autoApprove": [
                "get_env"
            ]
        }
    }
}

プロンプト

今月のAWSのコストを教えて
No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.