Blog - Greg Holmes
22 articles available

Blog &Tutorials

Deep dives into development, technology insights, and practical tutorials to help you grow as a developer.

Tutorial thumbnail showing the title "Build a Model Context Protocol (MCP) Server for Symfony" in white text on a dark blue background, with an illustration of the Symfony logo connecting to a database server icon
14 min read

Build a Model Context Protocol (MCP) Server for Symfony

Learn how to integrate the Model Context Protocol (MCP) into your Symfony application, enabling AI assistants like Claude to interact with your data. This step-by-step tutorial guides you through building an MCP server for a customer management system, allowing AI to search customers, analyse orders, and query database information directly. Covers installation of the Symfony MCP SDK, creating MCP tools with PHP attributes, and connecting your server to Claude Desktop.

GH
Greg Holmes
Read more