exoscale-mcp
Exoscale MCP Server
一个 MCP(Model Context Protocol)服务器,使 AI 助手能够管理 Exoscale 云基础设施。支持 stdio 和 Streamable HTTP 两种传输方式,默认启用只读模式以确保安全。
功能特性
10 个复合工具,涵盖 Compute、SKS(Kubernetes)、DNS、DBaaS、Block Storage 和 Object Storage
4 个只读资源,用于参考数据(区域、实例类型、模板、数据库套餐)
双传输 — stdio 用于本地使用(Claude Desktop、Kiro),HTTP 用于远程/共享部署
默认只读 — 写操作需要通过
EXOSCALE_MCP_READ_ONLY=false显式启用Dry-run 支持 — 在执行前预览任何变更操作
EXO2-HMAC-SHA256 认证,支持环境变量和配置文件凭据解析
Related MCP server: TianGong-AI-MCP
快速开始
# Install dependencies
npm install
# Build
npm run build
# Run in stdio mode (default, read-only)
EXOSCALE_API_KEY=your-key EXOSCALE_API_SECRET=your-secret npm start
# Run in HTTP mode
npm run start:http配置
环境变量 | 默认值 | 说明 |
| — | Exoscale API 密钥(必填) |
| — | Exoscale API 私钥(必填) |
|
| 默认 API 区域 |
|
| 设置为 |
|
| 传输方式: |
|
| HTTP 端口(当传输方式为 |
CLI 标志 --http 和 --port <n> 会覆盖环境变量。
凭据解析
EXOSCALE_API_KEY+EXOSCALE_API_SECRET环境变量~/.exoscale/config文件(INI 格式,[default]节)
安全模型
该服务器实现了三层安全保护:
只读模式(默认开启) — 所有变更操作都会返回明确的错误信息,引导用户设置
EXOSCALE_MCP_READ_ONLY=falseDry-run 模式 — 向任何变更操作传递
dryRun: true以预览将要发生的结果破坏性注解 — 工具带有
destructiveHint: true注解,以便 MCP 客户端提示用户确认
工具
工具 | 操作 | 说明 |
| list, get, create, start, stop, reboot, resize, delete | 管理计算虚拟机 |
| list, get, create, delete, add_rule, remove_rule | 管理防火墙规则 |
| list, get, create, delete, attach, detach | 管理弹性 IP |
| list, get, create, upgrade, delete, get_kubeconfig | 管理 Kubernetes 集群 |
| list, get, create, scale, delete | 管理集群节点池 |
| list, get, create, delete | 管理 DNS 区域 |
| list, get, create, update, delete | 管理 DNS 记录 |
| list, get, create, update, delete, get_connection_info | 管理数据库 |
| list, get, create, resize, attach, detach, snapshot, delete | 管理卷 |
| list_buckets, create_bucket, delete_bucket, get_presigned_url | 管理 SOS 存储桶 |
资源
URI | 说明 |
| 可用的数据中心区域 |
| 计算实例类型(CPU、内存、系列) |
| 适用于实例的操作系统模板 |
| 数据库服务类型和套餐 |
MCP 客户端配置
Kiro / Claude Desktop (stdio)
添加到你的 MCP 配置中:
{
"mcpServers": {
"exoscale": {
"command": "node",
"args": ["/path/to/exoscale-mcp/dist/index.js"],
"env": {
"EXOSCALE_API_KEY": "your-key",
"EXOSCALE_API_SECRET": "your-secret"
}
}
}
}HTTP 模式
EXOSCALE_API_KEY=key EXOSCALE_API_SECRET=secret node dist/index.js --http --port 3000然后将你的 MCP 客户端连接到 http://127.0.0.1:3000/mcp。
开发
# Dev mode (tsx, auto-restarts not included)
npm run dev
# Type check
npm run lint
# Run tests
npm test
# Run with coverage
npm run test:coverage
# Regenerate types from OpenAPI spec
npm run generate:types架构
有关详细的系统概述,请参阅 ARCHITECTURE.md。
贡献
有关添加工具、资源和测试的指南,请参阅 CONTRIBUTING.md。
许可证
Apache License 2.0 — 详见 LICENSE。
This server cannot be installed
Maintenance
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
Model Context Protocol server for the Apideck Unified API. Connect any MCP-compatible agent framework to 100+ accounting systems, HRIS platforms, file storage providers, and more through one integration. More information https://www.apideck.com/mcp-server
An MCP server that let you interact with Cycloid.io Internal Development Portal and Platform
Related MCP Servers
- FlicenseCqualityDmaintenanceA Model Context Protocol (MCP) server that enables AI assistants like Claude to interact with your AWS environment. This allows for natural language querying and management of your AWS resources during conversations. Think of better Amazon Q alternative.3294
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol (MCP) server that supports STDIO, SSE and Streamable HTTP protocols for AI model interactions.281MIT
- AlicenseNot gradedqualityCmaintenanceA lightweight, stdio-based MCP server enabling AI assistants to perform local file system operations like reading, writing, searching, and executing commands.5,122MIT
- FlicenseNot gradedqualityCmaintenanceMulti-cloud MCP server that exposes cloud AI models as tools for AI CLI agents, supporting streaming, conversation history, parallel multi-model queries, and dynamic model discovery.2
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- 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/samisouabni/exoscale-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server