Email the Author
You can use this page to email Arjuna Sky Kok about Practical MCP: A Python Developer's Guide.
About the Book
You've seen the incredible power of Large Language Models like Claude, GPT, and Gemini. But you've also hit the wall, watching them fail at simple tasks a junior developer could solve in minutes. These powerful AIs are trapped in a digital room with no tools and no access to the outside world. This book is about kicking down the door.
Practical MCP: A Python Developer's Guide is your hands-on guide to the Model Context Protocol (MCP), a groundbreaking specification for giving AI the tools it needs to interact with the real world. Think of it as the USB-C for AI—a universal standard that lets any model connect to any tool, from a simple Python function to a complex REST API or a private database.
This book takes you on a complete journey, from theory to production. You will learn to:
- Build Your First Tools: Master the two core Python libraries, `mcp` and `fastmcp`, to create local and remote MCP servers.
- Integrate with Major Platforms: Connect your custom tools to Anthropic's Claude, Google's Gemini, and OpenAI's ChatGPT.
- Master Advanced Interactions: Move beyond simple function calls. Create tools that can report progress, send logs, and even pause to ask the user for more information using elicitation.
- Secure and Deploy Your Servers: Learn to protect your tools with JWT authentication and deploy them to production environments like Google Cloud Run and traditional VMs using Docker and Nginx.
- Design Sophisticated Architectures: Seamlessly integrate MCP into existing web applications with ASGI, create powerful middleware, and automatically generate a full suite of tools from an OpenAPI specification.
- Build a Capstone Project: Put it all together by creating a full-stack AI Tarot reading application, orchestrating multiple MCP microservices to perform a complex, multi-step task.
- Connect to Real-World Services: Tackle the complexities of OAuth 2.0 to build tools that securely access a user's Google Docs and Google Drive, empowering your AI to act on their behalf.
By the end of this book, you won't just be using AI—you'll be extending it. You'll have the practical skills to build robust, secure, and scalable tools that unlock the true potential of Large Language Models.
About the Author
Arjuna Sky Kok is a software engineer, author, and educator specializing in the practical application of artificial intelligence. He is the author of Hands-on Blockchain for Python Developers, 2nd Edition (Packt) and a prolific technical writer for some of the most respected platforms in the developer community, including Kodeco (formerly RayWenderlich), Baeldung, and LogRocket.
His commitment to education extends beyond the page; he is the creator of the "Artificial Intelligence APIs with Python" bootcamp program at Kodeco, where he guides students through real-world AI implementation. His deep expertise in applied AI is further demonstrated by his Udacity Nanodegree certifications in both Self-Driving Car and Robotics Software Engineering.
As an active member of the open-source community, Arjuna has contributed to pivotal projects, including the Hugging Face transformers library, one of the most foundational tools in modern AI. Beyond education and open source, Arjuna has experience in the startup world as a founder, giving him a unique perspective on turning cutting-edge technology into real-world products.