Skip to content

Commit 972b0ff

Browse files
more docs
1 parent 5f1261d commit 972b0ff

File tree

3 files changed

+31
-1
lines changed

3 files changed

+31
-1
lines changed

docs/content/_index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ description: "Labs AI Tools for Devs"
44
draft: false
55
cascade:
66
type: docs
7+
breadcrumbs: false
78
---
89

910
{{< cards >}}
Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,30 @@
1-
## TODO
1+
---
2+
title: Using Claude Desktop
3+
---
4+
5+
Enable mcp_run in your claude_desktop_config.json file using the following snippet. See the [quickstart for Claude Desktop Users](https://modelcontextprotocol.io/quickstart/user) for more details.
6+
7+
```json
8+
{
9+
"mcpServers": {
10+
"mcp_run": {
11+
"command": "docker",
12+
"args": [
13+
"run", "--rm", "-i", "--pull", "always",
14+
"-v", "/var/run/docker.sock:/var/run/docker.sock",
15+
"--mount", "type=volume,source=docker-prompts,target=/prompts",
16+
"vonwig/prompts:latest",
17+
"serve",
18+
"--mcp",
19+
"--register", "github:docker/labs-ai-tools-for-devs?path=prompts/examples/hello_world.md"
20+
]
21+
}
22+
}
23+
```
24+
25+
Notice in the above snippet that the server is loaded with one example prompt, which you can view in our [public github repo](https://github.com/docker/labs-ai-tools-for-devs/blob/main/prompts/examples/hello_world.md?plain=1).
26+
This will have already been exposed using this MCP server so when using Claude Desktop, you can type "use hello docker to greet me with a joke".
27+
28+
You'll see a prompt asking if you want to run the "hello world" tool locally.
29+
30+
![consent](consent.png)
120 KB
Loading

0 commit comments

Comments
 (0)