22  The MCP Server

22.1 What MCP provides

22.2 Connecting a client

22.3 The tools it exposes

22.4 A worked session

22.5 Prompts and templates

22.6 Security and data handling

22.7 Summary