MCP_server_certif / mcp_client.py
SDoyez's picture
create a client, that show the tools available
0e0096a
Raw History Blame
234 Bytes
from smolagents.mcp_client import MCPClient
with MCPClient(
{"url": "https://abidlabs-mcp-tool-http.hf.space/gradio_api/mcp/sse"}
) as tools:
for t in tools:
print(f"name: {t.name}, description: {t.description}\n")