Skip to content

Commit 7bad14b

Browse files
authored
Merge pull request #10 from jaseci-labs/func-issue
fix
2 parents 5ebf2f0 + 252dc10 commit 7bad14b

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)