model-context-protocol-server
Verified Safeby PAIshanMadusha
Overview
Provides a Model Context Protocol (MCP) server for AI models, demonstrating task and todo management functionalities, deployable on Cloudflare Workers for remote execution, and also offering local Node.js environments with STDIO transport and either file-based or MongoDB persistence.
Installation
node build/index.jsEnvironment Variables
- MCP_CLOUDFLARE_STORE
- MONGO_URI
Security Notes
The implementation uses TypeScript with Zod for robust input validation, effectively preventing common injection vulnerabilities. It avoids direct use of `eval` or other dangerous code constructs. External calls to APIs (like GitHub in `mcp-basic`) and database/storage systems (Cloudflare KV, MongoDB) are handled via standard library functions with appropriate error checks. Critical configurations, such as database URIs (`MONGO_URI`) and Cloudflare KV bindings (`MCP_CLOUDFLARE_STORE`), are designed to be environment-variable or binding driven, preventing hardcoded secrets. The `JSON.parse` operations on data retrieved from KV are considered safe within the worker's controlled environment.
Similar Servers
claude-prompts-mcp
Enhances AI assistant behavior through structured prompt management, multi-step chains, quality gates, and autonomous verification loops, primarily for development tasks.
mcp_server
This server implements the Model Context Protocol (MCP) to expose developer-defined tools as a HTTP API, specifically demonstrating a task creation tool.
remote-mcp-server-authless1
A remote Model Context Protocol (MCP) server that exposes unauthenticated calculator tools via Cloudflare Workers for AI agents.
remote-mcp-server-authless
Provides an unauthenticated remote Model Context Protocol (MCP) server for integrating custom tools with AI models on Cloudflare Workers.