Spaces:
Sleeping
Sleeping
Download examples/simple_echo.py from purecipher/xsecuremcp: direct link, hf CLI and curl.
- Browser
- Download file 189 Bytes
-
https://huggingface.co/spaces/purecipher/xsecuremcp/resolve/main/examples/simple_echo.py
- Command line
-
hf download hf://spaces/purecipher/xsecuremcp/examples/simple_echo.py
-
curl -L -o simple_echo.py https://huggingface.co/spaces/purecipher/xsecuremcp/resolve/main/examples/simple_echo.py
189 Bytes
| """ | |
| FastMCP Echo Server | |
| """ | |
| from fastmcp import FastMCP | |
| # Create server | |
| mcp = FastMCP("Echo Server") | |
| def echo(text: str) -> str: | |
| """Echo the input text""" | |
| return text | |