The proxy module simplifies connection handling and offers a generic way to work with both HTTP and SOCKS connections, making it a powerful tool for managing network traffic.
The Inbound Proxy project offers the following features:
HTTP, SOCKS5, SOCKS5h, SOCKS4 and SOCKS4a protocols.HTTP and HTTPS-connect proxy requests.IPv4 and IPv6.TCP and UDP traffic.go get github.com/bepass-org/proxy
package main
import (
"github.com/bepass-org/proxy/pkg/mixed"
)
func main() {
proxy := mixed.NewProxy()
_ = proxy.ListenAndServe()
}
package main
import (
"github.com/bepass-org/proxy/pkg/mixed"
)
func main() {
proxy := mixed.NewProxy(
mixed.WithBindAddress("0.0.0.0:8080"),
)
_ = proxy.ListenAndServe()
}
There are other examples provided in the example directory
$ claude mcp add proxy \
-- python -m otcore.mcp_server <graph>