From bddb383034ea64a3ce3b927de0a700587fd39533 Mon Sep 17 00:00:00 2001 From: Eric Gustin <34000337+EricGustin@users.noreply.github.com> Date: Wed, 12 Nov 2025 10:21:44 -0800 Subject: [PATCH] Do not require entrypoint for `arcade configure` for HTTP server (#684) --- libs/arcade-cli/arcade_cli/configure.py | 9 +++++---- pyproject.toml | 2 +- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/libs/arcade-cli/arcade_cli/configure.py b/libs/arcade-cli/arcade_cli/configure.py index 5d195411..50ea47c9 100644 --- a/libs/arcade-cli/arcade_cli/configure.py +++ b/libs/arcade-cli/arcade_cli/configure.py @@ -408,11 +408,12 @@ def configure_client( # Use the name of the current directory as the server name server_name = Path.cwd().name - if not bool(re.match(r"^[a-zA-Z0-9_-]+\.py$", entrypoint_file)): - raise ValueError(f"Entrypoint file '{entrypoint_file}' is not a valid Python file name") + if transport == "stdio": + if not bool(re.match(r"^[a-zA-Z0-9_-]+\.py$", entrypoint_file)): + raise ValueError(f"Entrypoint file '{entrypoint_file}' is not a valid Python file name") - if not (Path.cwd() / entrypoint_file).exists(): - raise ValueError(f"Entrypoint file '{entrypoint_file}' is not in the current directory") + if not (Path.cwd() / entrypoint_file).exists(): + raise ValueError(f"Entrypoint file '{entrypoint_file}' is not in the current directory") client_lower = client.lower() diff --git a/pyproject.toml b/pyproject.toml index 68b6c6df..1afdbf0d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "arcade-mcp" -version = "1.5.2" +version = "1.5.3" description = "Arcade.dev - Tool Calling platform for Agents" readme = "README.md" license = {file = "LICENSE"}