llama-stack-mirror/llama_stack
Dinesh Yeduguru e95c168bc0
add model context protocol provider (#665)
# What does this PR do?
Changes:
* Adds a new API to discover tools available on a runtime
* Adds a new model context protocol provider


## Test Plan

```
# clone python sdk for mcp and start the simple-tool server
uv run mcp-simple-tool --transport sse --port 56000

curl -X POST 'http://localhost:5000/alpha/toolgroups/register' \
-H 'Content-Type: application/json' \
-d '{
  "tool_group": { "name": "simple_mcp_group",
    "type": "model_context_protocol",
    "endpoint": {"uri": "http://localhost:56000/sse"}
  },
  "provider_id": "model-context-protocol"
}'

curl -X POST 'http://localhost:5000/alpha/tool-runtime/invoke' \
-H 'Content-Type: application/json' \
-d '{
    "tool_id": "fetch",
    "args": {
        "url": "http://google.com/"
    }
}'

```
2024-12-19 16:14:23 -08:00
..
apis add model context protocol provider (#665) 2024-12-19 16:14:23 -08:00
cli doc: llama-stack build --config help text references old directory (#596) 2024-12-10 17:42:02 -08:00
distribution add model context protocol provider (#665) 2024-12-19 16:14:23 -08:00
providers add model context protocol provider (#665) 2024-12-19 16:14:23 -08:00
scripts Fix to conda env build script 2024-12-17 12:19:34 -08:00
templates Dont include 3B / 1B models for bedrock since they arent ondemand 2024-12-18 06:30:02 -08:00
__init__.py export LibraryClient 2024-12-13 12:08:00 -08:00