Scaleway MCP server

io.github.scaleway由 GitHub 账号 scaleway 发布v2.65.1更新于 Oct 24, 2026

Scaleway MCP server for interacting with the Scaleway APIs

概览

AI 生成的概览

将 Scaleway CLI 命令暴露为 MCP 工具,让助手可以列出和管理 Scaleway 云资源,例如服务器和 IAM 用户。

可以做什么
  • 以 namespace_resource_verb 命名的工具执行 Scaleway CLI 命令(例如 instance_server_list)。
  • 列出并查看计算实例、IAM 用户等云资源。
  • 由于所有 CLI 命令都会注册为工具,可触达 CLI 暴露的其他 Scaleway API 操作。
  • 复用 CLI 已有的配置和凭据来执行这些调用。
适用场景
适合已经使用 Scaleway 云资源、希望助手通过 CLI 命令集查询或操作这些资源、而不必切换到控制台的场景。
运行要求
本地安装 Scaleway CLI(scw),并以 mcp server serve 子命令启动,或使用已发布的容器镜像。需按 CLI 的方式配置 Scaleway 凭据:配置文件 ~/.config/scw/config.yaml 或 SCW_CONFIG_PATH,或 SCW_ACCESS_KEY、SCW_SECRET_KEY 等环境变量。需要访问 Scaleway API 的网络连接。
安装前请注意
服务器沿用 CLI 的凭据,助手因此拥有该密钥对的全部权限,包括创建、修改或删除云资源并产生费用的命令。请将凭据权限限制到最小范围,并在允许前审查操作。可通过 SCW_DEBUG 开启调试日志。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Scaleway MCP server,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

MCP Server for Scaleway CLI

This namespace provides MCP (Model Context Protocol) server functionality, exposing Scaleway CLI commands as AI tools.

Usage

Starting the MCP Server

bash
scw mcp server serve

This starts the MCP server over stdio, which can be connected to by MCP-compatible AI assistants.

Configuration

The MCP server uses the same configuration as the CLI:

  • Config file: ~/.config/scw/config.yaml or $SCW_CONFIG_PATH
  • Environment variables: SCW_ACCESS_KEY, SCW_SECRET_KEY, etc.

Available Tools

All CLI commands are exposed as MCP tools with the naming convention:

  • namespace_resource_verb (e.g., instance_server_list)

Examples:

  • instance_server_list - List servers
  • iam_user_list - List IAM users

Architecture

  • server/ - Core MCP server implementation
    • server.go - MCP server wrapper and tool registration
    • tool.go - Command-to-tool conversion and execution
    • schema.go - JSON Schema generation from ArgSpecs

Development

Testing

bash
go test ./internal/namespaces/mcp/... -v

Debug Mode

Enable debug logging:

bash
SCW_DEBUG=true scw mcp server serve

Tool

You can use MCP inspector to explore and test the available tools.

Example: Using with an MCP Client

Configure your MCP client to connect to the Scaleway CLI server:

json
{  "mcpServers": {    "scaleway": {      "command": "scw",      "args": ["mcp", "server", "serve"]    }  }}

The client will then have access to all Scaleway CLI commands as tools.

来源:internal/namespaces/mcp/README.md,提交 dfd09cb

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

5
  1. v2.65.1最新Oct 7, 2026
  2. v2.65.0Oct 7, 2026
  3. v2.64.0Oct 6, 2026
  4. v2.63.0Sep 28, 2026
  5. v2.62.0Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分