CloudWatch MCP Agent
Click on "Install 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., "@CloudWatch MCP Agentshow active alarms"
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.
CloudWatch MCP Agent
Doğal dilde CloudWatch log, metric ve alarm sorularını yanıtlayan LLM agent. Tek bir FastAPI servisi olarak çalışır; CloudWatch tool'ları in-process MCP ile sunar ve cevapları cluster içindeki vLLM modelinden üretir.
Kullanıcı → Chat UI / API → Agent loop → vLLM → MCP tools (boto3) → AWS CloudWatch (IRSA)Gereksinimler
Kubernetes cluster (EKS)
kubectlve cluster erişimiCluster içinde çalışan vLLM OpenAI-compatible endpoint
CloudWatch okuma yetkisi olan IAM role (IRSA ile ServiceAccount'a bağlı)
Related MCP server: mcp-server-logs-sieve
Kubernetes'e deploy
Manifest'leri kendi ortamına göre düzenle (k8s/deployment.yaml içindeki ECR image, IAM role ARN, vLLM URL):
kubectl apply -f k8s/deployment.yamlDeploy sonrası kontrol:
kubectl get pods -n mcp-llm-agent
kubectl get svc -n mcp-llm-agentUI'ye erişim (port-forward)
Service tipi ClusterIP olduğu için dışarıdan doğrudan erişilemez. Chat arayüzünü açmak için her oturumda (veya ihtiyaç olduğunda) port-forward çalıştır:
kubectl port-forward -n mcp-llm-agent svc/cloudwatch-agent 8080:80Terminal açık kalsın. Tarayıcıda:
Port-forward'u arka planda çalıştırmak istersen:
kubectl port-forward -n mcp-llm-agent svc/cloudwatch-agent 8080:80 &Durdurmak için:
fg # arka plana aldıysan önce öne getir
# Ctrl+CHealthCheck kontrolleri
Port-forward aktifken:
curl http://localhost:8080/health
curl http://localhost:8080/ready/ready yanıtında kayıtlı CloudWatch tool listesi de döner.
Lokal geliştirme
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
cp .env.example .env # değerleri düzenle
uvicorn app.server:app --host 0.0.0.0 --port 8080 --reloadLokal çalışırken port-forward gerekmez; doğrudan http://localhost:8080 açılır.
Docker image
docker build --platform linux/amd64 -t cloudwatch-agent:latest .
docker run --rm -p 8080:8080 --env-file .env cloudwatch-agent:latestAPI
Endpoint | Açıklama |
| Chat UI |
| Liveness |
| Readiness + tool kataloğu |
| Agent sohbet API |
| MCP endpoint (FastMCP) |
Örnek chat isteği:
curl -s http://localhost:8080/chat \
-H 'Content-Type: application/json' \
-d '{"message":"Aktif CloudWatch alarmları var mı?","history":[]}'CloudWatch tool'ları
mouse ile üzerine geline tool listesi ui'da gözüküyor
describe_log_groups— log group listeleme / aramaanalyze_log_group— log group analiziexecute_log_insights_query— Logs Insights sorgusu başlatget_logs_insight_query_results— sorgu sonuçlarıcancel_logs_insight_query— sorguyu iptalget_active_alarms— aktif alarmlarget_alarm_history— alarm geçmişiget_metric_data— metric verisiget_metric_metadata— metric metadataget_recommended_metric_alarms— önerilen alarmlaranalyze_metric— metric analizi
env
Değişken | Açıklama | Örnek |
| vLLM OpenAI API base URL |
|
| Model adı |
|
| AWS bölgesi |
|
| Agent tool döngü limiti |
|
| Sohbet geçmişi mesaj limiti |
|
| Mesaj başına karakter limiti |
|
| Tool çıktısı truncate limiti |
|
| Listelenecek max log group |
|
| LLM max token |
|
| LLM temperature |
|
| Log seviyesi |
|
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/kevinozsimsek1/cloudwatch-mcp-agent'
If you have feedback or need assistance with the MCP directory API, please join our Discord server