MCP.so
ログイン

AWS Cost Explorer and Amazon Bedrock Model Invocation Logs MCP S…

@aarora79

基本情報

カテゴリ

クラウドとインフラ

ライセンス

MIT

トランスポート

stdio

作者

aarora79

AWS Cost Explorer and Amazon Bedrock Model Invocation Logs MCP Server & Client について

MCP server for understanding AWS spend

AWS Cost Explorer and Amazon Bedrock Model Invocation Logs MCP Server & Client の設定

標準の設定はありません

このサーバーの README には解析可能な MCP 設定ブロックが含まれていません。インストール手順はリポジトリをご確認ください。

リポジトリ

AWS Cost Explorer and Amazon Bedrock Model Invocation Logs MCP Server & Client のツール

ツール一覧はまだありません

この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。

ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。

概要

What is AWS Cost Explorer and Amazon Bedrock Model Invocation Logs MCP Server & Client?

This MCP server provides natural-language access to AWS Cost Explorer data and Amazon Bedrock model invocation logs stored in Amazon CloudWatch. It connects Claude Desktop or any MCP‑enabled client to AWS billing and usage APIs, enabling conversational analysis of spend and model usage.

How to use AWS Cost Explorer and Amazon Bedrock Model Invocation Logs MCP Server & Client?

Install Python 3.12 and uv, clone the repository, create a virtual environment, install dependencies, and configure AWS credentials. Run server.py with environment variables MCP_TRANSPORT (set to stdio for local or sse for remote), BEDROCK_LOG_GROUP_NAME, and optionally CROSS_ACCOUNT_ROLE_NAME. For local use, configure Claude Desktop via Docker or UV arguments. For remote use, deploy the server on EC2 and connect via SSE transport with a CLI client or Chainlit app.

Key features of AWS Cost Explorer and Amazon Bedrock Model Invocation Logs MCP Server & Client

  • Amazon EC2 spend analysis for the previous day
  • Amazon Bedrock usage broken down by region, user, and model
  • Service‑level spend reports across all AWS services
  • Granular cost breakdown by day, region, service, and instance type
  • Cross‑account spend queries via IAM role assumption
  • Both local (stdio) and remote (SSE over HTTPS) deployment modes

Use cases of AWS Cost Explorer and Amazon Bedrock Model Invocation Logs MCP Server & Client

  • Ask “What was my EC2 spend yesterday?” and get a natural‑language answer
  • Analyze Bedrock model invocation costs over the last 30 days per user and region
  • Compare month‑over‑month cost increases for specific AWS services
  • Retrieve detailed spend data from multiple AWS accounts using a single MCP server
  • Build a LangGraph agent with MCP tools to automate cloud cost investigations

よくある質問

1

What data sources does this server use?

It reads data from AWS Cost Explorer API and Amazon Bedrock model invocation logs stored in Amazon CloudWatch Logs.

2

What are the runtime requirements?

Python 3.12, `uv`, and AWS credentials with read‑only access to Cost Explorer and CloudWatch Logs. Optionally, Amazon Bedrock for the LangGraph agent and EC2 for remote hosting.

3

Can I query spend from other AWS accounts?

Yes. Set the `CROSS_ACCOUNT_ROLE_NAME` environment variable, then provide the target AWS account ID in your query. The server assumes the role in that account.

4

Does the remote MCP server support HTTPS?

Yes. See the “secure remote MCP server” section in the README for HTTPS setup. Note that MCP itself does not include authentication; do not transmit sensitive data over plain MCP.

5

What transport modes are supported?

Local mode uses `stdio` (stdin/stdout). Remote mode uses `sse` (server‑sent events) over TCP port 8000. Claude Desktop currently only supports `stdio`.

コメント

「クラウドとインフラ」の他のコンテンツ