Back to Home
anirbanbasu icon

pymcp

Verified Safe

by anirbanbasu

Overview

A template repository for developing Model Context Protocol (MCP) servers in Python, demonstrating various tools, resources, and prompts.

Installation

Run Command
uv run pymcp

Environment Variables

  • ASGI_CORS_ALLOWED_ORIGINS
  • FASTMCP_HOST
  • FASTMCP_PORT
  • PYMCP_LOG_LEVEL
  • MCP_SERVER_TRANSPORT
  • RESPONSE_CACHE_TTL
  • DDGS_PROXY

Security Notes

The server's code is well-structured and uses FastMCP, which generally promotes secure practices. No 'eval' or obvious malicious patterns are present. It correctly handles input validation for tools like password generation and permutations. Network risks include the `text_web_search` tool making external requests via `ddgs`, and while it supports proxy configuration, reliance on external services always carries some inherent risk. A critical note is the default `ASGI_CORS_ALLOWED_ORIGINS` allowing all origins (`*`) when using HTTP transports; the README correctly advises overriding this in production for security, but it's a default configuration to be aware of. File I/O for logo resources is limited to specific, known files.

Similar Servers

Stats

Interest Score36
Security Score8
Cost ClassMedium
Avg Tokens200
Stars7
Forks1
Last Update2026-01-12

Tags

MCP ServerPythonFastMCPTemplateDeveloper Tool