agy-web-search-mcp
agy-web-search MCP
独立的 Streamable HTTP MCP:把本机 agy 的 Google 登录做成可部署的 /mcp 端点。本地、Cloudflare Workers、Vercel Edge 共用同一套 handler。
本地(自动读 Google session)
本机已经 agy 登录过的话,直接:
bun run dev会读 ~/.gemini/antigravity-cli/antigravity-oauth-token,监听 http://127.0.0.1:8787/mcp。
Grok:
[mcp_servers.agy-web-search]
url = "http://127.0.0.1:8787/mcp"Related MCP server: Cloudflare Google OAuth MCP Server
导出 session,准备部署
bun run import-agy从 agy token 文件抽出 refresh_token,写入 .dev.vars(已 gitignore),并打印一个 MCP_AUTH_TOKEN。
Cloudflare Workers
npx wrangler login
npx wrangler secret put AGY_REFRESH_TOKEN # 粘贴 refresh_token
npx wrangler secret put MCP_AUTH_TOKEN # 粘贴 import-agy 打印的 token
npx wrangler secret put AGY_OAUTH_CLIENT_ID
npx wrangler secret put AGY_OAUTH_CLIENT_SECRET
npx wrangler deploy上线地址:https://agy-web-search-mcp.<subdomain>.workers.dev/mcp
Vercel
npx vercel env add AGY_REFRESH_TOKEN
npx vercel env add MCP_AUTH_TOKEN
npx vercel env add AGY_OAUTH_CLIENT_ID
npx vercel env add AGY_OAUTH_CLIENT_SECRET
npx vercel --prodHobby 默认 10s 超时,搜索偶尔会不够;Cloudflare 更合适。
Grok 远程
[mcp_servers.agy-web-search]
url = "https://agy-web-search-mcp.<subdomain>.workers.dev/mcp"
headers = { Authorization = "Bearer ${AGY_MCP_TOKEN}" }AGY_MCP_TOKEN 就是 MCP_AUTH_TOKEN。也可以不把 Google token 放服务端,每次请求带:
headers = { Authorization = "Bearer ${AGY_MCP_TOKEN}", "X-Agy-Refresh-Token" = "${AGY_REFRESH_TOKEN}" }环境变量
变量 | 作用 |
| agy Google refresh token |
| agy 桌面端 OAuth client id(不要提交到 git) |
| agy 桌面端 OAuth client secret(不要提交到 git) |
| 保护 |
| 默认 |
| 默认 |
| 本地 token 文件覆盖路径 |
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Flicense-qualityDmaintenanceEnables Google search queries and webpage content extraction through an MCP server deployed on Cloudflare Workers. Supports single and batch webpage content extraction with integrated OAuth authentication.1
- Flicense-qualityDmaintenanceA remote MCP server deployable on Cloudflare Workers that provides integrated Google OAuth authentication for secure tool access. It serves as a reference implementation for building persistent, authenticated MCP connections using Cloudflare Durable Objects and Streamable HTTP.1
- Alicense-qualityAmaintenanceA minimal MCP server that exposes a private SearXNG instance as a search tool over streamable-HTTP, enabling web search from the llama.cpp WebUI or any compatible MCP client.1MIT
- AlicenseAqualityBmaintenanceMCP server for web search powered by Google AI Mode (Gemini). Enables any AI agent to search the web in real-time for free and without rate limits.2172MIT
Related MCP Connectors
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
MCP server for Google search results via SERP API
Serper MCP — wraps the Serper Google Search API (serper.dev)
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/zhangsanfeng1094/agy-web-search-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server