From 291a9c50ddb1a8dae2ccd3a3d4501f60b825c093 Mon Sep 17 00:00:00 2001 From: Colin McNeil Date: Mon, 30 Dec 2024 12:32:03 -0500 Subject: [PATCH] Add mcp support to readme --- README.md | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 41a7339..36345fa 100644 --- a/README.md +++ b/README.md @@ -13,6 +13,20 @@ Agentic AI workflows enabled by Docker containers. Just Docker. Just Markdown. BYOLLM. +## MCP +Any prompts you write and their tools can now be used as [MCP servers](https://www.anthropic.com/news/model-context-protocol) + +Use serve mode with `--mcp` flag. Then, register prompts via git ref or path with `--register ` + +```sh +# ... +serve +--mcp +--register github:docker/labs-ai-tools-for-devs?path=prompts/examples/generate_dockerfile.md +--register /Users/ai-overlordz/some/local/prompt.md +# ... +``` + ![overall architecture diagram preview](img1.png) 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 # prompt user -What is this project? \ No newline at end of file +What is this project?