home / mcp / nhl v3 scores mcp server
MCP Server generated by mcp.ag2.ai
Configuration
View docs{
"mcpServers": {
"ag2-mcp-servers-nhl-v3-scores": {
"command": "python",
"args": [
"mcp_server/main.py",
"stdio"
],
"env": {
"CONFIG": "{...} (JSON string with configuration)",
"SECURITY": "YOUR_API_KEY",
"CONFIG_PATH": "mcp_server/mcp_config.json"
}
}
}
}You run an MCP (Model Context Protocol) server to expose your data source to clients in a standardized way. This server handles the NHL v3 Scores data feed from sportsdata.io and serves it via an MCP-compatible interface, enabling clients to query and participate in model-context interactions without bespoke integration.
Connect with an MCP client to consume the NHL v3 Scores MCP Server. You will run the local server (stdio transport) and point your client at the process I/O stream. Use the standard Python command shown below to start the server, then configure your client to connect via the provided stdio channel.
python mcp_server/main.py stdioPrerequisites you need to satisfy before running the server are Python 3.9 or newer, and the Python package manager with the uv tool available. You also need access to a working network environment to install dependencies and run the server.
Step 1: Clone the server repository to your local machine.
git clone <repository-url>
cd mcp-serverStep 2: Install dependencies. You can install in editable mode with the development extras, or use uv to run the editable install.
pip install -e ".[dev]"
# or, using uv
uv pip install --editable ".[dev]"The server supports multiple transport modes, including stdio, server-sent events, and streamable HTTP. For local development you typically start the stdio variant with Python as shown in the installation section.
Lints and formats the codebase to ensure style conformance.
Performs static type checking to catch type errors early.
Executes tests to verify functionality and regressions.
Builds and publishes the project. Also provides development tooling integration.
Runs pre-commit hooks on commits to maintain code quality.