Skip to main content

MCP server for KloudHub - Control your cloud infrastructure with AI.

Project description

kloudhub-mcp

MCP server for KloudHub. Connect Claude, Codex, or any MCP-compatible AI client to KloudHub and manage your cloud infrastructure through natural language.

What you can do

Ask Claude... What happens
"Scan my AWS account and show me what's wasting money" Discovers all resources across regions, runs cost analysis
"Generate a VPC for my new service and deploy it" Creates a Terraform blueprint and deploys it to AWS
"Show me all failed deployments this week" Queries deployment history with status and logs
"Run KloudPilot on my account and give me the top recommendations" Starts an AI health analysis and returns findings
"What's my cloud spend vs last month?" Returns MTD costs and month-over-month comparison
"Start a persistent shell environment" Provisions a cloud shell and returns connection details

Tools

  • Cloud Accounts - list connected AWS accounts
  • Klouds - list, inspect, and generate infrastructure blueprints
  • Deployments - deploy Terraform, get status, stream logs
  • Cloud Scanning - discover all AWS resources across regions
  • Cost Analysis - MTD costs, forecasts, month-over-month comparison
  • Waste Detection - identify idle and oversized resources with savings estimates
  • KloudPilot - AI health scores and optimization recommendations
  • Persistent Shells - create and manage cloud shell environments
  • ...and more

Quickstart

1. Generate an API key

Go to app.kloudhub.io/mcp and generate an API key.

2. Add to Claude Code

{
  "mcpServers": {
    "kloudhub": {
      "type": "stdio",
      "command": "uvx",
      "args": ["kloudhub-mcp"],
      "env": {
        "KLOUDHUB_API_KEY": "khub_live_YOUR_KEY"
      }
    }
  }
}

Add to ~/.claude/settings.json (global) or .claude/settings.json (per-project).

3. Add to Claude Desktop

{
  "mcpServers": {
    "kloudhub": {
      "command": "uvx",
      "args": ["kloudhub-mcp"],
      "env": {
        "KLOUDHUB_API_KEY": "khub_live_YOUR_KEY"
      }
    }
  }
}

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json

Restart Claude Desktop after saving.

4. Claude Web (Remote MCP)

In Claude.ai, go to Settings, then Integrations, then Add MCP Server:

https://mcp.kloudhub.io/sse

Enter your API key when prompted. No local install needed.

5. Codex CLI

{
  "mcpServers": {
    "kloudhub": {
      "command": "uvx",
      "args": ["kloudhub-mcp"],
      "env": {
        "KLOUDHUB_API_KEY": "khub_live_YOUR_KEY"
      }
    }
  }
}

Add to ~/.codex/config.json.

Security

  • Cloud credentials (AWS keys, secrets, tokens) are never accessible via MCP
  • Only operational data is returned: resource names, costs, analysis results, deployment logs
  • API keys are stored as SHA-256 hashes and shown only once at creation
  • All tool calls go through KloudHub's authenticated API

Requirements

  • Python 3.11+
  • A KloudHub account with at least one connected AWS cloud account

Links

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kloudhub_mcp-0.1.4.tar.gz (13.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

kloudhub_mcp-0.1.4-py3-none-any.whl (21.6 kB view details)

Uploaded Python 3

File details

Details for the file kloudhub_mcp-0.1.4.tar.gz.

File metadata

  • Download URL: kloudhub_mcp-0.1.4.tar.gz
  • Upload date:
  • Size: 13.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for kloudhub_mcp-0.1.4.tar.gz
Algorithm Hash digest
SHA256 9c78b54dd1e312a50ddca4fbf402b1bfb18cd34d8a22956e8ae596ef1080262b
MD5 eb7139bee2380e1309597d7c17a0158d
BLAKE2b-256 3a2cd5d5b1018b5590cfe5aad83f4529d7af5818c64d7a27a7d6f388ad3d4192

See more details on using hashes here.

File details

Details for the file kloudhub_mcp-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: kloudhub_mcp-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 21.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for kloudhub_mcp-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 36f3e396e479071b5acd2e709a84a8cecb20eacaa7f93fbeb7407d17315a9d0d
MD5 4e0213716107821ed73382ebd9b8b610
BLAKE2b-256 3248b49dc268d4028f4bd9536c5d848616122caf78ae86b970bb67a34553b6e4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page