mcp-mgccli
Provides tools for listing and getting Kubernetes clusters, node pools, flavors, and versions on Magalu Cloud.
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-mgccli List my virtual machines in northeast"
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-mgccli
MCP server for read-only queries on Magalu Cloud via mgc CLI.
Exposes 7 MCP tools (one per product), covering list and get operations. All authentication is handled via API key — no credentials in the code.
Requirements
Related MCP server: cloud-chat-assistant
Installation
pip install -e /caminho/para/mcp-mgccliConfiguration
Copy the example file and fill in your API key:
cp .env.example .env.env:
MGC_API_KEY=sua-api-key-aqui
MGC_REGION=br-ne1 # opcional — br-ne1 ou br-se1
MGC_TIMEOUT=30 # opcional — timeout em segundos (default: 30)Integration with Claude Code
The server is started automatically via start-mcp.sh, which loads the .env. To register:
claude mcp add --scope user mgc /caminho/para/mcp-mgccli/start-mcp.shOr add it manually to ~/.claude.json:
{
"mcpServers": {
"mgc": {
"command": "/caminho/para/mcp-mgccli/start-mcp.sh"
}
}
}Integration with Claude Desktop
Edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": {
"mgc": {
"command": "/caminho/para/mcp-mgccli/start-mcp.sh"
}
}
}Available Tools
Tool | Resources |
| volumes, snapshots, volume-types, schedulers |
| instances, images, machine-types, snapshots |
| cluster, nodepool, flavor, version |
| instances, clusters, replicas, snapshots, engines, instance-types, parameter-groups |
| vpcs, security-groups, public-ips, ports, subnetpools, subnets¹, rules¹ |
| registries, repositories, images, proxy-caches |
| events, event-types |
¹ subnets and rules are sub-resources — they require parent_id for list:
subnets list:parent_id=<vpc-id>rules list:parent_id=<security-group-id>
Common Parameters
Parameter | Type | Description | |
| string | Resource to query (see table above) | |
|
|
| Operation |
| string | Resource ID (required for | |
| string |
| |
| string | Parent resource ID (only for |
Region Inference
Claude infers the region automatically from natural language:
Mention | Region |
"northeast", "ne", "NE1" |
|
"southeast", "se", "SE1" |
|
If the region is not mentioned and MGC_REGION is not set, Claude will ask before executing.
Usage Examples
"Liste minhas VMs no nordeste"
"Quais volumes existem no sudeste?"
"Mostre detalhes do cluster Kubernetes abc-123"
"Liste os security groups da região br-ne1"
"Quais subnets existem na VPC 7211a812-f159-4757-a6ba-c09933a5f6d8?"
"Liste as regras do security group bf8743af-f14b-4f31-917e-8e8160cff838"Development
# instalar em modo editável
pip install -e .
# rodar testes
python -m pytest tests/ -vAvailable Tools
7 toolsauditB
Consulta eventos de Audit da Magalu Cloud (somente leitura).
Recursos: events, event-types. Audit é global — sem parâmetro de região.
Inputs: resource (required), action (required), id. Returns: result
block_storageD
Inputs: resource (required), action (required), id, region, +2 more. Returns: result
container_registryD
Inputs: resource (required), action (required), id, region. Returns: result
dbaasD
Inputs: resource (required), action (required), id, region. Returns: result
kubernetesD
Inputs: resource (required), action (required), id, region. Returns: result
networkD
Inputs: resource (required), action (required), id, region, +1 more. Returns: result
virtual_machineD
Inputs: resource (required), action (required), id, region, +1 more. Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 7 tools
Six of the seven tools have no descriptions, making it impossible to distinguish their specific functions beyond the generic resource names. Only 'audit' has a description, but the others are ambiguous.
All tool names are single-word, lowercase nouns (e.g., 'audit', 'network'), following a consistent pattern. However, they lack verbs, which is unconventional for MCP tool naming.
With 7 tools, the count is reasonable for a cloud service provider's MCP interface, covering several major resource categories without being excessive.
The set covers core services like compute, storage, networking, and databases, but without descriptions, it's unclear what operations are available. The lack of detail suggests significant gaps in the tool surface.
Related MCP Connectors
Unified API to query AWS, GCP, Azure and generate Terraform/CLI execution kits for AI agents.
Query your org's data in natural language — read-only MCP access to SQL, NoSQL, files & warehouses.
ComputePortal: deploy, monitor, and settle compute instances via MCP. 23 tools, OAuth 2.1.
Hosted BigQuery MCP server for Claude, ChatGPT and Cursor, with each action switched per account.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables natural-language access to Oracle Cloud Infrastructure resources, allowing users to query compute instances, OKE clusters, networking, and Object Storage via MCP tools.MIT
- FlicenseNot gradedqualityCmaintenanceMulti-cloud MCP server that exposes cloud AI models as tools for AI CLI agents, supporting streaming, conversation history, parallel multi-model queries, and dynamic model discovery.2-
- AlicenseNot gradedqualityDmaintenanceWraps multiple cloud CLIs (AWS, GCP, Azure, OCI) into a unified command interface and exposes them as MCP tools for AI assistants.ISC
- AlicenseAqualityDmaintenanceExposes Azure AI Foundry agents, workflows, and AI Search vector-database capabilities as MCP tools, enabling natural language interaction with agents, semantic search, and index management.102MIT