Zeabur MCP 服务器
MCP 服务配置
复制以下 JSON 到 OPClaw 或其他 MCP 客户端的配置文件中即可使用
{
"mcpServers": {
"zeabur": {
"args": [
"zeabur-mcp@latest"
],
"command": "npx",
"env": {
"ZEABUR_TOKEN": "sk-xxxxxx"
}
}
}
}
该服务需要配置环境变量:ZEABUR_TOKEN
可用工具 (27 个)
该服务在 MCP 协议中暴露的工具,AI 可按需调用
bind-domain 3 个参数 需填 3 项
Bind a domain to a service
必填参数:domain、service、environment
create-empty-service 2 个参数 需填 2 项
Create a new empty service. Use deployLocalProject to deploy a local project to this service. Don't use this tool if you want to deploy a template.
必填参数:project、name
create-project 1 个参数 需填 1 项
Create a new project
必填参数:region
deploy-template 3 个参数 需填 2 项
Deploy a template on a project
必填参数:code、project
execute-database-command 4 个参数 需填 4 项
Execute a database command in remote database. It returns the output of the command. It does not have access to the local file, so you need to pass the file content (instead of the file path) as a string.
必填参数:environment、service、command、database-name
find-template 1 个参数 需填 1 项
Find the template by name.
必填参数:name
get-build-logs 2 个参数 需填 2 项
Get the build logs of a deployment
必填参数:project_id、deployment_id
get-codebase-context 1 个参数 需填 1 项
Get the Zeabur-related context of this codebase
必填参数:codebase-path
get-connection-instruction 2 个参数 需填 2 项
Get the connection instruction of a service
必填参数:service、environment
get-dashboard-url 2 个参数 需填 2 项
Get the dashboard URL of a service or a project
必填参数:type、id
get-domains-of-service 2 个参数 需填 2 项
Get the domains of a service
必填参数:service、environment
get-server 1 个参数 需填 1 项
Get the server. Useful when you want to get the server status or check if it's ready.
必填参数:id
get-service-info 1 个参数 需填 1 项
Get the service information (for example, project ID) of a service
必填参数:service
get-service-variables 3 个参数 需填 2 项
Get the variables of a service
必填参数:service、environment
get-template-variables 1 个参数 需填 1 项
Get the available variables of a template
必填参数:code
list-deployments 2 个参数 需填 2 项
List the deployments of a service
必填参数:service、environment
list-environments 1 个参数 需填 1 项
Get the environment of a project
必填参数:project
list-regions
List the available regions that can be created for a project. After calling this tool, always ask the user to choose one of the regions unless the user has specified the region.
该工具无需必填参数,直接调用即可
list-server-plans 2 个参数 需填 2 项
List the server plans. Useful when you want to rent a server. The price is in USD per month.
必填参数:provider、region
list-server-providers
List the server providers. Useful when you want to rent a server.
该工具无需必填参数,直接调用即可
list-server-regions 1 个参数 需填 1 项
List the server regions. Useful when you want to rent a server.
必填参数:provider
list-servers
List the servers. Useful when you want to know how many servers you have.
该工具无需必填参数,直接调用即可
list-services 2 个参数 需填 2 项
List the services of a project and its status
必填参数:project、environment
put-env-to-service-variables 3 个参数 需填 3 项
Set the variables of this service according to the .env.production (or .env) file.
必填参数:service、environment、codebase-path
rent-dedicated-server 3 个参数 需填 3 项
Rent a server. After renting, it will take a while to start the server. You can get the server status by calling 'get-server' tool.
必填参数:provider、region、plan
update-service-variables 3 个参数 需填 3 项
Update the variables of a service. It replaces all the existing variables with the new ones.
必填参数:service、environment、variables
upload-codebase 3 个参数 需填 3 项
Upload the codebase to ZIP. It saves the context to the codebase, and you get the context later by calling 'get-codebase-context'.
必填参数:service、environment、codebase-path