Back to Home
matpadley icon

MCPServer_Demo

Verified Safe

by matpadley

Overview

A multi-language demonstration of Model Context Protocol (MCP) servers and clients for Todo management.

Installation

Run Command
cd go && go run ./cmd/mcpserver

Environment Variables

  • PORT
  • DB_PATH

Security Notes

The server implementations (Go, TypeScript) generally employ good practices like prepared statements for SQLite, mitigating SQL injection risks. The Go server explicitly enables permissive CORS (`Access-Control-Allow-Origin: *`), which is suitable for a demo but would require stricter configuration in a production environment to prevent cross-site request forgery (CSRF) or other attacks. The TypeScript server, by default, uses a stdio transport, limiting its direct network exposure. The ExtJS client dynamically generates HTML for button `onclick` attributes; while currently safe due to integer IDs, this pattern can be a cross-site scripting (XSS) risk if data is not properly sanitized. No hardcoded sensitive secrets were found.

Similar Servers

Stats

Interest Score0
Security Score8
Cost ClassMedium
Avg Tokens150
Stars0
Forks1
Last Update2026-01-07

Tags

MCP ProtocolJSON-RPCCRUD APIBackendFrontend