Skip to content

Commit 252dc10

Browse files
committed
fix
1 parent 5ebf2f0 commit 252dc10

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

services/mcp_proxy.jac

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,15 @@
1-
"""MCP Proxy – forwards JSON-RPC calls to any MCP server URL."""
1+
"""MCP Proxy – forwards JSON-RPC calls to any MCP server URL.
2+
3+
Uses @restspec with custom path to avoid ALB blocking /function/* and /walker/* routes.
4+
"""
25

36
import urllib.request;
47
import urllib.parse;
58
import json;
69
import urllib.error;
10+
import from http { HTTPMethod }
711

12+
@restspec(method=HTTPMethod.POST, path="/mcp-proxy")
813
def:pub mcp_proxy(
914
url: str,
1015
body: dict = {},

0 commit comments

Comments
 (0)