MCPcopy Create free account
hub / github.com/OpenRaiser/PaperFlow / get_tunnels

Function get_tunnels

deployments/feishu/webhook-server/start-with-ngrok.py:112–116  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

110
111
112def get_tunnels() -> list[dict[str, Any]]:
113 response = ngrok_api_get("/tunnels")
114 if not response:
115 return []
116 return response.get("tunnels", [])
117
118
119def tunnel_matches_port(tunnel: dict[str, Any], port: int) -> bool:

Callers 1

get_existing_tunnelFunction · 0.85

Calls 2

ngrok_api_getFunction · 0.85
getMethod · 0.80

Tested by

no test coverage detected