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 分