Bootstrap pyro_mcp v0.0.1 with MCP static tool and Ollama demo
This commit is contained in:
commit
11d6f4bcb4
18 changed files with 1945 additions and 0 deletions
8
examples/ollama_tool_demo.py
Normal file
8
examples/ollama_tool_demo.py
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
"""Run the Ollama tool-calling demo."""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
from pyro_mcp.ollama_demo import main
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
17
examples/static_tool_demo.py
Normal file
17
examples/static_tool_demo.py
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
"""Example script that proves the static MCP tool works."""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import asyncio
|
||||
import json
|
||||
|
||||
from pyro_mcp.demo import run_demo
|
||||
|
||||
|
||||
def main() -> None:
|
||||
payload = asyncio.run(run_demo())
|
||||
print(json.dumps(payload, indent=2, sort_keys=True))
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
Loading…
Add table
Add a link
Reference in a new issue