timeweb-mcp
Timeweb MCP (stdio)
通过 twc CLI 连接 Timeweb Cloud 的本地 MCP 服务器。
你将获得
原生 MCP stdio 服务器(适用于 Codex
mcp_servers.<name>.command)用于执行任何
twc命令的通用工具timeweb_run_cli现成的
.env配置文件服务器/应用程序/账户的常用快捷方式
Related MCP server: interminal
1) 安装依赖
pip install -r requirements.txt
pip install -U twc-cli2) 配置 Timeweb CLI
twc config如果 twc 不在 PATH 中,请运行:
& "C:\Users\ZotkinEA\AppData\Roaming\Python\Python313\Scripts\twc.exe" config3) 配置 .env
Copy-Item .env.example .env -Force如有需要,请更新 .env 中的值。
4) 将服务器添加到 Codex (~/.codex/config.toml)
[mcp_servers.timeweb]
command = "python"
args = ["D:\\11. 2KAD_Soft\\0.1 Skills\\timeweb-mcp\\server.py"]
env = { TIMEWEB_ENV_FILE = "D:\\11. 2KAD_Soft\\0.1 Skills\\timeweb-mcp\\.env" }
startup_timeout_sec = 20
tool_timeout_sec = 240编辑配置后重启 Codex。
5) 快速健康检查
让 Codex 调用 timeweb_whoami 或 timeweb_account_status。
主要工具
timeweb_run_cli(args, output_format, cwd)- 运行任何twc命令timeweb_account_status()timeweb_whoami()timeweb_list_servers(filter_expr)timeweb_get_server(server_id)timeweb_start_server(server_ids)timeweb_stop_server(server_ids, hard)timeweb_reboot_server(server_ids, hard)timeweb_list_apps(filter_expr)timeweb_get_app(app_id, wait_started)timeweb_create_app(config_path, wait_started)
部署示例
从当前项目创建应用程序:
timeweb_run_cli(args=["apps", "create", "./timeweb-app.yaml"], output_format="json")运行任何 CLI 命令:
timeweb_run_cli(args=["cluster", "list"], output_format="json")Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Official xCloud MCP: manage servers, sites, WordPress, SSL, backups and deploys from any MCP client.
An MCP server that let you interact with Cycloid.io Internal Development Portal and Platform
timesheet.io MCP server - manage timers, projects, tasks and reports
Related MCP Servers
- AlicenseNot gradedqualityFmaintenanceAn MCP server that enables programmatic management and monitoring of development servers through a unified interface and interactive TUI. It provides tools for process control, log streaming, and experimental browser automation via Playwright.1MIT
- AlicenseAqualityCmaintenanceMCP server for SSH and local terminal access. Supports interactive commands, long-running processes, and TUI apps like tmux/zellij64MIT
- AlicenseBqualityBmaintenanceMCP-сервер для Kwork.ru и kwork.com: биржа, отклики, диалоги и заказы из Claude Code, Codex и Cursor2271 PyPI6MIT
- AlicenseNot gradedqualityCmaintenanceUniversal MCP server that wraps any CLI tool, enabling AI assistants to run commands via natural language.1MIT