We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/andremir/http-MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
__init__.py•457 B
#!/usr/bin/env python3
"""FastMCP server for Claude Desktop (stdio transport)"""
from fastmcp import FastMCP
# Create MCP server
mcp = FastMCP("hello-mcp-server")
@mcp.tool()
def say_hello(message: str) -> str:
"""Say hello and get 4 as response"""
if "hello" in message.lower():
return "4"
return f"You said: {message}"
def main():
"""Entry point for pipx"""
mcp.run(transport="stdio")
if __name__ == "__main__":
main()