wesktop v0.7.0 /src.wesktop.mcp_tools.deployment
On this page

Deployment MCP tools that delegate staging, production PR creation, and pipeline status checks to the wesktop server API.

#src.wesktop.mcp_tools.deployment

#src.wesktop.mcp_tools.deployment

Deployment MCP tools that delegate staging, production PR creation, and pipeline status checks to the wesktop server API.

#_api_call

python
def _api_call(server_url: str, auth_token: str, method: str, path: str, payload: dict[str, Any] | None=None, timeout: int=30) -> str

Make an authenticated request to a server.

Returns the response body as a string, or an error message.

#stage_branch

python
def stage_branch(server_url: str, auth_token: str, qualified_branch: str, message: str) -> str

Trigger staging merge for a branch via a server API.

#create_prod_pr

python
def create_prod_pr(server_url: str, auth_token: str, qualified_branch: str, message: str) -> str

Create a production PR for a branch via a server API.

#check_pipeline

python
def check_pipeline(server_url: str, auth_token: str, qualified_branch: str) -> str

Check pipeline status for a branch via a server API.