home / mcp / playable locations mcp server

Playable Locations MCP Server

MCP Server generated by mcp.ag2.ai

Installation
Add the following to your MCP client configuration file.

Configuration

View docs
{
  "mcpServers": {
    "ag2-mcp-servers-playable-locations-api": {
      "command": "python",
      "args": [
        "mcp_server/main.py",
        "stdio"
      ],
      "env": {
        "CONFIG": "A JSON string containing the configuration",
        "SECURITY": "Environment variables for security parameters (e.g., API keys)",
        "CONFIG_PATH": "Path to a JSON configuration file, e.g., mcp_server/mcp_config.json"
      }
    }
  }
}

You can run an MCP server that exposes the Google Playable Locations model-context protocol, enabling clients to query and stream context data efficiently. This server is started in a local, stdio-driven mode and is configured via JSON or environment variables to control the runtime behavior and security.

How to use

Start the MCP server in stdio mode to run it locally and interact with an MCP client. Use a configuration path or a direct JSON configuration to define your server settings, and provide security parameters as needed.

Run the server in stdio mode from your shell: python mcp_server/main.py stdio.

How to install

Prerequisites you must have before installing and running the server.

- Python 3.9+

- pip and uv (uv is an alternative launcher)

Installation steps you will follow in sequence.

git clone <repository-url>
cd mcp-server
pip install -e ".[dev]"
# Or use uv to install editable dev dependencies
uv pip install --editable ".[dev]"

Additional configuration and notes

You can configure the server using environment variables or a JSON configuration file.

Environment variables supported for runtime configuration include the following.

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 for security parameters (for example, API keys).

Starting in stdio mode with configuration

To start the server with a configuration file, set CONFIG_PATH to the path of your config and run the standard start command.

export CONFIG_PATH=mcp_server/mcp_config.json
python mcp_server/main.py stdio
Playable Locations MCP Server - ag2-mcp-servers/playable-locations-api