MCP server for KloudHub — control your cloud infrastructure with AI
Project description
kloudhub-mcp
MCP server for KloudHub — control your cloud infrastructure with AI.
Connect Claude, Codex, or any MCP-compatible AI client to KloudHub and manage your entire 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-driven 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 included (22 total)
- 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/oversized resources with savings estimates
- KloudPilot — AI-driven health scores and optimization recommendations
- Persistent Shells — create and manage cloud shell environments
Quickstart
1. Generate an API key
Go to app.kloudhub.io/mcp → Generate 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 → Settings → Integrations → 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 exposed: resource names, costs, analysis results, deployment logs
- API keys are stored as SHA-256 hashes — the raw key is shown once at creation and never stored
- All tool calls go through KloudHub's authenticated API — your AWS credentials stay server-side
Requirements
- Python 3.11+
- A KloudHub account with at least one connected AWS cloud account
Links
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file kloudhub_mcp-0.1.1.tar.gz.
File metadata
- Download URL: kloudhub_mcp-0.1.1.tar.gz
- Upload date:
- Size: 12.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b50338b89ce00c1ecb58f75c1a531a227a77493c9fef063a796972c9b939e0b1
|
|
| MD5 |
82afb4d9c21e3e4a9614bf13872498a4
|
|
| BLAKE2b-256 |
a9f88be2e8ddfcdd27fefd0793c92010000338e927c14e24cea1a251198c7b97
|
File details
Details for the file kloudhub_mcp-0.1.1-py3-none-any.whl.
File metadata
- Download URL: kloudhub_mcp-0.1.1-py3-none-any.whl
- Upload date:
- Size: 20.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fbaa6565cee5387804eb3d3bd43f1aa87a7ef25e95e61e70c479fa3c7a48eddf
|
|
| MD5 |
c4063773067a268f73932fef6ad9cfd8
|
|
| BLAKE2b-256 |
d6493d9c7cff127316ed77b4cc9c1016ae2b0bb2dade19497d0e61d77afe6378
|