From the course: Claude with Amazon Bedrock by Anthropic
Unlock this course with a free trial
Join today to access over 25,300 courses taught by industry experts.
Defining prompts
From the course: Claude with Amazon Bedrock by Anthropic
Defining prompts
The last major focus we're going to have inside of our MCP server is going to be on prompts. Once again, just like we did with resources, we're going to implement a small feature inside of our project. And we're going to use this feature to understand what prompts are all about, just like we did with resources a moment ago. Let me tell you about the feature we're going to add into our program. We're going to add in support for slash commands. So for example, I want to have a format command. I've got some screenshots over here of how it's going to work. Whenever a user types in a slash, we're going to list out some number of commands that are supported by our application. For right now, we're going to have just one command, called format. So if I type in just slash, I should see a little autocomplete right here, and the only autocomplete option should be format. If I then select format, I should be prompted to add in some document ID after it. So one of our different document names…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
-
-
-
(Locked)
Introducing MCP4m 40s
-
(Locked)
MCP clients4m 56s
-
(Locked)
Project setup3m 24s
-
(Locked)
Defining tools with MCP7m 3s
-
(Locked)
The MCP Inspector3m 52s
-
(Locked)
Implementing a client8m 56s
-
(Locked)
Defining resources9m 45s
-
(Locked)
Accessing resources4m 38s
-
(Locked)
Defining prompts7m 45s
-
(Locked)
Prompts in the client3m 1s
-
(Locked)
MCP review4m 12s
-
(Locked)
-
-