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 and waste 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 with per-service breakdown
"What's my cloud spend vs last month?" Returns MTD costs and month-over-month comparison
"Drill into my EC2 findings and dismiss the accepted risks" Per-service analysis with dismiss and snooze workflows
"Start a cloud shell linked to my AWS account" Provisions a shell with AWS credentials pre-loaded
"Run a team analysis across all accounts in my catalog" Aggregated KloudPilot analysis for catalogs

Tools (45+)

  • Cloud Accounts - list connected AWS accounts
  • Klouds - list, inspect, and generate infrastructure blueprints
  • Deployments - deploy, cancel, destroy, get status and logs
  • Cloud Scanning - discover all AWS resources across regions
  • Cost Analysis - MTD costs, forecasts, trends, month-over-month comparison
  • Waste Detection - identify idle and oversized resources with savings estimates
  • KloudPilot - AI health scores, per-service drill-down, dismiss/snooze findings, team analysis
  • Persistent Shells - create cloud-linked or sandbox shells, share links, read files

Quickstart

1. Generate an API key

Go to 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 (OAuth)

In Claude.ai (or any MCP client that supports remote OAuth), go to Settings, Integrations, Add MCP Server and enter:

https://mcp.kloudhub.io/mcp

You will be redirected to KloudHub to log in. After signing in, the connection is established automatically. No API key needed. An API key named "Claude.ai connector" will appear in your KloudHub settings so you can revoke it to disconnect at any time.

This works with any MCP client that supports OAuth 2.0 + PKCE.

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
  • Remote connections use OAuth 2.0 with PKCE (no secrets in URLs or configs)
  • All tool calls go through KloudHub's authenticated API with per-request authorization

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.5.1.tar.gz (23.2 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.5.1-py3-none-any.whl (34.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: kloudhub_mcp-0.5.1.tar.gz
  • Upload date:
  • Size: 23.2 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.5.1.tar.gz
Algorithm Hash digest
SHA256 b84a775e2a0e7dd0ab2bc53b0748a796c99e380bf326520dca9a6cde6d7f1f66
MD5 826f4ec1acc9b1f5936dd66d7da2442d
BLAKE2b-256 8d2921ad54bca9e301257474c24f049cfd3d347932579ff855cdc5947a048745

See more details on using hashes here.

File details

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

File metadata

  • Download URL: kloudhub_mcp-0.5.1-py3-none-any.whl
  • Upload date:
  • Size: 34.3 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.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3ec9376e9b1615f4de03c59d21647198f072b74a8478c61b0a01e268c13f8e30
MD5 0d30e3b5f8c94f90e2536ffd2d776207
BLAKE2b-256 8f33fa21742b4ebd8cc4bc526764adc151c8355e81fcf3258afb6155b246ef78

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