{"_id":"@arvoretech/mgc-mcp","_rev":"7-1de53972d6d58ea94be85ff0f4248c32","name":"@arvoretech/mgc-mcp","dist-tags":{"latest":"1.2.0"},"versions":{"1.1.0":{"name":"@arvoretech/mgc-mcp","version":"1.1.0","keywords":["mcp","mgc","magalu","cloud","cli","infrastructure","llm","ai","arvore"],"author":{"name":"Arvore"},"license":"MIT","_id":"@arvoretech/mgc-mcp@1.1.0","maintainers":[{"name":"joao.barros.arvore","email":"joao.barros@arvore.com.br"}],"homepage":"https://github.com/arvoreeducacao/arvore-mcp-servers#readme","bugs":{"url":"https://github.com/arvoreeducacao/arvore-mcp-servers/issues"},"bin":{"mgc-mcp":"dist/index.js"},"dist":{"shasum":"0d87421b691ac076db9711537eae8a937da7bb67","tarball":"https://registry.npmjs.org/@arvoretech/mgc-mcp/-/mgc-mcp-1.1.0.tgz","fileCount":16,"integrity":"sha512-iy8dUjAoF8b9y8ZmK0+kG9upIU415bDPusljyqvm/MFFlB7Lir/TS92+F04xYaNg++cmv9dMC3o3T75x5fQXPg==","signatures":[{"sig":"MEUCIQD1QNHyqrSZABnujfymCin2ExZ0na2Pxw4p1roprX3oDAIgP+avCh/KefJ0qpv6PoKk+OXopPiGZ8LINz5av5hQ82A=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":80254},"main":"dist/index.js","type":"module","gitHead":"94e4179babc231349041e51234720f1a6904e17a","scripts":{"dev":"tsx src/index.ts","lint":"eslint src/**/*.ts","test":"vitest run --passWithNoTests","build":"tsc","start":"node dist/index.js","lint:fix":"eslint src/**/*.ts --fix","test:cov":"vitest run --coverage --passWithNoTests"},"_npmUser":{"name":"joao.barros.arvore","email":"joao.barros@arvore.com.br"},"repository":{"url":"git+https://github.com/arvoreeducacao/arvore-mcp-servers.git","type":"git","directory":"packages/mgc"},"_npmVersion":"10.8.2","description":"Magalu Cloud (MGC) CLI MCP Server for managing cloud infrastructure","directories":{},"_nodeVersion":"20.20.1","dependencies":{"zod":"^3.22.4","@modelcontextprotocol/sdk":"^1.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/mgc-mcp_1.1.0_1773945063374_0.38734528484648245","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"@arvoretech/mgc-mcp","version":"1.2.0","keywords":["mcp","mgc","magalu","cloud","cli","infrastructure","llm","ai","arvore"],"author":{"name":"Arvore"},"license":"MIT","_id":"@arvoretech/mgc-mcp@1.2.0","maintainers":[{"name":"joao.barros.arvore","email":"joao.barros@arvore.com.br"}],"homepage":"https://github.com/arvoreeducacao/arvore-mcp-servers#readme","bugs":{"url":"https://github.com/arvoreeducacao/arvore-mcp-servers/issues"},"bin":{"mgc-mcp":"dist/index.js"},"dist":{"shasum":"213c668cc77c1961ce47eb6f62d9f6cb0a35fb92","tarball":"https://registry.npmjs.org/@arvoretech/mgc-mcp/-/mgc-mcp-1.2.0.tgz","fileCount":16,"integrity":"sha512-+dKzYcYC6jszQ3SuJgKuwWkr8Dtdq7YJaKJa+TKejFb6R0kFF9PP9imaR3B2c2kAMeu9VlM2LJTNXoEK2hAb6w==","signatures":[{"sig":"MEUCIQDE69cL81VukOAY8p4gf9qelvBRcKoYbceh0y1iFV4XJwIgZ8YLcTBRoafkDg69OwmkEiuISM+VCTtZsjqObgclFOg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":81298},"main":"dist/index.js","type":"module","gitHead":"1efee9bd751a5de673fd9651355d64058de7efd8","scripts":{"dev":"tsx src/index.ts","lint":"eslint src/**/*.ts","test":"vitest run --passWithNoTests","build":"tsc","start":"node dist/index.js","lint:fix":"eslint src/**/*.ts --fix","test:cov":"vitest run --coverage --passWithNoTests"},"_npmUser":{"name":"joao.barros.arvore","email":"joao.barros@arvore.com.br"},"repository":{"url":"git+https://github.com/arvoreeducacao/arvore-mcp-servers.git","type":"git","directory":"packages/mgc"},"_npmVersion":"10.8.2","description":"Magalu Cloud (MGC) CLI MCP Server for managing cloud infrastructure","directories":{},"_nodeVersion":"20.20.1","dependencies":{"zod":"^3.22.4","@modelcontextprotocol/sdk":"^1.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/mgc-mcp_1.2.0_1773947703584_0.9432822625934794","host":"s3://npm-registry-packages-npm-production"}}},"time":{"created":"2026-03-19T18:31:03.268Z","modified":"2026-06-16T21:13:18.104Z","1.1.0":"2026-03-19T18:31:03.542Z","1.2.0":"2026-03-19T19:15:03.744Z"},"bugs":{"url":"https://github.com/arvoreeducacao/arvore-mcp-servers/issues"},"author":{"name":"Arvore"},"license":"MIT","homepage":"https://github.com/arvoreeducacao/arvore-mcp-servers#readme","keywords":["mcp","mgc","magalu","cloud","cli","infrastructure","llm","ai","arvore"],"repository":{"url":"git+https://github.com/arvoreeducacao/arvore-mcp-servers.git","type":"git","directory":"packages/mgc"},"description":"Magalu Cloud (MGC) CLI MCP Server for managing cloud infrastructure","maintainers":[{"email":"joao.barros@arvore.com.br","name":"joao.barros.arvore"},{"email":"rafasouza@protonmail.com","name":"rafsouza"},{"email":"pedro.adas@gmail.com","name":"pedro.adas"},{"email":"guilhermebscontact@gmail.com","name":"guilhermebs"},{"email":"ricardorbxx1@gmail.com","name":"ricardoraposorfox"},{"email":"jvgcunha2002@gmail.com","name":"jott4"},{"email":"vitor.piovezan@arvore.com.br","name":"vitor.piovezan"}],"readme":"# @arvoretech/mgc-mcp\n\nMCP Server for [Magalu Cloud CLI (mgc)](https://github.com/MagaluCloud/mgccli) — manage cloud infrastructure through AI assistants.\n\n## Prerequisites\n\n- [MGC CLI](https://github.com/MagaluCloud/mgccli) installed and authenticated (`mgc auth login`)\n- Node.js >= 20\n\n## Configuration\n\nAdd to your MCP client config:\n\n```json\n{\n  \"mcpServers\": {\n    \"mgc\": {\n      \"command\": \"npx\",\n      \"args\": [\"@arvoretech/mgc-mcp\"]\n    }\n  }\n}\n```\n\n### Environment Variables\n\n| Variable | Description | Default |\n|----------|-------------|---------|\n| `MGC_CLI_PATH` | Custom path to the mgc binary | `mgc` |\n| `MGC_REGION` | Default region for all commands (e.g., `br-ne1`, `br-se1`, `br-mgl1`) | CLI default |\n| `MAGALU_DOCS_DIR` | Path to scraped Magalu docs (enables doc search tools) | — |\n\n## Available Tools\n\n### General\n- **mgc_execute** — Run any mgc CLI command\n- **mgc_auth_status** — Check authentication status\n\n### Virtual Machines\n- **mgc_vm_list** — List VM instances\n- **mgc_vm_create** — Create a VM\n- **mgc_vm_get** — Get VM details\n- **mgc_vm_delete** — Delete a VM\n- **mgc_vm_start/stop/reboot** — VM lifecycle actions\n- **mgc_vm_machine_types_list** — List available machine types\n- **mgc_vm_images_list** — List available OS images\n\n### Object Storage\n- **mgc_object_storage_list_buckets** — List buckets\n- **mgc_object_storage_create_bucket** — Create a bucket\n- **mgc_object_storage_delete_bucket** — Delete a bucket\n- **mgc_object_storage_list_objects** — List objects in a bucket\n- **mgc_object_storage_upload** — Upload a file\n\n### Network\n- **mgc_network_vpc_list** — List VPCs\n- **mgc_network_vpc_create** — Create a VPC\n- **mgc_network_subnets_list** — List subnets\n- **mgc_network_public_ip_list** — List public IPs\n\n### Kubernetes\n- **mgc_kubernetes_cluster_list** — List clusters\n- **mgc_kubernetes_cluster_create** — Create a cluster\n- **mgc_kubernetes_get_kubeconfig** — Get kubeconfig\n\n### Database (DBaaS)\n- **mgc_dbaas_instance_list** — List database instances\n\n### Block Storage\n- **mgc_block_storage_volume_list** — List volumes\n- **mgc_block_storage_volume_create** — Create a volume\n\n### Documentation Search\n- **search_magalu_docs** — Semantic search across Magalu developer docs (requires `MAGALU_DOCS_DIR`)\n- **get_magalu_doc** — Get full markdown content of a doc page (use search first to find filepath)\n\n#### Scraping docs\n\nUse `docusaurus-to-md` to scrape the Magalu docs into a local directory:\n\n```bash\nnpx @arvoretech/docusaurus-to-md https://dev.magalu.com -o ./docs-cache\n```\n\nThen set `MAGALU_DOCS_DIR` to the output path when running the MCP server.\n\n## Development\n\n```bash\npnpm install\npnpm -F @arvoretech/mgc-mcp dev\n```\n","readmeFilename":"README.md"}