Skip to main content
Glama

MindManager MCP Server

update_version.py751 B
#!/usr/bin/env python3 import re # Read pyproject.toml with open("pyproject.toml", "r") as f: content = f.read() # Find version and update build number version_pattern = r'version = "([\d]+)\.([\d]+)\.([\d]+)\.([\d]+)"' version_match = re.search(version_pattern, content) if version_match: major, minor, patch, build = version_match.groups() new_build = str(int(build) + 1) new_version = f"{major}.{minor}.{patch}.{new_build}" new_content = re.sub(version_pattern, f'version = "{new_version}"', content) # Write updated content back with open("pyproject.toml", "w") as f: f.write(new_content) print(f"Updated version to {new_version}") else: print("Version pattern not found in pyproject.toml")

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/robertZaufall/mindm-mcp'

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