Testing Your MCP Servers
摘要
We have spent the last ten chapters building MCP servers that expose tools, resources, and prompts to AI clients. We have explored transports, wired up dependency injection, and handled configuration. Our servers do interesting things, but there is one question we have not answered yet: how do you know they actually work correctly? Time to focus on everyone’s all-time favorite topic: testing!