mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-07-25 21:57:45 +00:00
Added a sample config for MCP provider documentation
Added a sample config for MCP provider documentation
This commit is contained in:
parent
4bca4af3e4
commit
fdabc078df
1 changed files with 7 additions and 1 deletions
|
@ -17,4 +17,10 @@ class MCPProviderDataValidator(BaseModel):
|
|||
class MCPProviderConfig(BaseModel):
|
||||
@classmethod
|
||||
def sample_run_config(cls, __distro_dir__: str, **kwargs: Any) -> dict[str, Any]:
|
||||
return {}
|
||||
return {
|
||||
"provider_id" : "model-context-protocol",
|
||||
"toolgroup_id" : "mcp::samplemcp",
|
||||
"mcp_endpoint" : {
|
||||
"uri" : "http://localhost:7766/sse"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue