Documentation for `scw mcp`
The CLI documentation pages are currently under construction
The content is up to date. We're making improvements to the site over the next few weeks for a better experience.
Commands for managing the MCP server that exposes Scaleway CLI commands as AI tools.
MCP server management commands
Commands for managing the MCP server that exposes Scaleway CLI commands as AI tools.
List available MCP resources
Lists all CLI commands that would be exposed as MCP resources by the server. Resources are read-only endpoints for list commands that can be accessed via URI. Use filters to see which resources are available for specific namespaces or resources.
Usage:
Code
Args:
| Name | Description | |
|---|---|---|
| namespaces | Filter by namespaces (e.g., instance, iam, object) | |
| resources | Filter by resources (e.g., server, volume, bucket) | |
| read-only | Default: false | Only list read-only resources |
Examples:
List all available MCP resources
Code
List resources for a specific namespace
Code
List resources for a specific resource type
Code
List only read-only resources
Code
List available MCP tools
Lists all CLI commands that would be exposed as MCP tools by the server. Use filters to see which commands are available for specific namespaces, resources, or verbs.
Usage:
Code
Args:
| Name | Description | |
|---|---|---|
| namespaces | Filter by namespaces (e.g., instance, iam, object) | |
| resources | Filter by resources (e.g., server, volume, bucket) | |
| verbs | Filter by verbs (e.g., get, list, create) | |
| read-only | Default: false | Only list read-only tools (get, list operations) |
Examples:
List all available MCP tools
Code
List tools for specific namespaces (comma-separated)
Code
List tools for specific resources (comma-separated)
Code
List only read-only tools (get/list operations)
Code
List tools with specific verbs (comma-separated)
Code
Start the MCP server
Runs the MCP server, exposing all CLI commands as MCP tools for AI assistants. Supports stdio (default) and streamable HTTP transports.
Usage:
Code
Args:
| Name | Description | |
|---|---|---|
| transport | Default: stdio | Transport mode: stdio (default) or streamable-http |
| address | Default: :8080 | Address to bind for streamable-http transports (e.g., :8080) |
| read-only | Default: false | Only register read-only commands (get, list operations) |
| namespaces | Only serve commands from specified namespaces (comma-separated) | |
| resources | Only serve commands from specified resources (comma-separated) | |
| verbs | Only serve commands with specified verbs (comma-separated) |
Examples:
Start the MCP server with stdio transport (default)
Code
Start the MCP server in read-only mode (only get/list operations)
Code
Only serve commands from specific namespaces
Code
Only serve commands from specific resources
Code
Only serve commands with specific verbs
Code
Combine filters to serve only instance server get/list commands
Code