mcp-client / check.py
ArseniyPerchik's picture
more
2cc184a
raw
history blame contribute delete
284 Bytes
from smolagents.mcp_client import MCPClient
with MCPClient(
{"url": "https://abidlabs-mcp-tool-http.hf.space/gradio_api/mcp/sse", 'transport': 'sse'},
) as tools:
# Tools from the remote server are available
print("\n".join(f"{t.name}: {t.description}" for t in tools))