Spaces:
Sleeping
Sleeping
Download mcp_client.py from SDoyez/MCP_server_certif: direct link, hf CLI and curl.
- Browser
- Download file 234 Bytes
-
https://huggingface.co/spaces/SDoyez/MCP_server_certif/resolve/0e0096ae03b1e4c834804a94de811fda91bdcabe/mcp_client.py
- Command line
-
hf download hf://spaces/SDoyez/MCP_server_certif@0e0096ae03b1e4c834804a94de811fda91bdcabe/mcp_client.py
-
curl -L -o mcp_client.py https://huggingface.co/spaces/SDoyez/MCP_server_certif/resolve/0e0096ae03b1e4c834804a94de811fda91bdcabe/mcp_client.py
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") |