@withinfocus/tba-mcp-server 1.0.3 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +49 -39
- package/dist/index.js +1 -1
- package/dist/schemas.d.ts +222 -9
- package/dist/schemas.d.ts.map +1 -1
- package/dist/schemas.js +234 -11
- package/dist/schemas.js.map +1 -1
- package/dist/tools.d.ts.map +1 -1
- package/dist/tools.js +62 -749
- package/dist/tools.js.map +1 -1
- package/package.json +8 -7
package/README.md
CHANGED
|
@@ -11,31 +11,35 @@ A Model Context Protocol (MCP) server that provides access to The Blue Alliance
|
|
|
11
11
|
- **Type Safety**: All responses validated with Zod schemas
|
|
12
12
|
- **Comprehensive Coverage**: 35+ tools covering all major TBA API endpoints
|
|
13
13
|
|
|
14
|
-
## Prerequisites
|
|
15
|
-
|
|
16
|
-
- Node.js 24
|
|
17
|
-
- [The Blue Alliance](https://www.thebluealliance.com/) API key
|
|
18
|
-
|
|
19
14
|
## Installation
|
|
20
15
|
|
|
21
|
-
###
|
|
16
|
+
### npm (Recommended)
|
|
22
17
|
|
|
23
18
|
```bash
|
|
24
19
|
npm install -g @withinfocus/tba-mcp-server
|
|
25
20
|
```
|
|
26
21
|
|
|
27
|
-
###
|
|
22
|
+
### Docker
|
|
23
|
+
|
|
24
|
+
Pull the image from GitHub Container Registry:
|
|
25
|
+
|
|
26
|
+
```bash
|
|
27
|
+
docker pull ghcr.io/withinfocus/tba-mcp-server:latest
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
Or build locally:
|
|
28
31
|
|
|
29
32
|
```bash
|
|
30
33
|
git clone https://github.com/withinfocus/tba-mcp-server.git
|
|
31
34
|
cd tba-mcp-server
|
|
32
|
-
|
|
33
|
-
npm run build
|
|
35
|
+
docker build -t tba-mcp-server .
|
|
34
36
|
```
|
|
35
37
|
|
|
36
38
|
## Configuration
|
|
37
39
|
|
|
38
|
-
|
|
40
|
+
1. Get an API key from [The Blue Alliance](https://www.thebluealliance.com/account)
|
|
41
|
+
|
|
42
|
+
2. Set your API key as an environment variable:
|
|
39
43
|
|
|
40
44
|
```bash
|
|
41
45
|
export TBA_API_KEY=your_api_key_here
|
|
@@ -49,6 +53,8 @@ TBA_API_KEY=your_api_key_here
|
|
|
49
53
|
|
|
50
54
|
## Usage
|
|
51
55
|
|
|
56
|
+
### With npm
|
|
57
|
+
|
|
52
58
|
Add to your MCP client configuration (e.g., Claude Desktop):
|
|
53
59
|
|
|
54
60
|
```json
|
|
@@ -65,6 +71,37 @@ Add to your MCP client configuration (e.g., Claude Desktop):
|
|
|
65
71
|
}
|
|
66
72
|
```
|
|
67
73
|
|
|
74
|
+
### With Docker
|
|
75
|
+
|
|
76
|
+
Add to your MCP client configuration:
|
|
77
|
+
|
|
78
|
+
```json
|
|
79
|
+
{
|
|
80
|
+
"mcpServers": {
|
|
81
|
+
"tba": {
|
|
82
|
+
"command": "docker",
|
|
83
|
+
"args": [
|
|
84
|
+
"run",
|
|
85
|
+
"--rm",
|
|
86
|
+
"-i",
|
|
87
|
+
"--init",
|
|
88
|
+
"-e",
|
|
89
|
+
"TBA_API_KEY=your_api_key_here",
|
|
90
|
+
"ghcr.io/withinfocus/tba-mcp-server:latest"
|
|
91
|
+
]
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
Or run directly:
|
|
98
|
+
|
|
99
|
+
```bash
|
|
100
|
+
docker run --rm -i --init \
|
|
101
|
+
-e TBA_API_KEY=your_api_key_here \
|
|
102
|
+
ghcr.io/withinfocus/tba-mcp-server:latest
|
|
103
|
+
```
|
|
104
|
+
|
|
68
105
|
## Available Tools
|
|
69
106
|
|
|
70
107
|
### Team Information (24 tools)
|
|
@@ -73,45 +110,34 @@ Access comprehensive team data including profiles, participation history, events
|
|
|
73
110
|
|
|
74
111
|
**Key tools**: `get_team`, `get_team_events`, `get_team_matches`, `get_team_awards`, `get_team_media`
|
|
75
112
|
|
|
76
|
-
[View all team tools →](docs/TOOLS.md#team-information-tools)
|
|
77
|
-
|
|
78
113
|
### Event Information (19 tools)
|
|
79
114
|
|
|
80
115
|
Query event details, participants, rankings, matches, and analytics.
|
|
81
116
|
|
|
82
117
|
**Key tools**: `get_event`, `get_events`, `get_event_teams`, `get_event_rankings`, `get_event_matches`, `get_event_oprs`
|
|
83
118
|
|
|
84
|
-
[View all event tools →](docs/TOOLS.md#event-information-tools)
|
|
85
|
-
|
|
86
119
|
### Match Information (3 tools)
|
|
87
120
|
|
|
88
121
|
Retrieve detailed match data including scores, alliances, and robot tracking.
|
|
89
122
|
|
|
90
123
|
**Key tools**: `get_match`, `get_match_simple`, `get_match_zebra`
|
|
91
124
|
|
|
92
|
-
[View all match tools →](docs/TOOLS.md#match-information-tools)
|
|
93
|
-
|
|
94
125
|
### District Tools (8 tools)
|
|
95
126
|
|
|
96
127
|
Access district rankings, events, and team information.
|
|
97
128
|
|
|
98
129
|
**Key tools**: `get_districts`, `get_district_rankings`, `get_district_events`, `get_district_teams`
|
|
99
130
|
|
|
100
|
-
[View all district tools →](docs/TOOLS.md#district-tools)
|
|
101
|
-
|
|
102
131
|
### General/Utility Tools (6 tools)
|
|
103
132
|
|
|
104
133
|
Paginated team listings and API status information.
|
|
105
134
|
|
|
106
135
|
**Key tools**: `get_teams`, `get_teams_by_year`, `get_status`
|
|
107
136
|
|
|
108
|
-
[View all utility tools →](docs/TOOLS.md#generalutility-tools)
|
|
109
|
-
|
|
110
137
|
### Complete Documentation
|
|
111
138
|
|
|
112
139
|
- **[All Tools](docs/TOOLS.md)** - Complete reference for all 35+ tools with parameters and examples
|
|
113
140
|
- **[Data Schemas](docs/SCHEMAS.md)** - Detailed schema documentation for all response types
|
|
114
|
-
- **[Development Guide](docs/DEVELOPMENT.md)** - Building, testing, and contributing
|
|
115
141
|
|
|
116
142
|
## Quick Examples
|
|
117
143
|
|
|
@@ -154,25 +180,9 @@ get_match(match_key: "2024casj_qm1")
|
|
|
154
180
|
get_match_zebra(match_key: "2024casj_qm1")
|
|
155
181
|
```
|
|
156
182
|
|
|
157
|
-
##
|
|
158
|
-
|
|
159
|
-
See the [Development Guide](docs/DEVELOPMENT.md) for detailed instructions on:
|
|
183
|
+
## Contributing
|
|
160
184
|
|
|
161
|
-
|
|
162
|
-
- Adding new tools
|
|
163
|
-
- Running unit and integration tests
|
|
164
|
-
- Code standards and contribution guidelines
|
|
165
|
-
|
|
166
|
-
Quick start:
|
|
167
|
-
|
|
168
|
-
```bash
|
|
169
|
-
npm ci # Install dependencies
|
|
170
|
-
npm run build # Build TypeScript
|
|
171
|
-
npm test # Run unit tests
|
|
172
|
-
npm run test:integration # Run integration tests
|
|
173
|
-
npm run lint # Check code quality
|
|
174
|
-
npm run inspect # Launch MCP inspector
|
|
175
|
-
```
|
|
185
|
+
Contributions are welcome! See [CONTRIBUTING.md](CONTRIBUTING.md) for development setup, testing guidelines, and how to add new tools.
|
|
176
186
|
|
|
177
187
|
## Related Links
|
|
178
188
|
|
package/dist/index.js
CHANGED
package/dist/schemas.d.ts
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const TeamKeySchema: z.ZodString;
|
|
3
3
|
export declare const EventKeySchema: z.ZodString;
|
|
4
|
+
export declare const MatchKeySchema: z.ZodString;
|
|
5
|
+
export declare const DistrictKeySchema: z.ZodString;
|
|
6
|
+
export declare const MediaTagSchema: z.ZodString;
|
|
7
|
+
export declare const PageNumSchema: z.ZodNumber;
|
|
4
8
|
export declare const YearSchema: z.ZodNumber;
|
|
5
9
|
export declare const TeamSchema: z.ZodObject<{
|
|
6
10
|
key: z.ZodString;
|
|
@@ -20,7 +24,7 @@ export declare const TeamSchema: z.ZodObject<{
|
|
|
20
24
|
website: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
25
|
rookie_year: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
22
26
|
motto: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
-
home_championship: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.
|
|
27
|
+
home_championship: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
24
28
|
}, z.core.$strip>;
|
|
25
29
|
export declare const EventSchema: z.ZodObject<{
|
|
26
30
|
key: z.ZodString;
|
|
@@ -89,7 +93,7 @@ export declare const MatchSchema: z.ZodObject<{
|
|
|
89
93
|
actual_time: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
90
94
|
predicted_time: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
91
95
|
post_result_time: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
92
|
-
score_breakdown: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.
|
|
96
|
+
score_breakdown: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
93
97
|
videos: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
94
98
|
type: z.ZodString;
|
|
95
99
|
key: z.ZodString;
|
|
@@ -167,13 +171,13 @@ export declare const DistrictPointsSchema: z.ZodObject<{
|
|
|
167
171
|
}, z.core.$strip>>>>;
|
|
168
172
|
}, z.core.$strip>;
|
|
169
173
|
export declare const InsightsSchema: z.ZodObject<{
|
|
170
|
-
qual: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.
|
|
171
|
-
playoff: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.
|
|
174
|
+
qual: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
175
|
+
playoff: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
172
176
|
}, z.core.$strip>;
|
|
173
177
|
export declare const MediaSchema: z.ZodObject<{
|
|
174
178
|
type: z.ZodString;
|
|
175
179
|
foreign_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
176
|
-
details: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.
|
|
180
|
+
details: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
177
181
|
preferred: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
178
182
|
direct_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
179
183
|
view_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -343,11 +347,11 @@ export declare const PredictionSchema: z.ZodObject<{
|
|
|
343
347
|
blue: z.ZodOptional<z.ZodObject<{
|
|
344
348
|
score: z.ZodNumber;
|
|
345
349
|
}, z.core.$strip>>;
|
|
346
|
-
}, z.core.$strip>>, z.
|
|
350
|
+
}, z.core.$strip>>, z.ZodUnknown]>>>;
|
|
347
351
|
ranking_predictions: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
348
352
|
rank: z.ZodNumber;
|
|
349
|
-
}, z.core.$strip>>, z.ZodArray<z.
|
|
350
|
-
stat_mean_vars: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.
|
|
353
|
+
}, z.core.$strip>>, z.ZodArray<z.ZodUnknown>]>>>;
|
|
354
|
+
stat_mean_vars: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
351
355
|
}, z.core.$strip>;
|
|
352
356
|
export declare const TeamHistorySchema: z.ZodObject<{
|
|
353
357
|
awards: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
@@ -427,7 +431,7 @@ export declare const TeamHistorySchema: z.ZodObject<{
|
|
|
427
431
|
actual_time: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
428
432
|
predicted_time: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
429
433
|
post_result_time: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
430
|
-
score_breakdown: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.
|
|
434
|
+
score_breakdown: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
431
435
|
videos: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
432
436
|
type: z.ZodString;
|
|
433
437
|
key: z.ZodString;
|
|
@@ -440,4 +444,213 @@ export declare const TeamHistorySchema: z.ZodObject<{
|
|
|
440
444
|
team_key: z.ZodString;
|
|
441
445
|
}, z.core.$strip>>>>;
|
|
442
446
|
}, z.core.$strip>;
|
|
447
|
+
export declare const GetTeamInputSchema: z.ZodObject<{
|
|
448
|
+
team_key: z.ZodString;
|
|
449
|
+
}, z.core.$strip>;
|
|
450
|
+
export declare const GetTeamEventsInputSchema: z.ZodObject<{
|
|
451
|
+
team_key: z.ZodString;
|
|
452
|
+
year: z.ZodNumber;
|
|
453
|
+
}, z.core.$strip>;
|
|
454
|
+
export declare const GetTeamAwardsInputSchema: z.ZodObject<{
|
|
455
|
+
team_key: z.ZodString;
|
|
456
|
+
year: z.ZodNumber;
|
|
457
|
+
}, z.core.$strip>;
|
|
458
|
+
export declare const GetTeamMatchesInputSchema: z.ZodObject<{
|
|
459
|
+
team_key: z.ZodString;
|
|
460
|
+
year: z.ZodNumber;
|
|
461
|
+
}, z.core.$strip>;
|
|
462
|
+
export declare const GetEventsInputSchema: z.ZodObject<{
|
|
463
|
+
year: z.ZodNumber;
|
|
464
|
+
}, z.core.$strip>;
|
|
465
|
+
export declare const GetEventInputSchema: z.ZodObject<{
|
|
466
|
+
event_key: z.ZodString;
|
|
467
|
+
}, z.core.$strip>;
|
|
468
|
+
export declare const GetEventTeamsInputSchema: z.ZodObject<{
|
|
469
|
+
event_key: z.ZodString;
|
|
470
|
+
}, z.core.$strip>;
|
|
471
|
+
export declare const GetEventRankingsInputSchema: z.ZodObject<{
|
|
472
|
+
event_key: z.ZodString;
|
|
473
|
+
}, z.core.$strip>;
|
|
474
|
+
export declare const GetEventMatchesInputSchema: z.ZodObject<{
|
|
475
|
+
event_key: z.ZodString;
|
|
476
|
+
}, z.core.$strip>;
|
|
477
|
+
export declare const GetEventAlliancesInputSchema: z.ZodObject<{
|
|
478
|
+
event_key: z.ZodString;
|
|
479
|
+
}, z.core.$strip>;
|
|
480
|
+
export declare const GetEventInsightsInputSchema: z.ZodObject<{
|
|
481
|
+
event_key: z.ZodString;
|
|
482
|
+
}, z.core.$strip>;
|
|
483
|
+
export declare const GetEventDistrictPointsInputSchema: z.ZodObject<{
|
|
484
|
+
event_key: z.ZodString;
|
|
485
|
+
}, z.core.$strip>;
|
|
486
|
+
export declare const GetTeamYearsParticipatedInputSchema: z.ZodObject<{
|
|
487
|
+
team_key: z.ZodString;
|
|
488
|
+
}, z.core.$strip>;
|
|
489
|
+
export declare const GetTeamDistrictsInputSchema: z.ZodObject<{
|
|
490
|
+
team_key: z.ZodString;
|
|
491
|
+
}, z.core.$strip>;
|
|
492
|
+
export declare const GetTeamRobotsInputSchema: z.ZodObject<{
|
|
493
|
+
team_key: z.ZodString;
|
|
494
|
+
}, z.core.$strip>;
|
|
495
|
+
export declare const GetTeamMediaInputSchema: z.ZodObject<{
|
|
496
|
+
team_key: z.ZodString;
|
|
497
|
+
year: z.ZodNumber;
|
|
498
|
+
}, z.core.$strip>;
|
|
499
|
+
export declare const GetTeamEventMatchesInputSchema: z.ZodObject<{
|
|
500
|
+
team_key: z.ZodString;
|
|
501
|
+
event_key: z.ZodString;
|
|
502
|
+
}, z.core.$strip>;
|
|
503
|
+
export declare const GetTeamsInputSchema: z.ZodObject<{
|
|
504
|
+
page_num: z.ZodNumber;
|
|
505
|
+
}, z.core.$strip>;
|
|
506
|
+
export declare const GetStatusInputSchema: z.ZodObject<{}, z.core.$strip>;
|
|
507
|
+
export declare const GetMatchInputSchema: z.ZodObject<{
|
|
508
|
+
match_key: z.ZodString;
|
|
509
|
+
}, z.core.$strip>;
|
|
510
|
+
export declare const GetEventOprsInputSchema: z.ZodObject<{
|
|
511
|
+
event_key: z.ZodString;
|
|
512
|
+
}, z.core.$strip>;
|
|
513
|
+
export declare const GetEventAwardsInputSchema: z.ZodObject<{
|
|
514
|
+
event_key: z.ZodString;
|
|
515
|
+
}, z.core.$strip>;
|
|
516
|
+
export declare const GetTeamAwardsAllInputSchema: z.ZodObject<{
|
|
517
|
+
team_key: z.ZodString;
|
|
518
|
+
}, z.core.$strip>;
|
|
519
|
+
export declare const GetTeamEventsAllInputSchema: z.ZodObject<{
|
|
520
|
+
team_key: z.ZodString;
|
|
521
|
+
}, z.core.$strip>;
|
|
522
|
+
export declare const GetTeamEventStatusInputSchema: z.ZodObject<{
|
|
523
|
+
team_key: z.ZodString;
|
|
524
|
+
event_key: z.ZodString;
|
|
525
|
+
}, z.core.$strip>;
|
|
526
|
+
export declare const GetDistrictsInputSchema: z.ZodObject<{
|
|
527
|
+
year: z.ZodNumber;
|
|
528
|
+
}, z.core.$strip>;
|
|
529
|
+
export declare const GetDistrictRankingsInputSchema: z.ZodObject<{
|
|
530
|
+
district_key: z.ZodString;
|
|
531
|
+
}, z.core.$strip>;
|
|
532
|
+
export declare const GetTeamsSimpleInputSchema: z.ZodObject<{
|
|
533
|
+
page_num: z.ZodNumber;
|
|
534
|
+
}, z.core.$strip>;
|
|
535
|
+
export declare const GetTeamsKeysInputSchema: z.ZodObject<{
|
|
536
|
+
page_num: z.ZodNumber;
|
|
537
|
+
}, z.core.$strip>;
|
|
538
|
+
export declare const GetTeamsByYearInputSchema: z.ZodObject<{
|
|
539
|
+
year: z.ZodNumber;
|
|
540
|
+
page_num: z.ZodNumber;
|
|
541
|
+
}, z.core.$strip>;
|
|
542
|
+
export declare const GetTeamsByYearSimpleInputSchema: z.ZodObject<{
|
|
543
|
+
year: z.ZodNumber;
|
|
544
|
+
page_num: z.ZodNumber;
|
|
545
|
+
}, z.core.$strip>;
|
|
546
|
+
export declare const GetTeamsByYearKeysInputSchema: z.ZodObject<{
|
|
547
|
+
year: z.ZodNumber;
|
|
548
|
+
page_num: z.ZodNumber;
|
|
549
|
+
}, z.core.$strip>;
|
|
550
|
+
export declare const GetTeamSimpleInputSchema: z.ZodObject<{
|
|
551
|
+
team_key: z.ZodString;
|
|
552
|
+
}, z.core.$strip>;
|
|
553
|
+
export declare const GetEventSimpleInputSchema: z.ZodObject<{
|
|
554
|
+
event_key: z.ZodString;
|
|
555
|
+
}, z.core.$strip>;
|
|
556
|
+
export declare const GetEventsSimpleInputSchema: z.ZodObject<{
|
|
557
|
+
year: z.ZodNumber;
|
|
558
|
+
}, z.core.$strip>;
|
|
559
|
+
export declare const GetEventsKeysInputSchema: z.ZodObject<{
|
|
560
|
+
year: z.ZodNumber;
|
|
561
|
+
}, z.core.$strip>;
|
|
562
|
+
export declare const GetMatchSimpleInputSchema: z.ZodObject<{
|
|
563
|
+
match_key: z.ZodString;
|
|
564
|
+
}, z.core.$strip>;
|
|
565
|
+
export declare const GetTeamEventsSimpleInputSchema: z.ZodObject<{
|
|
566
|
+
team_key: z.ZodString;
|
|
567
|
+
year: z.ZodNumber;
|
|
568
|
+
}, z.core.$strip>;
|
|
569
|
+
export declare const GetTeamEventsKeysInputSchema: z.ZodObject<{
|
|
570
|
+
team_key: z.ZodString;
|
|
571
|
+
year: z.ZodNumber;
|
|
572
|
+
}, z.core.$strip>;
|
|
573
|
+
export declare const GetTeamEventAwardsInputSchema: z.ZodObject<{
|
|
574
|
+
team_key: z.ZodString;
|
|
575
|
+
event_key: z.ZodString;
|
|
576
|
+
}, z.core.$strip>;
|
|
577
|
+
export declare const GetTeamMatchesSimpleInputSchema: z.ZodObject<{
|
|
578
|
+
team_key: z.ZodString;
|
|
579
|
+
year: z.ZodNumber;
|
|
580
|
+
}, z.core.$strip>;
|
|
581
|
+
export declare const GetTeamMatchesKeysInputSchema: z.ZodObject<{
|
|
582
|
+
team_key: z.ZodString;
|
|
583
|
+
year: z.ZodNumber;
|
|
584
|
+
}, z.core.$strip>;
|
|
585
|
+
export declare const GetTeamSocialMediaInputSchema: z.ZodObject<{
|
|
586
|
+
team_key: z.ZodString;
|
|
587
|
+
}, z.core.$strip>;
|
|
588
|
+
export declare const GetTeamMediaByTagInputSchema: z.ZodObject<{
|
|
589
|
+
team_key: z.ZodString;
|
|
590
|
+
media_tag: z.ZodString;
|
|
591
|
+
}, z.core.$strip>;
|
|
592
|
+
export declare const GetTeamMediaByTagYearInputSchema: z.ZodObject<{
|
|
593
|
+
team_key: z.ZodString;
|
|
594
|
+
media_tag: z.ZodString;
|
|
595
|
+
year: z.ZodNumber;
|
|
596
|
+
}, z.core.$strip>;
|
|
597
|
+
export declare const GetEventTeamsSimpleInputSchema: z.ZodObject<{
|
|
598
|
+
event_key: z.ZodString;
|
|
599
|
+
}, z.core.$strip>;
|
|
600
|
+
export declare const GetEventTeamsKeysInputSchema: z.ZodObject<{
|
|
601
|
+
event_key: z.ZodString;
|
|
602
|
+
}, z.core.$strip>;
|
|
603
|
+
export declare const GetEventMatchesSimpleInputSchema: z.ZodObject<{
|
|
604
|
+
event_key: z.ZodString;
|
|
605
|
+
}, z.core.$strip>;
|
|
606
|
+
export declare const GetEventMatchesKeysInputSchema: z.ZodObject<{
|
|
607
|
+
event_key: z.ZodString;
|
|
608
|
+
}, z.core.$strip>;
|
|
609
|
+
export declare const GetEventPredictionsInputSchema: z.ZodObject<{
|
|
610
|
+
event_key: z.ZodString;
|
|
611
|
+
}, z.core.$strip>;
|
|
612
|
+
export declare const GetMatchZebraInputSchema: z.ZodObject<{
|
|
613
|
+
match_key: z.ZodString;
|
|
614
|
+
}, z.core.$strip>;
|
|
615
|
+
export declare const GetTeamHistoryInputSchema: z.ZodObject<{
|
|
616
|
+
team_key: z.ZodString;
|
|
617
|
+
}, z.core.$strip>;
|
|
618
|
+
export declare const GetTeamEventStatusesInputSchema: z.ZodObject<{
|
|
619
|
+
team_key: z.ZodString;
|
|
620
|
+
year: z.ZodNumber;
|
|
621
|
+
}, z.core.$strip>;
|
|
622
|
+
export declare const GetTeamEventMatchesSimpleInputSchema: z.ZodObject<{
|
|
623
|
+
team_key: z.ZodString;
|
|
624
|
+
event_key: z.ZodString;
|
|
625
|
+
}, z.core.$strip>;
|
|
626
|
+
export declare const GetTeamEventMatchesKeysInputSchema: z.ZodObject<{
|
|
627
|
+
team_key: z.ZodString;
|
|
628
|
+
event_key: z.ZodString;
|
|
629
|
+
}, z.core.$strip>;
|
|
630
|
+
export declare const GetDistrictEventsInputSchema: z.ZodObject<{
|
|
631
|
+
district_key: z.ZodString;
|
|
632
|
+
}, z.core.$strip>;
|
|
633
|
+
export declare const GetDistrictEventsSimpleInputSchema: z.ZodObject<{
|
|
634
|
+
district_key: z.ZodString;
|
|
635
|
+
}, z.core.$strip>;
|
|
636
|
+
export declare const GetDistrictEventsKeysInputSchema: z.ZodObject<{
|
|
637
|
+
district_key: z.ZodString;
|
|
638
|
+
}, z.core.$strip>;
|
|
639
|
+
export declare const GetDistrictTeamsInputSchema: z.ZodObject<{
|
|
640
|
+
district_key: z.ZodString;
|
|
641
|
+
}, z.core.$strip>;
|
|
642
|
+
export declare const GetDistrictTeamsSimpleInputSchema: z.ZodObject<{
|
|
643
|
+
district_key: z.ZodString;
|
|
644
|
+
}, z.core.$strip>;
|
|
645
|
+
export declare const GetDistrictTeamsKeysInputSchema: z.ZodObject<{
|
|
646
|
+
district_key: z.ZodString;
|
|
647
|
+
}, z.core.$strip>;
|
|
648
|
+
export declare function toMCPSchema(zodSchema: z.ZodType): {
|
|
649
|
+
type: 'object';
|
|
650
|
+
properties?: {
|
|
651
|
+
[key: string]: object;
|
|
652
|
+
};
|
|
653
|
+
required?: string[];
|
|
654
|
+
[key: string]: unknown;
|
|
655
|
+
};
|
|
443
656
|
//# sourceMappingURL=schemas.d.ts.map
|
package/dist/schemas.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../src/schemas.ts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