Skip to content

Commit 9623d18

Browse files
committed
update
1 parent b76bd0b commit 9623d18

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)