Linode MCP Server

MIT License
  • Apple

Integrations

  • Supports configuration via .env files for storing Linode API keys securely.

  • Supports creating Linode instances with Debian 11 as the operating system.

  • Provides specific configuration paths for Claude Desktop integration on macOS systems.

Linode MCP 服务器

一个模型上下文协议 (MCP) 服务器,用于与 Linode 的 API 交互以管理云资源。此软件包支持 Claude 等大型语言模型 (LLM) 通过标准化接口管理 Linode 实例。

特征

  • 列出 Linode 区域、实例类型和实例
  • 创建、查看详细信息、删除和重启 Linode 实例
  • 安全且易于使用的界面,方便 LLM 管理 Linode 资源
  • 与 Claude 等支持 MCP 的 AI 助手完全兼容

安装和配置

将您的 Linode API 密钥设置为环境变量:

export LINODE_API_KEY=your_api_key_here

或者使用项目目录中的.env文件:

LINODE_API_KEY=your_api_key_here

您可以从Linode Cloud Manager生成 API 密钥。

来自 PyPI(推荐)

pip install linode-mcp

使用 uv

uvx pip install linode-mcp uvx linode-mcp --api-key $LINODE_API_KEY

来自源

# Clone the repository git clone https://github.com/yourusername/linode-mcp.git cd linode-mcp # Install the package in development mode ./scripts/install.sh

用法

作为命令行工具

# 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

使用 Claude 桌面版

  1. 安装软件包:
    pip install linode-mcp
  2. 手动编辑您的 Claude Desktop 配置文件:
    • 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. 重启 Claude 桌面版
  4. 在与 Claude 的对话中,您现在可以要求它:
    • 列出您的 Linode 实例
    • 创建新的Linode实例
    • 获取有关特定实例的详细信息
    • 重启或删除实例

提示示例:

  • “显示我所有的 Linode 实例”
  • “使用 Debian 11 在法兰克福地区创建一个新的 2GB Linode”
  • “重启我的 ID 为 12345 的实例”

可用工具

该软件包提供了以下 MCP 工具:

  • list_regions - 列出所有可用的 Linode 区域

待添加:

  • list_instance_types - 列出所有可用的 Linode 实例类型及其定价
  • list_instances - 列出所有现有的 Linode 实例
  • create_instance创建一个新的 Linode 实例
  • get_instance - 获取有关特定 Linode 实例的详细信息
  • delete_instance - 删除 Linode 实例
  • reboot_instance - 重新启动 Linode 实例

发展

项目结构

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

贡献

欢迎贡献代码!欢迎提交 Pull 请求。

  1. 分叉存储库
  2. 创建你的功能分支( git checkout -b feature/amazing-feature
  3. 提交您的更改( git commit -m 'Add some amazing feature'
  4. 推送到分支( git push origin feature/amazing-feature
  5. 打开拉取请求

执照

该项目根据 MIT 许可证获得许可 - 有关详细信息,请参阅LICENSE文件。

致谢

-
security - not tested
A
license - permissive license
-
quality - not tested

模型上下文协议服务器,使 Claude 等大型语言模型能够管理 Linode 云资源,包括列出区域、创建、查看、删除和重新启动 Linode 实例。

  1. Features
    1. Installation and Configuration
      1. From PyPI (Recommended)
      2. Using uv
      3. From Source
    2. Usage
      1. As a Command Line Tool
      2. With Claude for Desktop
    3. Available Tools
      1. Development
        1. Project Structure
      2. Contributing
        1. License
          1. Acknowledgments
            ID: f2adkuppb3