feat: add google maps mcp source (#125)

This commit is contained in:
2026-06-13 01:59:54 +01:00
committed by GitHub
parent ef7301ab18
commit 38b21a1aa4
14 changed files with 492 additions and 1 deletions

View File

@@ -0,0 +1,41 @@
import { type } from "arktype"
const ResolveNameQuery = type({
"+": "reject",
text: "string",
})
export const SearchPlacesInput = type({
"+": "reject",
textQuery: "string",
"locationBias?": "unknown",
"languageCode?": "string",
"regionCode?": "string",
})
export const LookupWeatherInput = type({
"+": "reject",
location: "unknown",
"date?": "unknown",
"hour?": "number",
"unitsSystem?": "'UNITS_SYSTEM_UNSPECIFIED' | 'METRIC' | 'IMPERIAL'",
})
export const ComputeRoutesInput = type({
"+": "reject",
origin: "unknown",
destination: "unknown",
"travelMode?": "'ROUTE_TRAVEL_MODE_UNSPECIFIED' | 'DRIVE' | 'WALK'",
})
export const ResolveNamesInput = type({
"+": "reject",
queries: ResolveNameQuery.array(),
"locationBias?": "unknown",
"regionCode?": "string",
})
export const ResolveMapsUrlsInput = type({
"+": "reject",
urls: "string[]",
})