Cloudflare Workers MCP server for Grok — arbitrary HTTP requests with cookie/session persistence for web and CTF workflows
View on GitHub ↗基于 Cloudflare Workers 的 MCP 服务器,为 Grok 提供底层 HTTP 能力,适用于 Web/CTF 场景:任意请求、Cookie 会话持久化、重定向追踪与结构化响应。
- httprequest — 发送任意 HTTP 方法,完全控制 URL、Header、Body、Cookie - httpsession — 管理命名 Cookie 容器(default、victim、attacker 等) - 会话持久化 — 通过 Durable Objects 跨多次 tool call 保持 Cookie - 双传输协议 — Streamable HTTP(/mcp)与旧版 SSE(/sse) - 默认无鉴权 — 便于 CTF/测试快速接入(见下方安全说明)
部署完成后会显示 Worker 地址(例如 https://grok2web..workers.dev)。
1. 打开 grok.com/connectors 2. 点击 New Connector → Custom(新建连接器 → 自定义) 3. 填入以下 URL 之一: - 推荐: https://.workers.dev/mcp - SSE 兼容: https://.workers.dev/sse 4. 填写名称(如 Grok HTTP MCP)并保存
Grok 会自动发现 httprequest 和 httpsession 两个工具。
返回字段包括:status、headers、cookiesset、cookiesjar、body、redirectchain、timingms。
action 说明 -------------- list 列出所有会话及 Cookie 数量 create 创建命名空 Cookie 容器 reset 清空指定会话的 Cookie getcookies 读取全部 Cookie(含 domain/path 元数据) setcookies 手动注入 Cookie delete 删除命名会话(不可删除 default)
之后在 httprequest 中使用 "httpsessionid": "victim"。
连接 http://127.0.0.1:8787/mcp,在 UI 中调用工具。
当前部署无鉴权。任何知道 URL 的人均可通过 Worker 发送 HTTP 请求。仅建议用于 CTF 实验和测试环境;生产使用前请添加 API Key 或 OAuth。
本项目采用 GNU General Public License v3.0 或更高版本 授权。
From the project README.
Add the radar badge to your README — it shows your project was picked up by MCP Radar and links to this page:
[](https://mcp.liqiwa.com/s/LING71671--grok2web.html)
ChatGPT thinks. Codex works. Use ChatGPT as the planning brain while keeping the Codex harness.
0xwilliamortiz/openclaude-improvedruns anywhere. uses anything
halofyai/halofyHalofy is the open access and governance layer for AI agents across your organization. Identity, policy, provenance, audit, and signed erasure.
OpenLabs-so/openanalyticsOpen-source, privacy-first and cookieless web analytics with revenue attribution and an MCP server.
Dominic789654/awesome-deepseek-harnessA curated list of plugins, skills, MCP servers, patch/profile layers, orchestrators & UIs for DeepSeek Harness (DSH). Visualization · PPT · Coding · Agents · Loops (auto-research) and more. #dsh
pueschel88/Tradingview-MCPTradingview MCP server for controlling Tradingview Desktop from Claude Code via Chrome DevTools Protocol
The top new MCP servers of the week, every Monday. No spam, unsubscribe anytime.