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 分