Do not require entrypoint for arcade configure for HTTP server (#684)

This commit is contained in:
Eric Gustin 2025-11-12 10:21:44 -08:00 committed by GitHub
parent 99ffc03348
commit bddb383034
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 5 deletions

View file

@ -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()

View file

@ -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"}