example-mcp-server-python
Verified Safeby koyeb
Overview
This server acts as a Model Context Protocol (MCP) endpoint, enabling OpenAI's GPT models via the Apps SDK to interact with and manage a simple to-do list through AI-accessible tools and a UI widget.
Installation
node server.jsEnvironment Variables
- PORT
Security Notes
The server exposes its '/mcp' endpoint with 'Access-Control-Allow-Origin: *', allowing cross-origin requests from any domain, which removes client-side same-origin policy protection. It operates in a stateless mode without explicit user authentication or authorization, making it suitable for personal AI assistant tools but not for multi-user or sensitive applications. The server reads the UI widget HTML from a local file, reducing dynamic code execution risks. No 'eval' or other directly malicious patterns were identified in the provided source code.
Similar Servers
tmcp
A server implementation for the Model Context Protocol (MCP) to enable LLMs to access external context and tools.
zeromcp
A minimal, pure Python Model Context Protocol (MCP) server for exposing tools, resources, and prompts via HTTP/SSE and Stdio transports.
qtmcp
Provides a Model Context Protocol (MCP) server framework for AI applications, offering tool, resource, and prompt services via HTTP.
prompts-mcp
A Model Context Protocol (MCP) server for managing, templating, and exposing AI prompts defined in markdown files via stdio and HTTP transports.