Skip to main content
Glama

Gemini MCP Server

sync_version.pyโ€ข952 B
#!/usr/bin/env python3 """ Sync version from pyproject.toml to config.py This script is called by GitHub Actions after semantic-release updates the version """ import re from datetime import datetime import toml def update_config_version(): # Read version from pyproject.toml with open("pyproject.toml") as f: data = toml.load(f) version = data["project"]["version"] # Read current config.py with open("config.py") as f: content = f.read() # Update version content = re.sub(r'__version__ = "[^"]*"', f'__version__ = "{version}"', content) # Update date to current date today = datetime.now().strftime("%Y-%m-%d") content = re.sub(r'__updated__ = "[^"]*"', f'__updated__ = "{today}"', content) # Write back with open("config.py", "w") as f: f.write(content) print(f"Updated config.py to version {version}") if __name__ == "__main__": update_config_version()

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/BeehiveInnovations/gemini-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server