MCP Cloud Services Server
Enables management of GCP resources including compute instances, storage buckets, and cloud functions, with support for cost analysis, monitoring metrics, and security compliance checks.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MCP Cloud Services Server show me all running EC2 instances in AWS"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCP Cloud Services 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.
🎯 Ne İşe Yarar?
MCP Cloud Services Server, AI asistanlarının (Cursor, Claude Desktop, vb.) cloud kaynaklarını yönetmesi, maliyetleri analiz etmesi, monitoring yapması ve güvenlik kontrolleri gerçekleştirmesi için kapsamlı bir MCP server'dır.
Temel Özellikler
☁️ Multi-Cloud Desteği: AWS, Azure, GCP desteği
📊 Resource Management: List, create, delete, start, stop operations
💰 Cost Analysis: Cost breakdown, trends, billing analysis
📈 Monitoring: Metrics, alarms, health checks
🔒 Security: Security scanning, compliance checks, encryption analysis
🔐 Credential Management: Secure credential storage and management
Related MCP server: Cloud Pilot MCP
🚀 Nasıl Çalışır?
MCP Cloud Services Server, Model Context Protocol (MCP) standardını kullanarak AI asistanlarına cloud yönetim yetenekleri sağlar. Server, MCP protokolü üzerinden tool'ları expose eder ve AI asistanları bu tool'ları kullanarak cloud işlemlerini gerçekleştirebilir.
Mimari
AI Assistant (Cursor/Claude)
↓ (MCP Protocol)
MCP Cloud Services Server
↓ (SDK Calls)
Cloud Provider APIs (AWS/Azure/GCP)Server, her cloud provider için adapter pattern kullanarak SDK çağrılarını yönetir. Credentials güvenli bir şekilde saklanır ve yönetilir.
📦 Kurulum
Gereksinimler
Node.js 18 veya üzeri
npm veya yarn
TypeScript (dev dependency)
Cloud provider credentials (AWS, Azure, or GCP)
Adımlar
Repository'yi klonlayın:
git clone https://github.com/code-alchemist01/Cloud-mcp_server.git
cd Cloud-mcp_serverBağımlılıkları yükleyin:
npm installProjeyi derleyin:
npm run buildCloud Credentials Yapılandırın (aşağıdaki bölüme bakın)
Test edin:
npm start🔐 Credentials Yapılandırması
Neden Credentials Gerekiyor?
Cloud provider'lar (AWS, Azure, GCP) güvenlik nedeniyle tüm API çağrılarında authentication gerektirir. Bu credentials, kimlik doğrulama ve yetkilendirme için kullanılır. Server, bu credentials'ları kullanarak cloud API'lerine güvenli bir şekilde bağlanır.
AWS Credentials
AWS için Access Key ID ve Secret Access Key gereklidir. Bu credentials, AWS IAM'de oluşturulur ve gerekli izinlere sahip olmalıdır.
Yöntem 1: Environment Variables (Önerilen)
export AWS_ACCESS_KEY_ID=your_access_key_id
export AWS_SECRET_ACCESS_KEY=your_secret_access_key
export AWS_REGION=us-east-1Yöntem 2: AWS Credentials Dosyası
~/.aws/credentials (Linux/Mac)
C:\Users\YourUsername\.aws\credentials (Windows)
[default]
aws_access_key_id = your_access_key_id
aws_secret_access_key = your_secret_access_keyYöntem 3: MCP Config İçinde
{
"mcpServers": {
"cloud-services": {
"command": "node",
"args": ["..."],
"env": {
"AWS_ACCESS_KEY_ID": "your_access_key_id",
"AWS_SECRET_ACCESS_KEY": "your_secret_access_key",
"AWS_REGION": "us-east-1"
}
}
}
}Gerekli IAM İzinleri:
ec2:DescribeInstances,ec2:StartInstances,ec2:StopInstancess3:ListBuckets,s3:GetBucketLocationlambda:ListFunctions,lambda:GetFunctionrds:DescribeDBInstancescloudwatch:GetMetricStatisticsce:GetCostAndUsage
Azure Credentials
Azure için Service Principal (Client ID, Client Secret, Tenant ID) veya Azure CLI login gereklidir. Ayrıca Subscription ID zorunludur.
Yöntem 1: Environment Variables
export AZURE_CLIENT_ID=your_client_id
export AZURE_CLIENT_SECRET=your_client_secret
export AZURE_TENANT_ID=your_tenant_id
export AZURE_SUBSCRIPTION_ID=your_subscription_idYöntem 2: Azure CLI Login (En Kolay)
az login
# Bu DefaultAzureCredential kullanır
export AZURE_SUBSCRIPTION_ID=your_subscription_idYöntem 3: MCP Config İçinde
{
"mcpServers": {
"cloud-services": {
"command": "node",
"args": ["..."],
"env": {
"AZURE_CLIENT_ID": "your_client_id",
"AZURE_CLIENT_SECRET": "your_secret",
"AZURE_TENANT_ID": "your_tenant_id",
"AZURE_SUBSCRIPTION_ID": "your_subscription_id"
}
}
}
}Service Principal Oluşturma:
az ad sp create-for-rbac --name "mcp-cloud-services" --role contributorGerekli RBAC İzinleri:
Reader(kaynakları listeleme için)Virtual Machine Contributor(VM yönetimi için)Storage Account Contributor(storage yönetimi için)
GCP Credentials
GCP için Service Account JSON dosyası veya gcloud CLI gereklidir. Ayrıca Project ID zorunludur.
Yöntem 1: Service Account JSON (Önerilen)
export GCP_PROJECT_ID=your_project_id
export GOOGLE_APPLICATION_CREDENTIALS=/path/to/service-account-key.jsonYöntem 2: gcloud CLI
gcloud auth application-default login
gcloud config set project YOUR_PROJECT_ID
export GCP_PROJECT_ID=$(gcloud config get-value project)Yöntem 3: MCP Config İçinde
{
"mcpServers": {
"cloud-services": {
"command": "node",
"args": ["..."],
"env": {
"GCP_PROJECT_ID": "your_project_id",
"GOOGLE_APPLICATION_CREDENTIALS": "C:\\path\\to\\service-account-key.json"
}
}
}
}Service Account Oluşturma:
GCP Console → IAM & Admin → Service Accounts
Create Service Account
Grant roles:
Compute Viewer,Storage Viewer,Cloud Functions ViewerCreate JSON key ve indir
Gerekli IAM Rolleri:
Compute Viewer(compute instance'ları görüntüleme)Storage Viewer(storage bucket'ları görüntüleme)Cloud Functions Viewer(function'ları görüntüleme)Monitoring Viewer(metrics için)Billing Account Viewer(cost analysis için)
📦 MCP Client'lara Kurulum
Cursor IDE
1. MCP Config Dosyasını Oluştur/Düzenle
Windows:
%APPDATA%\Cursor\User\globalStorage\mcp.jsonmacOS/Linux:
~/.config/Cursor/User/globalStorage/mcp.jsonWorkspace-specific (Önerilen):
<project-root>/.cursor/mcp.json2. Config İçeriği
{
"mcpServers": {
"cloud-services": {
"command": "node",
"args": [
"C:\\Users\\YourUsername\\path\\to\\Cloud-mcp_server\\dist\\index.js"
],
"env": {
"AWS_ACCESS_KEY_ID": "your_key",
"AWS_SECRET_ACCESS_KEY": "your_secret",
"AWS_REGION": "us-east-1"
}
}
}
}3. Cursor'u Yeniden Başlatın
Claude Desktop
1. MCP Config Dosyasını Oluştur/Düzenle
Windows:
%APPDATA%\Claude\claude_desktop_config.jsonmacOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonLinux:
~/.config/Claude/claude_desktop_config.json2. Config İçeriği
{
"mcpServers": {
"cloud-services": {
"command": "node",
"args": [
"/absolute/path/to/Cloud-mcp_server/dist/index.js"
],
"env": {
"AWS_ACCESS_KEY_ID": "your_key",
"AWS_SECRET_ACCESS_KEY": "your_secret"
}
}
}
}Diğer MCP Client'lar
Herhangi bir MCP protokolü destekleyen client için, server'ı stdio transport ile başlatın:
{
"mcpServers": {
"cloud-services": {
"command": "node",
"args": ["/path/to/dist/index.js"],
"env": {
"AWS_ACCESS_KEY_ID": "...",
"AWS_SECRET_ACCESS_KEY": "..."
}
}
}
}🛠️ Kullanım
MCP Client'larda Kullanım
MCP server kurulduktan sonra, client'ınızın chat arayüzünde doğal dil komutları kullanarak cloud işlemlerini gerçekleştirebilirsiniz.
Örnek Kullanımlar
AWS:
AWS'deki tüm EC2 instance'ları listele
S3 bucket'ları göster
i-1234567890abcdef0 instance'ını başlat
Lambda function'larını listeleAzure:
Azure'daki tüm virtual machine'leri listele
Storage account'ları gösterGCP:
GCP'deki tüm compute instance'ları listele
Storage bucket'ları göster
Cloud function'ları listeleCost Analysis:
AWS maliyetlerini analiz et: 2024-01-01 ile 2024-01-31 arası
Servis bazlı maliyet dökümünü gösterMonitoring:
i-1234567890abcdef0 instance'ının CPU kullanımını göster
AWS alarm'larını listeleSecurity:
AWS kaynaklarında güvenlik açıklarını tara
CIS compliance kontrolü yap
Encryption durumunu kontrol et📋 MCP Tools (26 Araç)
AWS Tools (6)
aws_list_ec2_instances- EC2 instance'ları listeleaws_list_s3_buckets- S3 bucket'ları listeleaws_list_lambda_functions- Lambda function'ları listeleaws_list_rds_instances- RDS instance'ları listeleaws_start_ec2_instance- EC2 instance başlataws_stop_ec2_instance- EC2 instance durdur
Azure Tools (2)
azure_list_virtual_machines- Virtual machine'leri listeleazure_list_storage_accounts- Storage account'ları listele
GCP Tools (3)
gcp_list_compute_instances- Compute instance'ları listelegcp_list_storage_buckets- Storage bucket'ları listelegcp_list_cloud_functions- Cloud function'ları listele
Resource Management Tools (5)
list_resources- Tüm cloud kaynaklarını listeleget_resource- Kaynak detaylarını getirstart_resource- Kaynağı başlatstop_resource- Kaynağı durdurdelete_resource- Kaynağı sil (dikkatli kullanın)
Cost Analysis Tools (3)
analyze_costs- Maliyet analizi yapget_cost_by_service- Servis bazlı maliyet dökümüestimate_monthly_cost- Aylık maliyet tahmini
Monitoring Tools (3)
get_metrics- Resource metrics'lerini getirlist_alarms- Monitoring alarm'larını listeleget_resource_health- Resource health durumunu kontrol et
Security Tools (4)
scan_security_issues- Güvenlik açıklarını taracheck_compliance- Compliance kontrolü yapanalyze_permissions- IAM permission analizicheck_encryption- Encryption durumunu kontrol et
📁 Proje Yapısı
Cloud-mcp_server/
├── src/
│ ├── index.ts # MCP server ana giriş noktası
│ ├── server.ts # MCP server implementasyonu
│ ├── tools/ # MCP tools
│ │ ├── aws-tools.ts # AWS specific tools
│ │ ├── azure-tools.ts # Azure specific tools
│ │ ├── gcp-tools.ts # GCP specific tools
│ │ ├── resource-management.ts # Resource management tools
│ │ ├── cost-analysis.ts # Cost analysis tools
│ │ ├── monitoring.ts # Monitoring tools
│ │ └── security.ts # Security tools
│ ├── adapters/ # Cloud provider adapters
│ │ ├── aws-adapter.ts # AWS SDK adapter
│ │ ├── azure-adapter.ts # Azure SDK adapter
│ │ └── gcp-adapter.ts # GCP SDK adapter
│ ├── utils/ # Yardımcı fonksiyonlar
│ │ ├── credential-manager.ts
│ │ ├── formatters.ts
│ │ └── validators.ts
│ └── types/ # TypeScript tip tanımları
│ └── index.ts
├── dist/ # Derlenmiş JavaScript dosyaları
├── package.json
├── tsconfig.json
└── README.md🔧 Geliştirme
Development Modu
npm run devBuild
npm run buildTest
npm test🔒 Güvenlik
Credentials güvenli saklanır (~/.cloud-services-mcp/credentials.json)
Environment variables desteği
Input validation ve sanitization
Error handling
Secure credential management
Önemli: Credentials'ları asla kod içine hardcode etmeyin. Her zaman environment variables veya güvenli credential store kullanın.
📊 Çıktı Formatları
JSON - Structured data responses
Markdown - Raporlar ve dokümantasyon
Text - Plain text output
🤝 Katkıda Bulunma
Fork edin
Feature branch oluşturun (
git checkout -b feature/amazing-feature)Commit edin (
git commit -m 'Add amazing feature')Push edin (
git push origin feature/amazing-feature)Pull Request açın
📄 Lisans
MIT License - Detaylar için LICENSE dosyasına bakın.
🔗 MCP Client Desteği
Bu MCP server aşağıdaki client'lar ile uyumludur:
✅ Cursor IDE - Tam destek
✅ Claude Desktop - Tam destek
✅ Anthropic API - MCP protokolü üzerinden
✅ Diğer MCP Client'lar - Standart MCP protokolü destekleyen tüm client'lar
🙏 Teşekkürler
Model Context Protocol - MCP standardı için
AWS SDK - AWS desteği için
Azure SDK - Azure desteği için
Google Cloud SDK - GCP desteği için
📞 İletişim
Sorularınız veya önerileriniz için issue açabilirsiniz.
⭐ Bu projeyi beğendiyseniz yıldız vermeyi unutmayın!
Available Tools
26 toolsanalyze_costsC
Analyze cloud costs for AWS, Azure, or GCP
Inputs: provider (required), startDate (required), endDate (required), granularity.
analyze_permissionsC
Analyze IAM permissions and access policies
Inputs: provider (required).
aws_list_ec2_instancesC
List all EC2 instances in AWS
Inputs: region.
aws_list_lambda_functionsC
List all Lambda functions in AWS
Inputs: region.
aws_list_rds_instancesB
List all RDS database instances in AWS
Inputs: region.
aws_list_s3_bucketsC
List all S3 buckets in AWS
Inputs: region.
aws_start_ec2_instanceC
Start an EC2 instance
Inputs: instanceId (required), region.
aws_stop_ec2_instanceC
Stop an EC2 instance
Inputs: instanceId (required), region.
azure_list_storage_accountsC
List all Storage Accounts in Azure
Inputs: subscriptionId, location.
azure_list_virtual_machinesC
List all Virtual Machines in Azure
Inputs: subscriptionId, location.
check_complianceB
Check compliance with security standards (CIS, SOC2, etc.)
Inputs: provider (required), standard.
check_encryptionC
Check encryption status of cloud resources
Inputs: provider (required), resourceId (required), resourceType (required).
delete_resourceB
Delete a cloud resource (use with caution)
Inputs: provider (required), resourceId (required), resourceType (required), confirm (required).
estimate_monthly_costC
Estimate monthly cost based on current usage
Inputs: provider (required).
gcp_list_cloud_functionsC
List all Cloud Functions in GCP
Inputs: projectId, region.
gcp_list_compute_instancesC
List all Compute Engine instances in GCP
Inputs: projectId, region.
gcp_list_storage_bucketsC
List all Cloud Storage buckets in GCP
Inputs: projectId, region.
get_cost_by_serviceC
Get cost breakdown by service
Inputs: provider (required), startDate (required), endDate (required).
get_metricsC
Get metrics for a cloud resource
Inputs: provider (required), resourceId (required), metricName (required), startTime (required), +2 more.
get_resourceC
Get detailed information about a specific resource
Inputs: provider (required), resourceId (required), resourceType (required).
get_resource_healthC
Get health status of a cloud resource
Inputs: provider (required), resourceId (required), resourceType (required).
list_alarmsC
List monitoring alarms
Inputs: provider (required), resourceId.
list_resourcesC
List cloud resources (instances, storage, databases, functions) across AWS, Azure, or GCP
Inputs: provider (required), type, region.
scan_security_issuesC
Scan cloud resources for security issues
Inputs: provider (required), resourceId.
start_resourceC
Start a cloud resource (instance, function, etc.)
Inputs: provider (required), resourceId (required), resourceType (required).
stop_resourceC
Stop a cloud resource
Inputs: provider (required), resourceId (required), resourceType (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 26 tools
The tools have clear distinctions between cloud providers (AWS, Azure, GCP) and resource types, but there is significant overlap in functionality. For example, 'list_resources' appears to duplicate the purpose of provider-specific list tools like 'aws_list_ec2_instances' and 'azure_list_virtual_machines', which could confuse an agent about which tool to use for listing. Additionally, 'start_resource' and 'stop_resource' overlap with provider-specific start/stop tools like 'aws_start_ec2_instance', creating ambiguity in tool selection.
The naming conventions are inconsistent and mixed. Some tools use a 'provider_action_resource' pattern (e.g., 'aws_list_ec2_instances'), while others use a 'action_resource' pattern (e.g., 'list_resources', 'get_resource'). There is also variation in verb usage, such as 'analyze' vs. 'check' vs. 'scan', and some tools include provider prefixes while others do not. This lack of a predictable pattern makes the tool set harder to navigate and understand.
With 26 tools, the count is too high for the server's purpose of cloud services management. The duplication of functionality, such as having both generic and provider-specific list/start/stop tools, suggests bloat rather than necessity. A more streamlined set of 10-15 tools could cover the same domain effectively, making the current count feel heavy and potentially overwhelming for agents.
The tool set provides comprehensive coverage for cloud management, including listing, starting, stopping, analyzing costs, checking compliance, and scanning security issues across multiple providers. However, there are minor gaps, such as the absence of update or modify tools for resources (e.g., no 'update_resource' or 'modify_configuration'), which might require workarounds. Overall, the surface is largely complete for core operations.
Maintenance
Related MCP Connectors
Unified API to query AWS, GCP, Azure and generate Terraform/CLI execution kits for AI agents.
Cloud cost, inventory and governance on AWS/Azure/GCP. Read-only by default, optional scoped writes
Build, deploy, and run apps on AWS, GCP, Azure, Oracle Cloud, and your own hardware from chat.
Provides capabilities that let LLM agents perform a range of infrastructure management tasks.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceConnects AI assistants to AWS infrastructure through AWS IAM Identity Center for secure, natural language management of cloud resources across multiple accounts. It enables users to execute AWS CLI commands, monitor resources, and run remote shell commands on EC2 instances via Systems Manager.1,185 npm15ISC
- AlicenseNot gradedqualityDmaintenanceProvides AI agents with natural language control over AWS, Azure, GCP, and Alibaba Cloud infrastructure through dynamic API discovery and execution. Supports 51,900+ cloud operations and includes OpenTofu integration for complete infrastructure lifecycle management.3MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to perform DevOps tasks including Kubernetes management, cloud provider operations, CI/CD, security scanning, and infrastructure monitoring through natural language.MIT

GreenNode MCP Serverofficial
AlicenseNot gradedqualityDmaintenanceEnables AI assistants to manage VNG Cloud infrastructure including compute, storage, networking, and Kubernetes resources through natural language commands.Apache 2.0