We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/sritajkumarpatel/learn_mcp_2025'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
sample_mcp_streamable_server.py•354 B
from mcp.server.fastmcp import FastMCP
# Initialize the MCP server for prompting an MCP client
mcp = FastMCP("Streamable MCP Server")
@mcp.tool()
def greet(name: str) -> str:
"""Greets the user with their name."""
return f"Hello, {name}! Hope you're having a great day! 😊"
if __name__ == "__main__":
mcp.run(transport="streamable-http")