- Home
- MCP servers
- Games Mgmt
Games Mgmt
- python
0
GitHub Stars
python
Language
7 months ago
First Indexed
3 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"ag2-mcp-servers-google-play-game-management": {
"command": "python",
"args": [
"mcp_server/main.py",
"stdio"
],
"env": {
"CONFIG": "JSON string with configuration",
"SECURITY": "Security parameters such as API keys",
"CONFIG_PATH": "Path to a JSON config file (e.g., mcp_server/mcp_config.json)"
}
}
}
}You run an MCP (Model Context Protocol) Server to expose an API described by a specific OpenAPI document, enabling clients to interact with Google Play Games Management data via a standardized MCP interface. This guide walks you through installing and running the server locally and using it with MCP clients.
How to use
To connect with this MCP server, use an MCP client configured for the local stdio runtime. Start the server using the standard command, then point your client to the MCP endpoint exposed by the server. You can also set alternative configuration sources to control startup behavior, such as a JSON configuration file (CONFIG_PATH) or an inline JSON string (CONFIG). Security parameters can be supplied via SECURITY to control access as needed.
Typical usage pattern:
- Start the server in stdio mode so your client can attach to the process input/output streams.
- Provide any necessary configuration through CONFIG_PATH or CONFIG to tailor endpoints and behavior.
- If your environment requires security keys or tokens, set SECURITY accordingly before startup.
- Use your MCP client to issue calls that reflect the Google Play Games Management API surface described by the OpenAPI specification you’re binding to.
How to install
Prerequisites: Python 3.9 or newer, and the Python package manager tools pip and uv.
- Prepare your environment by installing dependencies in editable mode so changes reflect immediately during development.
pip install -e ".[dev]"
If you prefer using uv to run Python dependencies in editable mode, you can install with uv and the same editable spec.
uv pip install --editable ".[dev]"
- Install development tools and run basic checks (linting, formatting, static analysis, and tests) to ensure code quality during development.
ruff check
ruff format
./scripts/static-analysis.sh
./scripts/test.sh
- Run the server in stdio mode once dependencies are installed.
python mcp_server/main.py stdio
- Configure startup behavior with environment variables as needed.
Key configuration options:
- CONFIG_PATH: Path to a JSON configuration file (for example, mcp_server/mcp_config.json).
- CONFIG: A JSON string containing the configuration.
- SECURITY: Environment variables that carry security parameters such as API keys.
Additional notes
This project uses Hatch for building and publishing. You can build and publish with the following commands when you are ready to package your work.
hatch build
hatch publish
Available tools
Linting
Use ruff to check code quality and formatting issues.
Formatting
Use ruff to format code consistently.
Static analysis
Run mypy, bandit, and semgrep for type safety and security review.
Testing
Run pytest with coverage to validate functionality.
Pre-commit
Ensure code quality on every commit via pre-commit hooks.