Skip to main content
Glama

Cloudzero Model Context Protocol Server

by burkestar

Cloudzero モデルコンテキストプロトコル (MCP) サーバー

大規模言語モデル (LLM) から Cloudzero のクラウド コスト データを参照します。

月ごとの差異をプロットするなど、コスト データについて質問します。

月間差分

仕組み

CloudZero v2 APIモデルコンテキストプロトコルMCP を使用します。

Claude DesktopでMCPサーバーが設定されると、起動時にバックグラウンドプロセスとして起動されます。MCPホストであるClaude Desktopは、MCPサーバーにinitiatizeリクエストを送信します。サーバーは、 promptsやツール呼び出し用のtoolsなどの機能で応答します。

サーバーは、CloudZero 固有のツールをいくつか実装しています。

  • get_costs``start_dateからend_dateまでの請求データを取得します。
  • 請求ディメンションのget_dimensions
  • 予算を一覧表示するにはlist_budgets使用します
  • list_insightsでインサイトを一覧表示する

MCP プロトコルは、リクエストとレスポンスに JSON-RPC 2.0 を使用します。

設定

Claude Desktopをインストールします:

uvをインストールする

プロジェクトの依存関係を設定します。

uv init uv sync

CloudZero API キーを生成します。

.envを次のように編集します。

CLOUDZERO_API_KEY=YOUR_SECRET_KEY

インストール

MCP サーバーを Claude Desktop にインストールするには:

uv run mcp install server.py

claude_desktop_config.jsonを編集して、 uvコマンドへの適切なパスを設定し、以下のようにUSERNAMEを更新します。

この設定ファイルは、Claude Desktop のSettings > Developer > Edit Configにあります。

"CloudZero": { "command": "/Users/USERNAME/.local/bin/uv", "args": [ "run", "--with", "mcp[cli]", "mcp", "run", "/Users/USERNAME/workspace/open_source/cloudzero-mcp/server.py" ] }

Claude Desktopを再起動してください。Desktopが起動すると、バックグラウンドでサーバープロセスが起動します。エラーが表示される場合がありますが、ログを確認して問題の原因を特定できます。

エラーがない場合は、「クラウド課金に使用できるツールは何ですか」と質問して、リストを確認してください。

利用可能なツール

詳細については、 Claude Desktop MCP のドキュメントを参照してください。

デバッグ

デバッグの場合、対話型 GUI を使用して MCP 開発サーバーを実行し、次の点を検査できます。

uv run mcp dev server.py

これは、Claude Desktop を継続的に再起動することなく、コード内のバグをトラブルシューティングするのに役立ちます。

MCP検査官

-
security - not tested
A
license - permissive license
-
quality - not tested

local-only server

The server can only run on the client's local machine because it depends on local resources.

ユーザーが大規模言語モデルを通じて自然言語を使用して Cloudzero からクラウド コスト データを照会および分析できるようにするサーバー。

  1. 仕組み
    1. 設定
      1. インストール
        1. デバッグ

          Related MCP Servers

          • -
            security
            A
            license
            -
            quality
            An MCP server that allows using natural language to manage Cloudflare resources (Workers, KV, R2, D1) through Claude Desktop, VSCode, and other MCP clients.
            Last updated -
            8
            5
            TypeScript
            Apache 2.0
          • -
            security
            A
            license
            -
            quality
            A command-line interface and API that allows users to analyze and visualize AWS cloud spending data by enabling Claude to query AWS Cost Explorer through natural language conversations.
            Last updated -
            80
            Python
            MIT License
            • Linux
            • Apple
          • -
            security
            F
            license
            -
            quality
            A Model Context Protocol server that connects to Google Cloud services, allowing users to query logs, interact with Spanner databases, and analyze Cloud Monitoring metrics through natural language interaction.
            Last updated -
            16
            2
            TypeScript
          • -
            security
            F
            license
            -
            quality
            Enables large language models to automatically report customer-facing issues with Azure resources by parsing natural language requests and submitting impact reports through the Azure Management API.
            Last updated -
            2
            Python

          View all related MCP servers

          MCP directory API

          We provide all the information about MCP servers via our MCP API.

          curl -X GET 'https://glama.ai/api/mcp/v1/servers/burkestar/cloudzero-mcp'

          If you have feedback or need assistance with the MCP directory API, please join our Discord server