We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/jonmmease/jons-mcp-imessage'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
example.py•492 B
"""Example MCP tool for My iMessage MCP server."""
async def hello_world(name: str = "World") -> str:
"""Return a friendly greeting.
This is an example tool that demonstrates the basic pattern for
creating MCP tools with FastMCP. The docstring here becomes the
tool's description in the MCP protocol.
Args:
name: The name to greet. Defaults to "World".
Returns:
A greeting message.
"""
return f"Hello, {name}! Your MCP server is working."