Server & power
servers_listserver_statusserver_startserver_stopserver_restartreinstall_status
Claude Code · Codex
将 Claude Code 或 Codex 与你的服务器连接起来。让你的助手安装插件、调整设置或排查启动问题。你可以自己决定它能访问哪些服务器。
连接功能免费提供。你需要一个兼容的 AI 助手;其提供商可能会收取自己的费用。
检查一下我服务器的状态。暂时先不要做任何更改。
把这三名玩家加入白名单。
检查这个插件是否适配我的服务器版本。安装前先问我一下。
以上仅为示例任务:可用功能取决于游戏、套餐以及所授予的权限。
选择助手,复制两行命令并在终端运行。随后在浏览器中选择服务器、权限和有效期。
无需复制令牌。
claude mcp add --scope user --transport http ezplayhost https://ezplayhost.com/api/automation/v1/mcp
claude mcp login ezplayhost
对于不支持浏览器登录的 REST 和 MCP 应用,你仍可创建受限令牌。
Important: this is not a command for your server's game console. Enter it in the terminal on your own computer (Windows: PowerShell, macOS and Linux: Terminal).
claude mcp add --scope user --transport http ezplayhost https://ezplayhost.com/api/automation/v1/mcp --header "Authorization: Bearer <TOKEN>"
Codex reads the token from an environment variable. The first line sets it for the current terminal. To keep it permanently, add it to your shell profile.
Important: this is not a command for your server's game console. Enter it in the terminal on your own computer (Windows: PowerShell, macOS and Linux: Terminal).
export EZPLAYHOST_ASSISTANT_TOKEN="<TOKEN>"
codex mcp add ezplayhost --url https://ezplayhost.com/api/automation/v1/mcp --bearer-token-env-var EZPLAYHOST_ASSISTANT_TOKEN
For manual setup, your MCP client must support Streamable HTTP and a configurable bearer token. Clients with OAuth support connect through the browser sign-in instead, without a token.
URL: https://ezplayhost.com/api/automation/v1/mcp
Header: Authorization: Bearer <TOKEN>
No MCP support? The same actions are available as a plain REST interface with an OpenAPI description.
Important: this is not a command for your server's game console. Enter it in the terminal on your own computer (Windows: PowerShell, macOS and Linux: Terminal).
curl -H "Authorization: Bearer <TOKEN>" https://ezplayhost.com/api/automation/v1/servers
无法复制。请手动选中文本并复制。
The <TOKEN> placeholder stands for your access. Inside your account the page fills it in automatically.
This is the complete action catalog. Every action sits behind a permission you grant individually when creating the token - whatever you do not grant does not exist for the assistant.
servers_listserver_statusserver_startserver_stopserver_restartreinstall_statusplayers_listwhitelist_readwhitelist_addwhitelist_removeplayers_historyconsole_readconsole_commandfiles_listfile_readfile_writedirectory_createfiles_deletefile_copyfile_renamefiles_compressfile_decompressbackups_listbackup_createbackup_restorebackup_deleteschedules_listschedule_createschedule_updateschedule_deleteconfig_readconfig_writeworlds_listworld_createworld_switchworld_deleteworld_import_statusworld_import_installversions_listversion_statusversion_previewversion_changesoftware_catalogsoftware_previewsoftware_changeaddons_listaddons_searchaddon_versionsaddon_installaddon_updateaddon_removemodpacks_catalogmodpack_previewmodpack_statusmodpack_installmodpack_updatebedrock_packs_listbedrock_catalogbedrock_pack_installbedrock_pack_enablebedrock_pack_disablebedrock_pack_removesettings_readsettings_updatestartup_variables_readstartup_variables_updatemetrics_currentmetrics_historyactivity_listhealth_statusjoin_test_startjoin_test_statushealth_crash_diagnosisdatabases_listdatabase_createdatabase_deletedatabase_password_rotateexport_startexport_statussubdomain_checksubdomain_changerust_wipe_schedule_readrust_wipe_schedule_createrust_wipe_schedule_cancelrust_startup_params_readrust_startup_params_updaterust_map_previewcs2_map_pool_readcs2_map_pool_writecs2_match_statuscs2_match_loadcs2_match_controlcs2_map_changeark_ini_readark_ini_writeark_mod_order_readark_mod_order_writevalheim_worlds_listvalheim_world_activatevalheim_backups_listvalheim_backup_createvalheim_plugins_listvalheim_plugin_toggleserver_reinstallaccount_readaccount_profile_updateaccount_billing_historyaccount_subscriptionsaccount_email_changeaccount_password_changeaccount_delete_requestsubscription_cancelsubscription_reactivateaccount_security_statusaccount_two_factor_manageaccount_payment_methods_manageaccount_order_preparesupport_ticket_create
automation:unattended
Extra permission for unattended execution. Without it, the assistant asks you to confirm these steps in your signed-in account: server software changes, Modpack installation, Modpack updates, server reinstall, world import, subdomain changes and opening a support ticket. Account actions — email address, password, cancellation, deletion — always stay confirmation-bound. Everything else runs directly, within the permissions you granted.
No. The Automation API is part of every server and costs nothing on top. You still pay for your server only.
MCP clients with Streamable HTTP and a configurable bearer token are supported, for example Codex CLI. Compatibility depends on the application version and configuration. Alternatively, call the same actions through the REST API.
No. Orders, renewals and payments run exclusively through the checkout in your signed-in account. An assistant token cannot trigger a payment.
Account actions — email address, password, cancellation, deletion — always require confirmation. The extra permission allows certain server actions without browser confirmation. Protection points depend on the action; there is no general backup or rollback guarantee. A file backup does not protect external SQL databases.
Withdraw it in your profile under "Automation API". It loses validity immediately; any request the assistant has in flight fails afterwards.