From Script to Tool: What It Actually Takes to Wrap Python in MCP
A working MCP tool, the code inside it, what you'd use instead of FastMCP, and the current output rendered live below.
Software · AWS · Generative AI
I'm Sam Madireddy — Software Development Technical Lead & Cloud Architect. This site collects short essays on software design, AWS, and leadership for teams building resilient platforms.

Featured deep dive
How to design enterprise-grade Retrieval-Augmented Generation systems with AWS, Python, and hybrid search.
Read the RAG architecture guide →A working MCP tool, the code inside it, what you'd use instead of FastMCP, and the current output rendered live below.
The architecture I would choose for a greenfield AI project today — grounded in what I have seen work in production, not in benchmarks or blog hype.
How to use the Model Context Protocol as the enabling layer for agents that combine agentic reasoning with predictive intelligence — with Python, SageMaker, and AWS.
How to design enterprise-grade Retrieval-Augmented Generation systems with AWS, Python, and hybrid search.