MCP Scaleway Functions

io.github.cyclimse由 GitHub 帳號 cyclimse 發布v0.3.4更新於 Oct 24, 2026

Unofficial MCP Server for Scaleway Serverless Functions

概覽

AI 產生的概覽

非官方 MCP 伺服器,讓助理管理並部署 Scaleway Serverless Functions,涵蓋命名空間、函式、程式碼、執行環境與日誌。

可以做什麼
  • 建立、列出與刪除函式命名空間
  • 建立、部署、更新與刪除函式,並列出可用的執行環境
  • 下載函式程式碼並取得函式日誌
  • 為本機函式加入相依套件,包括需要 Docker 的原生相依套件
適用情境
適合想讓助理在編輯器或編碼代理中端到端處理 Scaleway Serverless Functions 的情況:建立命名空間、部署或更新程式碼、下載既有函式繼續開發,或查看日誌。
執行需求
以本機執行檔或容器執行;README 說明預設在 localhost:8080 使用 SSE,也可透過參數改用 stdio。需要 Scaleway 憑證,預設從標準 Scaleway 設定檔讀取,其他設定(例如 SCW_DEFAULT_REGION)透過 Scaleway 環境變數配置。相依於原生程式碼的套件需要安裝 Docker。
安裝前請注意
非官方專案,與 Scaleway 無隸屬關係。它可以建立、更新與刪除命名空間和函式,README 表示其防止破壞性操作的安全措施並非萬無一失。它會使用你的 Scaleway 憑證,除錯日誌會記錄與 Scaleway API 之間的所有請求與回應。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 MCP Scaleway Functions,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

MCP Scaleway Functions

Model Context Protocol (MCP) server to manage and deploy Scaleway Serverless Functions using the Model Context Protocol standard.

[!CAUTION] This project is unofficial and not affiliated with or endorsed by Scaleway. Some small safety measures are in place to prevent the LLM from doing destructive actions, but they're not foolproof. Use at your own risk.

Getting Started

Download the latest release from the releases page or build it from source using Go.

Run the MCP server:

bash
./mcp-scaleway-functions

By default, the MCP server runs with the SSE transport on http://localhost:8080, but you can also change it to use Standard I/O (stdio) transport via the --transport stdio flag.

Then, configure your IDE or tool of choice to connect to the MCP server. Here are some examples:

VSCode (sse example)

Add a new server configuration in your .vscode/mcp.json file:

json
{	"servers": {		"mcp-scaleway-functions": {			"url": "http://localhost:8080",			"type": "http",		}	},}

Crush (stdio example)

Crush is an open-source coding agent that supports MCP. You can find more information about in the Crush repository.

Add a new server configuration in your ~/.config/crush/crush.json file:

json
{  "$schema": "https://charm.land/crush.json",  "mcp": {    "scaleway-functions": {      "type": "stdio",      "command": "mcp-scaleway-functions",      "args": ["--transport", "stdio"],      "timeout": 600,      "disabled": false    }  }}

You can even use Crush with Scaleway Generative APIs by adding a new provider in the same ~/.config/crush/crush.json file:

jsonc
{  "mcp": {	// ... see above ...  },  "providers": {    "scaleway": {      "name": "Scaleway",      "base_url": "https://api.scaleway.ai/v1/",      "type": "openai",	  // To fetch from environment variables, use the `$VAR_NAME` syntax.	  // Note: this key requires the "GenerativeApisModelAccess" permission.      "api_key": "$SCW_SECRET_KEY",      "models": [        {          "name": "Qwen coder",          "id": "qwen3-coder-30b-a3b-instruct",          "context_window": 128000,          "default_max_tokens": 8000        }      ]    }  }}

That's it 🎉! Have fun vibecoding and vibedevoopsing as you please.

Configuration

By default, the MCP server reads from the standard Scaleway configuration file located at ~/.config/scw/config.yaml.

Further configuration can be done via the Scaleway environment variables to configure the MCP server.

For instance, you can set a region to work in via the SCW_DEFAULT_REGION environment variable.

bash
SCW_DEFAULT_REGION=nl-ams ./mcp-scaleway-functions

Available Tools

ToolDescription
create_and_deploy_function_namespaceCreate and deploy a new function namespace.
list_function_namespacesList all function namespaces.
delete_function_namespaceDelete a function namespace.
list_functionsList all functions in a namespace.
list_function_runtimesList all available function runtimes.
create_and_deploy_functionCreate and deploy a new function.
update_functionUpdate the code or the configuration of an existing function.
delete_functionDelete a function.
download_functionDownload the code of a function. This is useful to work on an existing function.
fetch_function_logsFetch the logs of a function.
add_dependencyAdd a dependency to a local function. Useful for dependencies that rely on native code and therefore need Docker to be installed.

Debugging

You can enable debug logging by using the --debug flag when starting the MCP server. This will log all requests and responses to/from the Scaleway API.

To configure the log level, use the --log-level flag (default is info). Available log levels are: debug, info, warn, error.

Logs are stored in the $XDG_STATE_HOME/mcp-scaleway-functions directory (usually ~/.local/state/mcp-scaleway-functions).

Development

Running tests:

bash
go tool gotestsum --format testdox

Generating mocks:

bash
go tool mockery

來源:README.md,提交 c68860d

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.3.4最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分