We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/MarkAndersonIX/mcp-gemini-cli-base'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
mcp_hello.py•272 B
from fastmcp import FastMCP
mcp = FastMCP("Hello World")
# define the tool
@mcp.tool()
def hello_world(name: str) -> str:
return f"Hello World. This is {name} 👋"
# entry point - not needed but suggested
if __name__ == '__main__':
mcp.run(transport = 'stdio')