Skip to main content
Yanked

This release has been yanked by its maintainers, and will be ignored by installers, except when explicitly specified.

Linode MCP Server

PyPI version License: MIT

A Model Context Protocol (MCP) server for interacting with Linode's API to manage cloud resources. This package enables Large Language Models (LLMs) like Claude to manage Linode instances through a standardized interface.

Features

  • List Linode regions, instance types, and instances
  • Create, view details, delete, and reboot Linode instances
  • Secure and easy-to-use interface for LLMs to manage Linode resources
  • Fully compatible with MCP-enabled AI assistants like Claude

Installation

pip install linode-mcp

From Source

# Clone the repository
git clone https://github.com/yourusername/linode-mcp.git
cd linode-mcp

# Create a virtual environment (optional but recommended)
python -m venv venv
source venv/bin/activate  # On Windows: venv\Scripts\activate

# Install the package in development mode
pip install -e .

Configuration

Set your Linode API key as an environment variable:

export LINODE_API_KEY=your_api_key_here

Or use a .env file in the project directory:

LINODE_API_KEY=your_api_key_here

You can generate an API key from the Linode Cloud Manager.

Usage

As a Command Line Tool

# Run with default settings
linode-mcp

# Enable debug logging
linode-mcp --debug

# Specify API key on command line
linode-mcp --api-key your_api_key_here

With Claude for Desktop

  1. Install the package:

    pip install linode-mcp
    
  2. Manually edit your Claude Desktop configuration file:

    • MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json
    • Windows: %APPDATA%\Claude\claude_desktop_config.json
    {
      "mcpServers": {
        "linode": {
          "command": "linode-mcp",
          "args": ["--api-key", "your_api_key_here"]
        }
      }
    }
    
  3. Restart Claude for Desktop

  4. In a conversation with Claude, you can now ask it to:

    • List your Linode instances
    • Create a new Linode instance
    • Get details about a specific instance
    • Reboot or delete instances

Example prompts:

  • "Show me all my Linode instances"
  • "Create a new 2GB Linode in the Frankfurt region with Debian 11"
  • "Reboot my instance with ID 12345"

Available Tools

The package provides these MCP tools:

  • list_regions - List all available Linode regions
  • list_instance_types - List all available Linode instance types and their pricing
  • list_instances - List all existing Linode instances
  • create_instance - Create a new Linode instance
  • get_instance - Get details about a specific Linode instance
  • delete_instance - Delete a Linode instance
  • reboot_instance - Reboot a Linode instance

Development

Project Structure

linode-mcp/
├── bin/                  # Command-line scripts
├── src/                  # Source code
│   └── linode_mcp/       # Main package
│       ├── tools/        # MCP tool implementations
│       └── server.py     # MCP server implementation
├── tests/                # Test directory
├── setup.py              # Package setup file
└── README.md             # This file

Running Tests

# Install test dependencies
pip install pytest

# Run tests
pytest

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

Metadata

Release files for mcp-linode 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mcp-linode 0.1.0
File Size Uploaded
mcp_linode-0.1.0.tar.gz 9.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mcp-linode 0.1.0
File Interpreter ABI Platform
mcp_linode-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 16.3 kB

Release files / mcp_linode-0.1.0.tar.gz

Download URL mcp_linode-0.1.0.tar.gz
Size 9.0 kB
Tags Source
SHA-256 checksum
How to use checksums
85a53aeea861dff585f412c2c92c953d6e2309c9df8d5eaadd5cd5a3f3448085
BLAKE2b-256 checksum
How to use checksums
a2980f74c70000f3574a3d0d0aa4baca20a65c4d0fe3f75f14b39dbe9462a943
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.0

Release files / mcp_linode-0.1.0-py3-none-any.whl

Download URL mcp_linode-0.1.0-py3-none-any.whl
Size 7.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cd02b996fb4296aeebd5487c489446af9abff32d764e7b46d1dc31d7c9e8eec9
BLAKE2b-256 checksum
How to use checksums
e33876f3c3f66a16d7bb5b048c1ff7f50f12bcdd2a5986f53f29b46f131d68c2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.0

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page