lunanode-mcp
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., "@lunanode-mcplist my virtual machines"
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.
lunanode-mcp
MCP server for the LunaNode VPS API.
Features
43 tools covering VMs, images, volumes, floating IPs, SSH keys, and plans/regions.
Tiered safety gating: read operations are always available; write and delete operations must be explicitly enabled.
Related MCP server: vps-mcp
Configuration
Set these environment variables:
Variable | Required | Description |
| Yes | Your LunaNode API ID. |
| Yes | Your LunaNode API key (128 characters). |
| No | Enables write-tier tools. Unset = off. |
| No | Enables delete-tier tools. Unset = off. |
Read-tier tools are always enabled. Enabling writes does not imply deletes — each tier is gated independently.
Client setup
Example configuration for Claude Code / Claude Desktop:
{
"mcpServers": {
"lunanode": {
"command": "npx",
"args": ["-y", "github:Burntberry/lunanode-mcp"],
"env": {
"LUNANODE_API_ID": "your-api-id",
"LUNANODE_API_KEY": "your-128-char-api-key",
"LUNANODE_ENABLE_WRITES": "true",
"LUNANODE_ENABLE_DELETES": "vm_delete,volume_delete"
}
}
}
}Tool reference
Read tools (always enabled)
Tool | Description |
| List all virtual machines on the LunaNode account. |
| Get detailed configuration and live status for a virtual machine. |
| List all IP addresses assigned to a virtual machine. |
| List images available to the account, optionally filtered by region. |
| Get metadata for a specific image. |
| List block storage volumes, optionally filtered by region. |
| Get details for a specific volume. |
| List volume snapshots in a region. |
| List all floating IPs on the account. |
| List stored SSH public keys with their IDs. |
| List available LunaNode VM plans with pricing, CPU, RAM, storage, and regional availability. |
| List all LunaNode regions where services can be deployed. |
Write tools (require LUNANODE_ENABLE_WRITES)
Tool | Description |
| Provision a new virtual machine. Requires a hostname and plan_id; boot from image_id or volume_id. |
| Perform a VM state action: start, stop, reboot, diskswap, rescue, shelve, or unshelve. |
| Reinstall a VM from an image. Destroys the VM's current disk contents. |
| Change a VM's plan (CPU/RAM/storage). |
| Change a VM's hostname label. |
| Create a disk image snapshot of a VM. |
| Generate a temporary noVNC console URL for a VM. Grants console access, so it is write-gated. |
| Attach a floating (public) IP to a VM. |
| Allocate an additional internal IP address on a VM. |
| Add a VM to an existing security group. |
| Remove a VM from a security group. |
| Add a new image by fetching it from an HTTP, HTTPS, or FTP URL. |
| Copy an image to another region. |
| Change an image's label. |
| Create a block storage volume, optionally pre-populated from an image or snapshot. |
| Attach a volume to a virtual machine. |
| Detach a volume from its virtual machine. |
| Increase the size of an unattached volume. |
| Change a volume's label. |
| Take a snapshot of a volume. |
| Convert a volume snapshot into an image, optionally in another region. |
| Provision a new unattached floating IP in a region. |
| Store an SSH public key for provisioning VMs with key-based authentication. |
Delete tools (require LUNANODE_ENABLE_DELETES)
Tool | Description |
| Permanently delete a virtual machine. |
| Remove an internal IP address from a VM. |
| Detach a floating IP from a VM. By default the IP is destroyed; set keep to retain it unattached. |
| Permanently delete an image. |
| Permanently delete a volume. |
| Permanently delete a volume snapshot. |
| Release an unattached floating IP from the account. |
| Delete a stored SSH key. |
Development
npm install
npm test
npm run build
npm run smoke # needs real LunaNode credentialsAPI keys
API keys are created in the LunaNode panel under API. See https://www.lunanode.com/api/overview for details.
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/Burntberry/lunanode-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server