mcp-server-worker
Verified Safeby dannwaneri
Overview
A production-ready Model Context Protocol (MCP) server providing HTTP-based semantic search and intelligent search with AI-powered synthesis context using Cloudflare Workers AI and Vectorize.
Installation
wrangler deployEnvironment Variables
- AI
- VECTORIZE
Security Notes
The code acts as an HTTP adapter for the MCP protocol, directly handling 'tools/list' and 'tools/call' methods. User input for search 'query' is passed to Workers AI for embedding and then to Vectorize. The 'topK' parameter for search results is explicitly capped at 10, preventing excessive resource consumption. CORS is broadly enabled ('Access-Control-Allow-Origin: *'), which is common for public APIs but could be restricted further if needed. While the README suggests adding authentication as a production enhancement, the core worker logic itself does not implement it by default, meaning the API is publicly accessible post-deployment. No 'eval' or other obvious code injection vulnerabilities were found in the provided source.
Similar Servers
portaljs-mcp-server
A remote Model Context Protocol (MCP) server deployed on Cloudflare Workers, providing AI agent tools to interact with PortalJS datasets for search, retrieval, and data preview.
bluera-knowledge
Provides a semantic knowledge base and intelligent web crawling capabilities to power coding agents, enabling them to search internal project files, Git repositories, and crawled web documentation.
moorcheh-mcp
Provides a Model Context Protocol (MCP) interface for Moorcheh's AI services, including embedding, vector storage, semantic search, and AI-powered answer generation.
vectorize-mcp-server
Provides semantic search capabilities from Claude Desktop by acting as a Model Context Protocol (MCP) bridge to a Cloudflare Workers backend with Vectorize.