We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/llanterme/mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
how_to.txt•431 B
@mcp.tool()
def get_countries_by_length(length: int) -> list[str]:
"""Get countries with names of a specific length."""
return [c for c in COUNTRIES if len(c) == length]
In pyproject.toml, increase the version (e.g., 1.0.1 → 1.0.2).
version = "1.0.1"
From your project root (mcp-server/):
python -m build
Reinstall with pipx (Upgrade your CLI Tool)
pipx install dist/country_mcp_server-1.0.1-py3-none-any.whl --force