MemotivaAccessing MCP Resources from a Client

How do users actually experience MCP resource access in a CLI app?

Accessing MCP Resources from a Client

Audio flashcard · 0:29

Nortren·

How do users actually experience MCP resource access in a CLI app?

0:29

Once resource access is implemented, you test it through your command line application. When the user types the at sign, the system shows available resources in an autocomplete list. They select a resource using the arrow keys and the space key. The selected resource's content is included directly in the prompt that gets sent to the model, with no extra tool calls needed. This creates a much smoother user experience compared to having the model make separate tool calls. The resource content becomes part of the initial context, allowing the model to respond immediately about the data.
modelcontextprotocol.io