We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/docdyhr/simplenote-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
version_util.py•561 B
#!/usr/bin/env python
"""Version utility functions for the Simplenote MCP server."""
import logging
import sys
def check_python_version(major: int, minor: int) -> bool:
"""Check if the current Python version meets the required major and minor versions."""
current_version = sys.version_info
if (current_version.major, current_version.minor) < (major, minor):
logging.debug(
f"Python version {current_version.major}.{current_version.minor} is lower than required {major}.{minor}"
)
return False
return True