Back to Home
PAIshanMadusha icon

model-context-protocol-server

Verified Safe

by 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

Run Command
node build/index.js

Environment 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

Stats

Interest Score0
Security Score9
Cost ClassMedium
Avg Tokens300
Stars0
Forks0
Last Update2025-12-06

Tags

MCPAI IntegrationTask/Todo ManagementCloudflare WorkersMongoDB