Back to Home
FeiCoder icon

mcp-server-py-template

Verified Safe

by FeiCoder

Overview

A Python MCP (Model Context Protocol) server providing current time functionality via HTTP or Stdio.

Installation

Run Command
uv run mcp-server

Security Notes

The server implements a simple JSON-RPC style protocol with predefined methods (`initialize`, `tools/list`, `tools/call`). The `tools/call` method specifically checks for a 'get_current_time' tool, preventing arbitrary code execution. Inputs are parsed as JSON, and no 'eval' or similar dangerous functions are used. The server binds to `0.0.0.0`, which is standard but requires external firewalling for production environments to restrict access if needed. Overall, the limited functionality and clear input handling make it relatively secure for its purpose.

Similar Servers

Stats

Interest Score0
Security Score9
Cost ClassLow
Avg Tokens1
Stars0
Forks0
Last Update2025-12-11

Tags

MCPServerPythonHTTPStdio