From a010555082f7ef5d1568890c13177f6b60b78f98 Mon Sep 17 00:00:00 2001 From: Michael Mintz Date: Fri, 18 Sep 2026 00:58:10 -0400 Subject: [PATCH 1/4] Update the MCP server --- mcp_servers/server.py | 79 ++++++++++++++++++++++++++++++------------- 1 file changed, 55 insertions(+), 24 deletions(-) diff --git a/mcp_servers/server.py b/mcp_servers/server.py index 02814c5d858..51814517918 100644 --- a/mcp_servers/server.py +++ b/mcp_servers/server.py @@ -65,8 +65,10 @@ """ from __future__ import annotations import atexit +import os import sys from functools import wraps +from pathlib import Path from typing import Any, Literal from mcp.server import MCPServer from mcp.server.mcpserver.exceptions import ToolError @@ -1016,6 +1018,15 @@ def type_text( Returns: A confirmation message after the operation succeeds; otherwise the error handler returns the resulting failure. + + Notes: + Including "\\n" in your `text` (except in "set_value" mode) will + simulate pressing the "Enter" key, which is useful for submitting + forms or triggering search inputs without needing a separate click. + + Tool selection: + - Need to update text that appears in a text field -> use this tool. + - Need to update the value of a