Linode云管理
STDIO用于管理Linode云资源的MCP服务器
用于管理Linode云资源的MCP服务器
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.
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.
pip install linode-mcp
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
Install the package:
pip install linode-mcp
Manually edit your Claude Desktop configuration file:
~/Library/Application Support/Claude/claude_desktop_config.json
%APPDATA%\Claude\claude_desktop_config.json
{ "mcpServers": { "linode": { "command": "linode-mcp", "args": ["--api-key", "your_api_key_here"] } } }
Restart Claude for Desktop
In a conversation with Claude, you can now ask it to:
Example prompts:
The package provides these MCP tools:
list_regions
- List all available Linode regionsTo be added:
list_instance_types
- List all available Linode instance types and their pricinglist_instances
- List all existing Linode instancescreate_instance
- Create a new Linode instanceget_instance
- Get details about a specific Linode instancedelete_instance
- Delete a Linode instancereboot_instance
- Reboot a Linode instancelinode-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
Contributions are welcome! Please feel free to submit a Pull Request.
git checkout -b feature/amazing-feature
)git commit -m 'Add some amazing feature'
)git push origin feature/amazing-feature
)This project is licensed under the MIT License - see the LICENSE file for details.