team_roster
Pack: mlb-stats · Endpoint: https://gateway.pipeworx.io/mlb-stats/mcp
Players on a team. Use roster_type=active for current 26-man, =40Man for full org.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
team_id | number | yes | |
roster_type | string | no | active | 40Man | depthChart | fullSeason | fullRoster |
season | string | no | YYYY |
Example call
curl -X POST https://gateway.pipeworx.io/mlb-stats/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"team_roster","arguments":{}}}'
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"mlb-stats": {
"url": "https://gateway.pipeworx.io/mlb-stats/mcp"
}
}
}
See Getting Started for client-specific install steps.