| 123456789101112131415 |
- import asyncio
- import sys
- sys.path.insert(0, '/root/.local/lib/python3.11/site-packages')
- from src.mcp_server.server import mcp
- async def test():
- # List tools
- tools = await mcp.list_tools()
- print(f"Tools found: {len(tools)}")
- for tool in tools:
- print(f" - {tool.name}: {tool.description}")
- if __name__ == "__main__":
- asyncio.run(test())
|