Cloud _server
Comprehensive MCP (Model Context Protocol) server for cloud services management. Supports AWS, Azure, and GCP with resource management, cost analysis, monitoring, and security features.
claude mcp add --transport stdio code-alchemist01-cloud-mcp_server node dist/index.js \ --env AWS_REGION="us-east-1" \ --env GCP_PROJECT_ID="your_gcp_project_id" \ --env AWS_ACCESS_KEY_ID="your_aws_access_key_id" \ --env AWS_SECRET_ACCESS_KEY="your_aws_secret_access_key" \ --env AZURE_SUBSCRIPTION_ID="your_azure_subscription_id" \ --env GOOGLE_APPLICATION_CREDENTIALS="/path/to/your/service-account-key.json"
How to use
The Cloud Services MCP server exposes a unified toolset for managing cloud resources across AWS, Azure, and GCP using the MCP protocol. It enables AI assistants to perform resource operations (list, create, delete, start, stop), analyze costs, monitor health and metrics, and run security checks through a consistent tool interface. You can connect your MCP clients (Cursor, Claude Desktop, or any MCP-compliant client) to the server by configuring an MCP server entry pointing to the Node.js server runtime, typically via node dist/index.js. Once connected, clients send MCP tool invocations to the server, which routes them to the appropriate cloud provider SDKs via adapters, returning structured results back to the client for decision-making.
You’ll have access to capabilities such as multi-cloud resource management (across AWS, Azure, and GCP), cost analysis (breakdowns, trends, and billing insights), monitoring (metrics, alarms, and health checks), security-related checks (vulnerability scanning and compliance visibility), and credential management for securely storing and using cloud credentials. The server is designed to keep credentials securely stored and used only for API calls, with environment-based or MCP-configured credentials supported for flexibility across environments.
How to install
Prerequisites:
- Node.js 18+ installed on your system
- npm or yarn
- Access to cloud provider credentials (AWS, Azure, or GCP)
- Git to clone the repository
Steps:
- Clone the repository:
git clone https://github.com/code-alchemist01/Cloud-mcp_server.git
cd Cloud-mcp_server
- Install dependencies:
npm install
- Build the project (if applicable):
npm run build
- Configure credentials (example for AWS/Azure/GCP) – choose one method per provider:
- AWS: set environment variables or use credentials file as described in the README
- Azure: set AZURE_SUBSCRIPTION_ID and other credentials as needed
- GCP: set GCP_PROJECT_ID and GOOGLE_APPLICATION_CREDENTIALS to your service account key
- Run the server:
npm start
- Connect a MCP client by creating an MCP config that points to the running server (see mcp_config for an example).
Additional notes
Tips and common considerations:
- Ensure your cloud provider credentials have appropriate permissions for the actions you intend to perform (e.g., EC2 describe/start/stop, S3 bucket access, Compute/Storage access, etc.).
- If running behind a secure network, consider restricting access to the MCP endpoint and enabling appropriate authentication for clients.
- When using MCP config to supply credentials, prefer environment variables for sensitive data, but you can embed within the MCP config for testing or controlled environments.
- For large-scale operations, monitor SDK rate limits and implement retry/backoff strategies in your client tooling.
- If you encounter issues with credentials loading, verify the GOOGLE_APPLICATION_CREDENTIALS path or the presence of required environment variables in the running process.
- The server is designed to be extended with provider adapters; new providers can be added by following the existing adapter pattern in the repository.
Related MCP Servers
mcp-for-beginners
This open-source curriculum introduces the fundamentals of Model Context Protocol (MCP) through real-world, cross-language examples in .NET, Java, TypeScript, JavaScript, Rust and Python. Designed for developers, it focuses on practical techniques for building modular, scalable, and secure AI workflows from session setup to service orchestration.
openmcp
Turn any openapi file into an mcp server, with just the tools you need.
MCP-Defender
Desktop app that automatically scans and blocks malicious MCP traffic in AI apps like Cursor, Claude, VS Code and Windsurf.
Remote
A type-safe solution to remote MCP communication, enabling effortless integration for centralized management of Model Context.
mcp-streamable-http
Example implementation of MCP Streamable HTTP client/server in Python and TypeScript.
pluggedin-app
The Crossroads for AI Data Exchanges. A unified, self-hostable web interface for discovering, configuring, and managing Model Context Protocol (MCP) servers—bringing together AI tools, workspaces, prompts, and logs from multiple MCP sources (Claude, Cursor, etc.) under one roof.