mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-17 20:59:48 +00:00
# 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/" } }' ``` |
||
|---|---|---|
| .. | ||
| agents | ||
| batch_inference | ||
| common | ||
| datasetio | ||
| datasets | ||
| eval | ||
| eval_tasks | ||
| inference | ||
| inspect | ||
| memory | ||
| memory_banks | ||
| models | ||
| post_training | ||
| safety | ||
| scoring | ||
| scoring_functions | ||
| shields | ||
| synthetic_data_generation | ||
| telemetry | ||
| tools | ||
| __init__.py | ||
| resource.py | ||
| version.py | ||