From 60bcb0716cfa720084faafb1d0c9b1f716a6945c Mon Sep 17 00:00:00 2001 From: Dillon DuPont Date: Wed, 30 Apr 2025 17:05:49 -0700 Subject: [PATCH] improved mcp prompting --- libs/mcp-server/mcp_server/server.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libs/mcp-server/mcp_server/server.py b/libs/mcp-server/mcp_server/server.py index f5fb37b2..67f7fe12 100644 --- a/libs/mcp-server/mcp_server/server.py +++ b/libs/mcp-server/mcp_server/server.py @@ -52,7 +52,7 @@ def serve() -> FastMCP: @server.tool() async def screenshot_cua(ctx: Context) -> Image: """ - Take a screenshot of the current screen and return the image. + Take a screenshot of the current MacOS VM screen and return the image. Use this before running a CUA task to get a snapshot of the current state. Args: ctx: The MCP context @@ -73,7 +73,7 @@ def serve() -> FastMCP: @server.tool() async def run_cua_task(ctx: Context, task: str) -> Tuple[str, Image]: """ - Run a Computer-Use Agent (CUA) task and return the results. + Run a Computer-Use Agent (CUA) task in a MacOS VM and return the results. Args: ctx: The MCP context @@ -187,7 +187,7 @@ def serve() -> FastMCP: @server.tool() async def run_multi_cua_tasks(ctx: Context, tasks: List[str]) -> List: """ - Run multiple CUA tasks in sequence and return the combined results. + Run multiple CUA tasks in a MacOS VM in sequence and return the combined results. Args: ctx: The MCP context