Exposing Prompts
摘要
So far in this book, we have built tools that let an AI model take actions and resources that let it read data. Those two primitives cover a lot of ground, but there is a third piece of the MCP puzzle that we have not touched yet: prompts. If tools are the hands of your server and resources are its eyes, then prompts are its voice. They give your server the ability to shape how the AI model thinks about a task before it even starts working on it.