Skip to content

feat(mcp): 新增 Serply Search 连接入口 - #2050

Open
googio wants to merge 1 commit into
proma-ai:mainfrom
googio:feat/serply-search
Open

googio wants to merge 1 commit into
proma-ai:mainfrom
googio:feat/serply-search

Conversation

@googio

@googio googio commented Sep 12, 2026

Copy link
Copy Markdown

I work with Serply, the provider of the search API behind this MCP server. Sharing that up front so the maintainers can weigh it.

Summary

  • 在 MCP 连接目录新增 Serply Search 凭据卡片,用户可自行决定是否接入
  • 用户填写 Serply API Key 后,经系统 Keychain 加密保存,并以 X-Api-Key 请求头连接官方远程 MCP https://api.serply.io/mcp
  • 目录顺序排在 Exa Search 之后(priority: 7),沿用 feat(mcp): 新增 Exa Search 连接入口 #2040credential 卡片写法,不涉及主进程或 IPC 改动
  • 补充 Serply Logo 资源(48x48 PNG),并递增 apps/electron/package.json 补丁版本

Adds a Serply Search credential card to the MCP connection catalog, mirroring the Exa card from #2040. The user pastes one API key, Proma stores it in the system Keychain, and connects to the official remote MCP over streamable HTTP with the X-Api-Key header. The server exposes google_search, google_news_search, google_scholar_search, google_jobs_search, google_maps_search, google_video_search, bing_search, amazon_product_search and scrape_url.

Test plan

  • bun run typecheck 全仓通过
  • bun test apps/electron/src/renderer/components/agent-skills/integration-catalog.test.ts 通过(新增一条 Serply 的 BDD 用例,3 pass)
  • 用 curl 对 https://api.serply.io/mcp 走完 initialize -> tools/list -> tools/call,9 个工具全部返回;不带 Key 返回 401
  • 本地 Electron 打开 MCP 页确认 Serply 卡片、Logo 与排序展示(未在本机运行 Electron 界面)

Notes

  • Serply 目前没有独立的 API Key 控制台页面,acquisitionUrl 暂指向 https://serply.io,`setupUrl` 指向 https://serply.io/docs
  • 服务端在 initializetools/list 阶段不校验 Key 是否有效,只在 tools/call 时返回 Invalid API key。因此填错 Key 时卡片会显示已连接,首次调用工具才会报错。这与 Serply 服务端行为一致,如需在握手阶段验证可在后续跟进

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant