1. Conduid
  2. Search
  3. Python MCP Template
MCP server · Search

Python MCP Template

Python MCP server template with Clean Architecture and modular tools.

Unclaimed search
34Low

Scored 12 days ago · breakdown

About Python MCP Template

Python MCP Template is an MCP server in the Search category: python MCP server template with Clean Architecture and modular tools.

The repository has 2 stars and 0 forks.

Install

From source
git clone https://github.com/mbeps/python-mcp-template

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about Python MCP Template

Powered by Claude · Grounded in docs

I know everything about Python MCP Template. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ✓README presentThe repository ships documentation.

5 checks have not been run yet.

README

MCP Server Template

A minimal FastMCP server scaffold for building your own MCP tools and resources. It includes typed examples, stderr-only logging, and a clean project layout that works with uv.

What's included

  • FastMCP wiring in src/mcp_server/main.py.
  • Typed models in src/mcp_server/models.py.
  • Example tools: analyze_metrics (typed Pydantic input/output) and echo.
  • A sample resource at template://config/defaults.
  • Logging configured to use stderr only (safe for stdio transports).

Prerequisites

  • Python 3.12+
  • uv for dependency management and execution.

Setup and run

uv sync
uv run src/mcp_server/main.py   # or: uv run mcp-template

Try it with the MCP Inspector

Inspect tools and resources without an LLM in the loop:

npx @modelcontextprotocol/inspector uv run --directory . src/mcp_server/main.py

Extending the template

  • Add new models to src/mcp_server/models.py (or a new module) with full type hints.
  • Implement tool logic under src/mcp_server/tools/.
  • Register tools/resources in src/mcp_server/main.py using the @mcp.tool() and @mcp.resource() decorators.
  • Keep logging directed to stderr (see src/mcp_server/utils/logger.py) so stdio transports stay clean.

Tests and linting

uv run pytest
uv run ruff check .

README copy captured when this server was indexed; it may lag the repository. The original is authoritative.

Questions

About Python MCP Template

How do I install Python MCP Template?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Python MCP Template safe to use with an AI agent?

Its trust score is 34 out of 100 (low). It passes 1 of the 1 static security checks run so far. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Python MCP Template still maintained?

Conduid hasn't recorded a commit date for this repository yet. Check the repository directly for recent activity.