Skip to content

Commit 291a9c5

Browse files
authored
Add mcp support to readme
1 parent 069be4a commit 291a9c5

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

README.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,20 @@ Agentic AI workflows enabled by Docker containers.
1313

1414
Just Docker. Just Markdown. BYOLLM.
1515

16+
## MCP
17+
Any prompts you write and their tools can now be used as [MCP servers](https://www.anthropic.com/news/model-context-protocol)
18+
19+
Use serve mode with `--mcp` flag. Then, register prompts via git ref or path with `--register <ref>`
20+
21+
```sh
22+
# ...
23+
serve
24+
--mcp
25+
--register github:docker/labs-ai-tools-for-devs?path=prompts/examples/generate_dockerfile.md
26+
--register /Users/ai-overlordz/some/local/prompt.md
27+
# ...
28+
```
29+
1630
![overall architecture diagram preview](img1.png)
1731

1832
Source for many experiments in our [LinkedIn newsletter](https://www.linkedin.com/newsletters/docker-labs-genai-7204877599427194882/)
@@ -138,4 +152,4 @@ Use curl to get the readme for https://github.com/docker/labs-ai-tools-for-devs
138152

139153
# prompt user
140154

141-
What is this project?
155+
What is this project?

0 commit comments

Comments
 (0)