Skip to content

Commit d6a75a8

Browse files
fix(mcp-hosts): remove redundant Claude Desktop/Code URL validation
Agent-Id: agent-ab465f6f-4347-4a55-a0d3-064e4d929c77
1 parent d1cc2b0 commit d6a75a8

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

hatch/cli/cli_mcp.py

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1586,18 +1586,6 @@ def handle_mcp_configure(args: Namespace) -> int:
15861586
)
15871587
return EXIT_ERROR
15881588

1589-
# Validate Claude Desktop/Code transport restrictions (Issue 2)
1590-
if host_type in (MCPHostType.CLAUDE_DESKTOP, MCPHostType.CLAUDE_CODE):
1591-
if url is not None:
1592-
format_validation_error(
1593-
ValidationError(
1594-
f"{host} does not support remote servers (--url)",
1595-
field="--url",
1596-
suggestion="Only local servers with --command are supported for this host",
1597-
)
1598-
)
1599-
return EXIT_ERROR
1600-
16011589
# Validate argument dependencies
16021590
if command and header:
16031591
format_validation_error(

0 commit comments

Comments
 (0)