File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -231,13 +231,19 @@ mcp call read_file --params '{"path":"/path/to/file"}' npx -y @modelcontextproto
231231#### Call a Resource
232232
233233``` bash
234- mcp call resource:my-resource npx -y @modelcontextprotocol/server-filesystem ~
234+ mcp call resource:test://static/resource/1 npx -y @modelcontextprotocol/server-everything -f json | jq " .contents[0].text"
235+ ```
236+
237+ or
238+
239+ ``` bash
240+ mcp read-resource test://static/resource/1 npx -y @modelcontextprotocol/server-everything -f json | jq " .contents[0].text"
235241```
236242
237243#### Call a Prompt
238244
239245``` bash
240- mcp call prompt:my -prompt --params ' {"name":"John"} ' npx -y @modelcontextprotocol/server-filesystem ~
246+ mcp get -prompt simple_prompt npx -y @modelcontextprotocol/server-everything -f json | jq " .messages[0].content.text "
241247```
242248
243249### Interactive Shell
You can’t perform that action at this time.
0 commit comments