mcp-python-starter

mcp-python-starter

1

MCP Python Starter is a minimal implementation of a Model Context Protocol (MCP) server in Python, designed to mirror the TypeScript starter. Key features include environment-based configuration, VS Code integration, and supporting static markdown resources.

MCP Python Starter

A minimal Model Context Protocol (MCP) server implemented in Python, matching the features and structure of the TypeScript starter.

Features

  • Hello Tool: Returns a greeting using the MCP_GREETING environment variable.
  • Markdown Resource: Serves a static markdown file from resources/example.md.
  • Prompt: Simple prompt handler example.
  • Environment-based configuration: Reads greeting and secret from environment variables.
  • VS Code integration: .vscode/mcp.json for easy server launch with input prompts.
  • Devcontainer support: (Optional)
  • Tests: (Add tests as needed)