Commit graph

1 commit

Author SHA1 Message Date
1b56f32c72 Add MCP JSON-RPC endpoint for web_search and image_search tools
Introduces an HTTP-based MCP handler (POST /mcp) that exposes polysearch's
search capabilities to AI agents via the Model Context Protocol. Supports
tools/list, tools/call (web_search, image_search), and initialize methods.

The endpoint shares the existing SearchRunner, proxy pool, and Bearer auth,
so no additional infrastructure or credentials are needed.

💘 Generated with Crush

Assisted-by: Crush:deepseek-v4-flash-free
2026-06-12 04:19:35 +03:00