mcp-mgccli
Provides tools for listing and getting Kubernetes clusters, node pools, flavors, and versions on Magalu Cloud.
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., "@mcp-mgccliList 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 para consultas de leitura na Magalu Cloud via mgc CLI.
Expõe 7 tools MCP (um por produto), cobrindo operações list e get. Toda autenticação é feita via API key — nenhuma credencial no código.
Requisitos
Related MCP server: oci-mcp-server
Instalação
pip install -e /caminho/para/mcp-mgccliConfiguração
Copie o arquivo de exemplo e preencha sua 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)Integração com Claude Code
O servidor já é iniciado automaticamente via start-mcp.sh, que carrega o .env. Para registrar:
claude mcp add --scope user mgc /caminho/para/mcp-mgccli/start-mcp.shOu adicione manualmente em ~/.claude.json:
{
"mcpServers": {
"mgc": {
"command": "/caminho/para/mcp-mgccli/start-mcp.sh"
}
}
}Integração com Claude Desktop
Edite ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) ou %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": {
"mgc": {
"command": "/caminho/para/mcp-mgccli/start-mcp.sh"
}
}
}Tools Disponíveis
Tool | Recursos |
| 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 e rules são subrecursos — exigem parent_id para list:
subnets list:parent_id=<vpc-id>rules list:parent_id=<security-group-id>
Parâmetros comuns
Parâmetro | Tipo | Descrição |
| string | Recurso a consultar (ver tabela acima) |
|
| Operação |
| string | ID do recurso (obrigatório para |
| string |
|
| string | ID do recurso pai (apenas |
Inferência de região
O Claude infere a região automaticamente a partir de linguagem natural:
Menção | Região |
"nordeste", "ne", "NE1" |
|
"sudeste", "se", "SE1" |
|
Se a região não for mencionada e MGC_REGION não estiver definido, o Claude pergunta antes de executar.
Exemplos de uso
"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"Desenvolvimento
# instalar em modo editável
pip install -e .
# rodar testes
python -m pytest tests/ -vMaintenance
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
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- 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/hedibertosilva/mcp-mgccli'
If you have feedback or need assistance with the MCP directory API, please join our Discord server