Install
Add to ~/Library/Application Support/Claude/claude_desktop_config.json
Windows / Linux path
%APPDATA%\Claude\claude_desktop_config.json~/.config/Claude/claude_desktop_config.json{
"mcpServers": {
"io-github-stufently-timeweb-s3-mcp-ai-cli": {
"command": "docker",
"args": [
"run",
"-i",
"-e",
"TIMEWEB_S3_ACCESS_KEY_ID=<YOUR_VALUE>",
"-e",
"TIMEWEB_S3_SECRET_ACCESS_KEY=<YOUR_VALUE>",
"-e",
"TIMEWEB_S3_POOL=<YOUR_VALUE>",
"-e",
"TIMEWEB_S3_ENDPOINT=<YOUR_VALUE>",
"-e",
"TIMEWEB_S3_ALLOW_INSECURE=<YOUR_VALUE>",
"-e",
"TIMEWEB_S3_ALLOW=<YOUR_VALUE>",
"-e",
"TIMEWEB_S3_DESTRUCTIVE_POLICY=<YOUR_VALUE>",
"-e",
"TIMEWEB_S3_ALLOWED_BUCKETS=<YOUR_VALUE>",
"-e",
"TIMEWEB_S3_ALLOWED_PREFIXES=<YOUR_VALUE>",
"-e",
"TIMEWEB_S3_FILE_ROOT=<YOUR_VALUE>",
"-e",
"TIMEWEB_S3_AUDIT_FILE=<YOUR_VALUE>",
"ghcr.io/stufently/timeweb-s3-mcp-ai-cli:0.1.1"
]
}
}
}
Restart Claude Desktop to activate the new server.
Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)
Windows / Linux path
.cursor\mcp.json (project) or %USERPROFILE%\.cursor\mcp.json (global).cursor/mcp.json (project) or ~/.cursor/mcp.json (global){
"mcpServers": {
"io-github-stufently-timeweb-s3-mcp-ai-cli": {
"command": "docker",
"args": [
"run",
"-i",
"-e",
"TIMEWEB_S3_ACCESS_KEY_ID=<YOUR_VALUE>",
"-e",
"TIMEWEB_S3_SECRET_ACCESS_KEY=<YOUR_VALUE>",
"-e",
"TIMEWEB_S3_POOL=<YOUR_VALUE>",
"-e",
"TIMEWEB_S3_ENDPOINT=<YOUR_VALUE>",
"-e",
"TIMEWEB_S3_ALLOW_INSECURE=<YOUR_VALUE>",
"-e",
"TIMEWEB_S3_ALLOW=<YOUR_VALUE>",
"-e",
"TIMEWEB_S3_DESTRUCTIVE_POLICY=<YOUR_VALUE>",
"-e",
"TIMEWEB_S3_ALLOWED_BUCKETS=<YOUR_VALUE>",
"-e",
"TIMEWEB_S3_ALLOWED_PREFIXES=<YOUR_VALUE>",
"-e",
"TIMEWEB_S3_FILE_ROOT=<YOUR_VALUE>",
"-e",
"TIMEWEB_S3_AUDIT_FILE=<YOUR_VALUE>",
"ghcr.io/stufently/timeweb-s3-mcp-ai-cli:0.1.1"
]
}
}
}
Cursor usually picks up config changes automatically; if the server does not appear, reload the window.
Add to .mcp.json (project) or ~/.claude.json (global)
Windows / Linux path
.mcp.json (project) or %USERPROFILE%\.claude.json (global).mcp.json (project) or ~/.claude.json (global){
"mcpServers": {
"io-github-stufently-timeweb-s3-mcp-ai-cli": {
"command": "docker",
"args": [
"run",
"-i",
"-e",
"TIMEWEB_S3_ACCESS_KEY_ID=<YOUR_VALUE>",
"-e",
"TIMEWEB_S3_SECRET_ACCESS_KEY=<YOUR_VALUE>",
"-e",
"TIMEWEB_S3_POOL=<YOUR_VALUE>",
"-e",
"TIMEWEB_S3_ENDPOINT=<YOUR_VALUE>",
"-e",
"TIMEWEB_S3_ALLOW_INSECURE=<YOUR_VALUE>",
"-e",
"TIMEWEB_S3_ALLOW=<YOUR_VALUE>",
"-e",
"TIMEWEB_S3_DESTRUCTIVE_POLICY=<YOUR_VALUE>",
"-e",
"TIMEWEB_S3_ALLOWED_BUCKETS=<YOUR_VALUE>",
"-e",
"TIMEWEB_S3_ALLOWED_PREFIXES=<YOUR_VALUE>",
"-e",
"TIMEWEB_S3_FILE_ROOT=<YOUR_VALUE>",
"-e",
"TIMEWEB_S3_AUDIT_FILE=<YOUR_VALUE>",
"ghcr.io/stufently/timeweb-s3-mcp-ai-cli:0.1.1"
]
}
}
}
The server will be available in the next Claude Code session.
Add to .vscode/mcp.json
Windows / Linux path
.vscode\mcp.json.vscode/mcp.json{
"servers": {
"io-github-stufently-timeweb-s3-mcp-ai-cli": {
"command": "docker",
"args": [
"run",
"-i",
"-e",
"TIMEWEB_S3_ACCESS_KEY_ID=<YOUR_VALUE>",
"-e",
"TIMEWEB_S3_SECRET_ACCESS_KEY=<YOUR_VALUE>",
"-e",
"TIMEWEB_S3_POOL=<YOUR_VALUE>",
"-e",
"TIMEWEB_S3_ENDPOINT=<YOUR_VALUE>",
"-e",
"TIMEWEB_S3_ALLOW_INSECURE=<YOUR_VALUE>",
"-e",
"TIMEWEB_S3_ALLOW=<YOUR_VALUE>",
"-e",
"TIMEWEB_S3_DESTRUCTIVE_POLICY=<YOUR_VALUE>",
"-e",
"TIMEWEB_S3_ALLOWED_BUCKETS=<YOUR_VALUE>",
"-e",
"TIMEWEB_S3_ALLOWED_PREFIXES=<YOUR_VALUE>",
"-e",
"TIMEWEB_S3_FILE_ROOT=<YOUR_VALUE>",
"-e",
"TIMEWEB_S3_AUDIT_FILE=<YOUR_VALUE>",
"ghcr.io/stufently/timeweb-s3-mcp-ai-cli:0.1.1"
]
}
}
}
Reload the VS Code window to activate.
Add to ~/.codeium/windsurf/mcp_config.json
Windows / Linux path
%USERPROFILE%\.codeium\windsurf\mcp_config.json~/.codeium/windsurf/mcp_config.json{
"mcpServers": {
"io-github-stufently-timeweb-s3-mcp-ai-cli": {
"command": "docker",
"args": [
"run",
"-i",
"-e",
"TIMEWEB_S3_ACCESS_KEY_ID=<YOUR_VALUE>",
"-e",
"TIMEWEB_S3_SECRET_ACCESS_KEY=<YOUR_VALUE>",
"-e",
"TIMEWEB_S3_POOL=<YOUR_VALUE>",
"-e",
"TIMEWEB_S3_ENDPOINT=<YOUR_VALUE>",
"-e",
"TIMEWEB_S3_ALLOW_INSECURE=<YOUR_VALUE>",
"-e",
"TIMEWEB_S3_ALLOW=<YOUR_VALUE>",
"-e",
"TIMEWEB_S3_DESTRUCTIVE_POLICY=<YOUR_VALUE>",
"-e",
"TIMEWEB_S3_ALLOWED_BUCKETS=<YOUR_VALUE>",
"-e",
"TIMEWEB_S3_ALLOWED_PREFIXES=<YOUR_VALUE>",
"-e",
"TIMEWEB_S3_FILE_ROOT=<YOUR_VALUE>",
"-e",
"TIMEWEB_S3_AUDIT_FILE=<YOUR_VALUE>",
"ghcr.io/stufently/timeweb-s3-mcp-ai-cli:0.1.1"
]
}
}
}
Restart Windsurf (or refresh its MCP servers panel) to activate the new server.
Windsurf Next uses ~/.codeium/windsurf-next/mcp_config.json. Devin Desktop (the Windsurf rebrand) uses ~/.config/devin/mcp_config.json and imports the Windsurf file.
Add to ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
Windows / Linux path
%APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json{
"mcpServers": {
"io-github-stufently-timeweb-s3-mcp-ai-cli": {
"command": "docker",
"args": [
"run",
"-i",
"-e",
"TIMEWEB_S3_ACCESS_KEY_ID=<YOUR_VALUE>",
"-e",
"TIMEWEB_S3_SECRET_ACCESS_KEY=<YOUR_VALUE>",
"-e",
"TIMEWEB_S3_POOL=<YOUR_VALUE>",
"-e",
"TIMEWEB_S3_ENDPOINT=<YOUR_VALUE>",
"-e",
"TIMEWEB_S3_ALLOW_INSECURE=<YOUR_VALUE>",
"-e",
"TIMEWEB_S3_ALLOW=<YOUR_VALUE>",
"-e",
"TIMEWEB_S3_DESTRUCTIVE_POLICY=<YOUR_VALUE>",
"-e",
"TIMEWEB_S3_ALLOWED_BUCKETS=<YOUR_VALUE>",
"-e",
"TIMEWEB_S3_ALLOWED_PREFIXES=<YOUR_VALUE>",
"-e",
"TIMEWEB_S3_FILE_ROOT=<YOUR_VALUE>",
"-e",
"TIMEWEB_S3_AUDIT_FILE=<YOUR_VALUE>",
"ghcr.io/stufently/timeweb-s3-mcp-ai-cli:0.1.1"
]
}
}
}
Cline reloads cline_mcp_settings.json automatically; if the server does not appear, reload the VS Code window.
Open it from Cline's MCP Servers panel → Configure. Roo Code uses a different file and format.
Configuration
Environment variables this server reads. Secrets stay on your machine.
| Name | Required | Description |
|---|---|---|
| TIMEWEB_S3_ACCESS_KEY_ID secret | Yes | Timeweb Cloud S3 access key ID. Can also be provided via flags or the credentials file (~/.config/timeweb-s3/credentials). Priority: flags > env > file. |
| TIMEWEB_S3_SECRET_ACCESS_KEY secret | Yes | Timeweb Cloud S3 secret access key. Can also be provided via flags or the credentials file (~/.config/timeweb-s3/credentials). Priority: flags > env > file. |
| TIMEWEB_S3_POOL | No | S3 pool/region. The default pool is ru-1; the SigV4 region equals the selected pool. Default: ru-1 |
| TIMEWEB_S3_ENDPOINT | No | Custom S3 endpoint URL. |
| TIMEWEB_S3_ALLOW_INSECURE | No | Set to 1 to allow HTTP (non-TLS) connections. |
| TIMEWEB_S3_ALLOW | No | Comma-separated list of enabled permission levels, e.g. 'write,delete,admin'. By default only read is registered. Can also be enabled via flags --allow-write --allow-delete --allow-admin. |
| TIMEWEB_S3_DESTRUCTIVE_POLICY | No | Policy for destructive operations: 'confirm' uses elicitation when supported, otherwise requires confirm:true after human consent; 'block' always forbids; 'allow' executes without a gate. Default: confirm |
| TIMEWEB_S3_ALLOWED_BUCKETS | No | Comma-separated list of allowed buckets, e.g. 'backups'. Partial scope forbids whole-bucket and wide list operations even if the bucket is listed. |
| TIMEWEB_S3_ALLOWED_PREFIXES | No | Comma-separated list of allowed prefixes with segment boundary awareness, e.g. 'backups/daily/'. '..' segments are rejected. |
| TIMEWEB_S3_FILE_ROOT | No | Enables file-based MCP tools (s3_download_file, s3_upload_file). Only relative paths inside this root are allowed; '..', absolute paths, and symlinks pointing outside are rejected. |
| TIMEWEB_S3_AUDIT_FILE | No | Path to an audit file where each call is additionally logged (written with 0600 permissions). |