The final step in building an MCP client is implementing prompt functionality. The list prompts method is straightforward. It calls the session's list prompts function, awaits the result, and returns the prompts to your application. From there, your code can show the list to the user, perhaps as items in a slash command menu. The pattern is exactly the same as list tools and list resources: get the session, call the corresponding method, return the result. This consistency is one of the things that makes MCP clients pleasant to write, because once you know the pattern for one primitive, the others follow the same shape.