Hugging Face
Models
Datasets
Spaces
Buckets
new
Docs
Enterprise
Pricing
Website
Tasks
HuggingChat
Collections
Languages
Organizations
Community
Blog
Posts
Daily Papers
Hardware
Learn
Discord
Forum
GitHub
Solutions
Team & Enterprise
Hugging Face PRO
Enterprise Support
Inference Providers
Inference Endpoints
Storage Buckets
Log In
Sign Up
Spaces:
purecipher
/
xsecuremcp
like
0
Running
App
Files
Files
Community
7c4c1b7
xsecuremcp
/
examples
/
simple_echo.py
Jeremiah Lowin
Update cli file spec
bfdc923
over 1 year ago
Raw
Download with hf CLI
Copy download link
History
Blame
192 Bytes
"""
FastMCP Echo Server
"""
from
fastmcp
import
FastMCP
# Create server
mcp = FastMCP(
"Echo Server"
)
@mcp.tool()
def
echo
(
text:
str
) ->
str
:
"""Echo the input text"""
return
text