MCPcopy Index your code
hub / github.com/Ridter/cf_workers_proxy

github.com/Ridter/cf_workers_proxy @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
24 symbols 55 edges 1 files 11 documented · 46%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

CF workers proxy

cloudflare workers

主要使用项目为 edgetunnel

部署

1、访问 https://dash.cloudflare.com/login 注册

2、点击 workers 和 pages

3、创建 worker

Alt text

4、随意创建一个名称,点击部署,然后再编辑代码

Alt text

5、把 js 目录下的worker.js,部署到cloudflare。

6、修改 UUIDproxyIP, uuid随机生成一个即可。

proxyIP主要是为了转发请求到部署在CF上的网站使用的,可以使用以下域名

cdn-all.xn--b6gac.eu.org 
cdn.xn--b6gac.eu.org 
cdn-b100.xn--b6gac.eu.org 
edgetunnel.anycast.eu.org 
cdn.anycast.eu.org

添加自定义域名

如果workers.dev无法直接访问,可以添加自定义域名访问。 Alt text

开启服务

部署完成以后,可以通过 域名+uuid的方式获取到配置。执行以下命令即可:

[+] Usage: ./init.sh <url> <port> [username] [password]

url 为域名+uuid

Alt text

完成后,可使用代理服务。

Alt text

Core symbols most depended-on inside this repo

log
called by 10
js/worker.js
safeCloseWebSocket
called by 4
js/worker.js
connectAndWrite
called by 2
js/worker.js
remoteSocketToWS
called by 2
js/worker.js
isValidUUID
called by 2
js/worker.js
fetch
called by 1
js/worker.js
vlessOverWSHandler
called by 1
js/worker.js
handleTCPOutBound
called by 1
js/worker.js

Shape

Function 24

Languages

TypeScript100%

Modules by API surface

js/worker.js24 symbols

For agents

$ claude mcp add cf_workers_proxy \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact