We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/ravinahp/email-checker-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
tools.py•557 B
import logging
from mcp.server.fastmcp import FastMCP
from .email_validator import EmailValidatorAPI
# Set up logging
logger = logging.getLogger(__name__)
# Initialize FastMCP server and API client
mcp = FastMCP("email-checker")
api = EmailValidatorAPI()
@mcp.tool()
async def verify_email(email: str) -> str:
"""
Verify an email address using the 2ip.me API.
Args:
email (str): The email address to verify
Returns:
str: "true" or "false" indicating if the email is valid
"""
return await api.verify_email(email)