Digital download · English · Python source + tests + tutorial

MCP Server: 10 Python Projects

Ten small, independent Model Context Protocol servers written with the official MCP Python SDK v2. Each exposes one read-only tool, ships with its own README and tests, and shows a pattern you will reuse: search, exact lookup, CSV aggregation, config diff, triage, threshold checks, citation records and draft-only approvals. Copy the closest one and swap in your data.

$19 one-time, plus local sales tax/VAT where applicable

Secure checkout and instant download via Creem, our Merchant of Record. 14-day refund if you haven’t downloaded the files – see our Refund Policy.

The 10 servers

ProjectWhat it showsTool
FAQ SearchKeyword search over a small fictional help-centre FAQ.search_faq
Inventory LookupExact-match stock lookup by SKU against fictional inventory.lookup_inventory
Policy Excerpt IndexFind matching clauses in a fictional internal policy index.find_policy
Ticket TriageRule-based priority suggestion for a support ticket; a human confirms.triage_ticket
CSV Metrics SummarySum a whitelisted metric across a bundled CSV file.summarize_metrics
Meeting Agenda FinderFilter a fictional meeting agenda by topic.find_agenda
Budget Threshold CheckFlag spend requests above a fixed demo threshold for human review.check_budget
Config DiffCompare one field between two bundled JSON config snapshots.compare_config
Source AuditReturn a citation record and its verification flag (never auto-verified).audit_source
Approval DraftTurn a request into an approval checklist draft; executes nothing.draft_approval

Real output from the build environment

$ python stdio_smoke_test.py
PASS  01-faq-search          search_faq(query='export')
PASS  02-inventory-lookup    lookup_inventory(sku='SKU-001')
PASS  05-csv-metrics         summarize_metrics(metric='visits')
PASS  07-budget-alert        check_budget(amount='600')
PASS  10-approval-draft      draft_approval(request='Read the demo dataset')
...
10/10 servers passed over stdio

Each server is started as a real subprocess, connected over stdio, asked for its tool list and called with a sample. Fictional data.

What’s inside

PartDetails
Source code10 projects, each split into core.py (plain logic) and server.py (MCP adapter that returns readable errors via ToolError)
Tests60 tests: 4 offline unit tests + 2 in-memory SDK client tests per project, plus run_all_tests.py and a stdio smoke test for all servers
Tutorial (PDF + Markdown)How hosts, clients and servers fit together, the core/server split, testing, connecting a host, input design, containers, rollback
DeploymentWindows/macOS/Linux steps, a host config with all 10 servers, a network-less read-only Docker setup, 10-item troubleshooting
Worksheets (Excel)Project index with how to adapt each, 80 test cases with honest status, 16-control security checklist
ExtrasSafe tool-use system prompts with red-team examples, an acceptance checklist, real test screenshots

Is it right for you?

Good fit: Python developers who want to understand MCP by reading and running working servers; teams prototyping internal tools for an AI assistant and wanting a safe, reviewable pattern; educators who need small, tested examples.

Not a fit: these are teaching servers over fictional data. They do not connect to your database, CRM or APIs out of the box, have no authentication and are not remote (HTTP) servers. The tutorial and security checklist explain what to add before real data.

Free tutorial

New to MCP? Start with our step-by-step guide: How to Build an MCP Server in Python (SDK v2), Tested Step by Step – one tool, tests, a stdio check and Claude Code setup.

FAQ

What do I need? Python 3.10+ and pip install "mcp[cli]>=2,<3". Node.js only if you want MCP Inspector. No API keys or model credits.

What was tested? On Linux with Python 3.13 and MCP Python SDK 2.3.0: all 60 tests and the stdio round-trip for all 10 servers passed. We did not test specific host apps, Docker builds, Windows or macOS – the guide shows how to check them yourself.

Which hosts work? Any MCP host that can start a local stdio server. Config keys differ between hosts; an example with all 10 servers is included.

Can I use the code commercially? Yes, in your own lawful projects. You can’t resell the pack as-is.

Questions? Email support@aistacknav.com. We reply within 3 business days.

AI Stack Nav is independent and not affiliated with Anthropic, the Model Context Protocol project or any host application. No accounts, API credits or support services are included.