@squawk/mcp 0.8.6 → 0.8.8
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 +3 -3
- package/dist/resolvers.d.ts +1 -1
- package/dist/resolvers.d.ts.map +1 -1
- package/dist/resolvers.js +6 -6
- package/dist/server.d.ts.map +1 -1
- package/dist/server.js +1 -1
- package/dist/tools/airports.d.ts.map +1 -1
- package/dist/tools/airspace.d.ts.map +1 -1
- package/dist/tools/airways.d.ts.map +1 -1
- package/dist/tools/datasets.d.ts.map +1 -1
- package/dist/tools/fixes.d.ts.map +1 -1
- package/dist/tools/flight-math.d.ts.map +1 -1
- package/dist/tools/flight-math.js +1 -1
- package/dist/tools/flightplan.d.ts.map +1 -1
- package/dist/tools/flightplan.js +1 -1
- package/dist/tools/geo.d.ts.map +1 -1
- package/dist/tools/geo.js +1 -1
- package/dist/tools/icao-registry.d.ts.map +1 -1
- package/dist/tools/navaids.d.ts.map +1 -1
- package/dist/tools/notams.d.ts.map +1 -1
- package/dist/tools/notams.js +1 -1
- package/dist/tools/procedures.d.ts.map +1 -1
- package/dist/tools/weather.d.ts.map +1 -1
- package/dist/tools/weather.js +1 -1
- package/package.json +22 -22
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
<h1><img src="
|
|
1
|
+
<h1><img src="../../../assets/squawk-logo.svg" alt="squawk logo" width="48" height="48" style="vertical-align: middle"> @squawk/mcp</h1>
|
|
2
2
|
|
|
3
|
-
[](
|
|
3
|
+
[](../../../LICENSE.md) [](https://www.npmjs.com/package/@squawk/mcp) 
|
|
4
4
|
|
|
5
5
|
Model Context Protocol (MCP) server that exposes the squawk aviation libraries as tools for LLM clients
|
|
6
6
|
like Claude Desktop, Cursor, and any other MCP-compatible host. A single `npx @squawk/mcp` command starts
|
|
@@ -98,7 +98,7 @@ version explicitly in the client config:
|
|
|
98
98
|
"mcpServers": {
|
|
99
99
|
"squawk": {
|
|
100
100
|
"command": "npx",
|
|
101
|
-
"args": ["-y", "@squawk/mcp@0.8.
|
|
101
|
+
"args": ["-y", "@squawk/mcp@0.8.8"]
|
|
102
102
|
}
|
|
103
103
|
}
|
|
104
104
|
}
|
package/dist/resolvers.d.ts
CHANGED
|
@@ -13,9 +13,9 @@ import { type AirportResolver } from '@squawk/airports';
|
|
|
13
13
|
import { type AirspaceResolver } from '@squawk/airspace';
|
|
14
14
|
import { type AirwayResolver } from '@squawk/airways';
|
|
15
15
|
import { type FixResolver } from '@squawk/fixes';
|
|
16
|
+
import { type IcaoRegistry } from '@squawk/icao-registry';
|
|
16
17
|
import { type NavaidResolver } from '@squawk/navaids';
|
|
17
18
|
import { type ProcedureResolver } from '@squawk/procedures';
|
|
18
|
-
import { type IcaoRegistry } from '@squawk/icao-registry';
|
|
19
19
|
/** Eagerly-built airport resolver backed by the US NASR snapshot. */
|
|
20
20
|
export declare const airportResolver: AirportResolver;
|
|
21
21
|
/** Eagerly-built airspace resolver backed by the US NASR airspace GeoJSON snapshot. */
|
package/dist/resolvers.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resolvers.d.ts","sourceRoot":"","sources":["../src/resolvers.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;
|
|
1
|
+
{"version":3,"file":"resolvers.d.ts","sourceRoot":"","sources":["../src/resolvers.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAGH,OAAO,EAAyB,KAAK,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAC/E,OAAO,EAA0B,KAAK,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAGjF,OAAO,EAAwB,KAAK,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAE5E,OAAO,EAAqB,KAAK,WAAW,EAAE,MAAM,eAAe,CAAC;AACpE,OAAO,EAAsB,KAAK,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAE9E,OAAO,EAAwB,KAAK,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAE5E,OAAO,EAA2B,KAAK,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAErF,qEAAqE;AACrE,eAAO,MAAM,eAAe,EAAE,eAE5B,CAAC;AAEH,uFAAuF;AACvF,eAAO,MAAM,gBAAgB,EAAE,gBAE7B,CAAC;AAEH,oEAAoE;AACpE,eAAO,MAAM,cAAc,EAAE,cAE3B,CAAC;AAEH,iEAAiE;AACjE,eAAO,MAAM,WAAW,EAAE,WAAiE,CAAC;AAE5F,oEAAoE;AACpE,eAAO,MAAM,cAAc,EAAE,cAE3B,CAAC;AAEH,uEAAuE;AACvE,eAAO,MAAM,iBAAiB,EAAE,iBAE9B,CAAC;AAYH;;;;;;;;;;GAUG;AACH,wBAAsB,eAAe,IAAI,OAAO,CAAC,YAAY,CAAC,CAU7D;AAED;;;;;GAKG;AACH,wBAAgB,oBAAoB,IAAI,OAAO,CAE9C;AAED;;;;;GAKG;AACH,wBAAgB,uBAAuB,IACnC;IAAE,WAAW,EAAE,MAAM,CAAC;IAAC,WAAW,EAAE,MAAM,CAAA;CAAE,GAC5C,SAAS,CAEZ"}
|
package/dist/resolvers.js
CHANGED
|
@@ -10,18 +10,18 @@
|
|
|
10
10
|
* the first {@link getIcaoRegistry} call and cached for subsequent calls.
|
|
11
11
|
*/
|
|
12
12
|
import { usBundledAirports } from '@squawk/airport-data';
|
|
13
|
-
import { usBundledAirspace } from '@squawk/airspace-data';
|
|
14
|
-
import { usBundledAirways } from '@squawk/airway-data';
|
|
15
|
-
import { usBundledFixes } from '@squawk/fix-data';
|
|
16
|
-
import { usBundledNavaids } from '@squawk/navaid-data';
|
|
17
|
-
import { usBundledProcedures } from '@squawk/procedure-data';
|
|
18
13
|
import { createAirportResolver } from '@squawk/airports';
|
|
19
14
|
import { createAirspaceResolver } from '@squawk/airspace';
|
|
15
|
+
import { usBundledAirspace } from '@squawk/airspace-data';
|
|
16
|
+
import { usBundledAirways } from '@squawk/airway-data';
|
|
20
17
|
import { createAirwayResolver } from '@squawk/airways';
|
|
18
|
+
import { usBundledFixes } from '@squawk/fix-data';
|
|
21
19
|
import { createFixResolver } from '@squawk/fixes';
|
|
20
|
+
import { createIcaoRegistry } from '@squawk/icao-registry';
|
|
21
|
+
import { usBundledNavaids } from '@squawk/navaid-data';
|
|
22
22
|
import { createNavaidResolver } from '@squawk/navaids';
|
|
23
|
+
import { usBundledProcedures } from '@squawk/procedure-data';
|
|
23
24
|
import { createProcedureResolver } from '@squawk/procedures';
|
|
24
|
-
import { createIcaoRegistry } from '@squawk/icao-registry';
|
|
25
25
|
/** Eagerly-built airport resolver backed by the US NASR snapshot. */
|
|
26
26
|
export const airportResolver = createAirportResolver({
|
|
27
27
|
data: usBundledAirports.records,
|
package/dist/server.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../src/server.ts"],"names":[],"mappings":"AAAA;;;;GAIG;
|
|
1
|
+
{"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../src/server.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAMH,OAAO,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AA2CpE;;;;GAIG;AACH,eAAO,MAAM,iBAAiB,EAAE,MAAsC,CAAC;AAEvE;;;GAGG;AACH,eAAO,MAAM,YAAY,EAAE,MAAyB,CAAC;AAErD;;;GAGG;AACH,eAAO,MAAM,eAAe,EAAE,MAA4B,CAAC;AAE3D;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAAgB,qBAAqB,IAAI,SAAS,CAWjD"}
|
package/dist/server.js
CHANGED
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
* Server factory for @squawk/mcp. Assembles an {@link McpServer} preloaded
|
|
4
4
|
* with every squawk aviation tool module.
|
|
5
5
|
*/
|
|
6
|
-
import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
|
|
7
6
|
import { readFileSync } from 'node:fs';
|
|
8
7
|
import { dirname, resolve } from 'node:path';
|
|
9
8
|
import { fileURLToPath } from 'node:url';
|
|
9
|
+
import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
|
|
10
10
|
import { registerAirportTools } from './tools/airports.js';
|
|
11
11
|
import { registerAirspaceTools } from './tools/airspace.js';
|
|
12
12
|
import { registerAirwayTools } from './tools/airways.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"airports.d.ts","sourceRoot":"","sources":["../../src/tools/airports.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;
|
|
1
|
+
{"version":3,"file":"airports.d.ts","sourceRoot":"","sources":["../../src/tools/airports.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AAkBzE;;;;;;GAMG;AACH,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,SAAS,GAAG,IAAI,CA6I5D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"airspace.d.ts","sourceRoot":"","sources":["../../src/tools/airspace.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;
|
|
1
|
+
{"version":3,"file":"airspace.d.ts","sourceRoot":"","sources":["../../src/tools/airspace.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AAmFzE;;;;;;GAMG;AACH,wBAAgB,qBAAqB,CAAC,MAAM,EAAE,SAAS,GAAG,IAAI,CAmI7D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"airways.d.ts","sourceRoot":"","sources":["../../src/tools/airways.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;
|
|
1
|
+
{"version":3,"file":"airways.d.ts","sourceRoot":"","sources":["../../src/tools/airways.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AAwBzE;;;;;GAKG;AACH,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,SAAS,GAAG,IAAI,CA6G3D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"datasets.d.ts","sourceRoot":"","sources":["../../src/tools/datasets.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;
|
|
1
|
+
{"version":3,"file":"datasets.d.ts","sourceRoot":"","sources":["../../src/tools/datasets.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AAWzE;;;;;;;GAOG;AACH,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,SAAS,GAAG,IAAI,CA8D5D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fixes.d.ts","sourceRoot":"","sources":["../../src/tools/fixes.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;
|
|
1
|
+
{"version":3,"file":"fixes.d.ts","sourceRoot":"","sources":["../../src/tools/fixes.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AAoBzE;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,SAAS,GAAG,IAAI,CAsGxD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flight-math.d.ts","sourceRoot":"","sources":["../../src/tools/flight-math.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;
|
|
1
|
+
{"version":3,"file":"flight-math.d.ts","sourceRoot":"","sources":["../../src/tools/flight-math.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AAoFzE;;;;GAIG;AACH,wBAAgB,uBAAuB,CAAC,MAAM,EAAE,SAAS,GAAG,IAAI,CAuwB/D"}
|
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
* compressible-flow pitot equations, holding-pattern sector logic, and
|
|
14
14
|
* so on).
|
|
15
15
|
*/
|
|
16
|
-
import { airspeed, atmosphere, descent, glide, magnetic, navigation, planning, solar, turn, wind, } from '@squawk/flight-math';
|
|
17
16
|
import { z } from 'zod';
|
|
17
|
+
import { airspeed, atmosphere, descent, glide, magnetic, navigation, planning, solar, turn, wind, } from '@squawk/flight-math';
|
|
18
18
|
import { extractErrorMessage } from './tool-helpers.js';
|
|
19
19
|
/** Reusable zod fragment describing a latitude input. */
|
|
20
20
|
const latFragment = z
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flightplan.d.ts","sourceRoot":"","sources":["../../src/tools/flightplan.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;
|
|
1
|
+
{"version":3,"file":"flightplan.d.ts","sourceRoot":"","sources":["../../src/tools/flightplan.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AAazE;;;;;;GAMG;AACH,wBAAgB,uBAAuB,CAAC,MAAM,EAAE,SAAS,GAAG,IAAI,CA4D/D"}
|
package/dist/tools/flightplan.js
CHANGED
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
* shared airport, navaid, fix, airway, and procedure resolvers from
|
|
6
6
|
* {@link ../resolvers.js}.
|
|
7
7
|
*/
|
|
8
|
-
import { computeRouteDistance, createFlightplanResolver } from '@squawk/flightplan';
|
|
9
8
|
import { z } from 'zod';
|
|
9
|
+
import { computeRouteDistance, createFlightplanResolver } from '@squawk/flightplan';
|
|
10
10
|
import { airportResolver, airwayResolver, fixResolver, navaidResolver, procedureResolver, } from '../resolvers.js';
|
|
11
11
|
/**
|
|
12
12
|
* Registers flight plan parsing and route distance tools on the given MCP
|
package/dist/tools/geo.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"geo.d.ts","sourceRoot":"","sources":["../../src/tools/geo.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;
|
|
1
|
+
{"version":3,"file":"geo.d.ts","sourceRoot":"","sources":["../../src/tools/geo.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AAmBzE;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,SAAS,GAAG,IAAI,CAmIxD"}
|
package/dist/tools/geo.js
CHANGED
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
* `@squawk/geo`. Tools take plain lat/lon inputs and return distances in
|
|
5
5
|
* nautical miles and bearings in degrees true.
|
|
6
6
|
*/
|
|
7
|
-
import { greatCircle } from '@squawk/geo';
|
|
8
7
|
import { z } from 'zod';
|
|
8
|
+
import { greatCircle } from '@squawk/geo';
|
|
9
9
|
/** Reusable zod fragment describing a latitude input. */
|
|
10
10
|
const latFragment = z
|
|
11
11
|
.number()
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icao-registry.d.ts","sourceRoot":"","sources":["../../src/tools/icao-registry.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;
|
|
1
|
+
{"version":3,"file":"icao-registry.d.ts","sourceRoot":"","sources":["../../src/tools/icao-registry.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AAQzE;;;;GAIG;AACH,wBAAgB,yBAAyB,CAAC,MAAM,EAAE,SAAS,GAAG,IAAI,CA6BjE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"navaids.d.ts","sourceRoot":"","sources":["../../src/tools/navaids.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;
|
|
1
|
+
{"version":3,"file":"navaids.d.ts","sourceRoot":"","sources":["../../src/tools/navaids.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AAsBzE;;;;;GAKG;AACH,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,SAAS,GAAG,IAAI,CA2I3D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notams.d.ts","sourceRoot":"","sources":["../../src/tools/notams.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;
|
|
1
|
+
{"version":3,"file":"notams.d.ts","sourceRoot":"","sources":["../../src/tools/notams.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AAOzE;;;;GAIG;AACH,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,SAAS,GAAG,IAAI,CA0B1D"}
|
package/dist/tools/notams.js
CHANGED
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
* MCP tool module wrapping `@squawk/notams` ICAO-format and FAA domestic
|
|
4
4
|
* NOTAM parsers.
|
|
5
5
|
*/
|
|
6
|
-
import { parseFaaNotam, parseNotam } from '@squawk/notams';
|
|
7
6
|
import { z } from 'zod';
|
|
7
|
+
import { parseFaaNotam, parseNotam } from '@squawk/notams';
|
|
8
8
|
import { runParser } from './tool-helpers.js';
|
|
9
9
|
/**
|
|
10
10
|
* Registers NOTAM parsing tools on the given MCP server.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"procedures.d.ts","sourceRoot":"","sources":["../../src/tools/procedures.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;
|
|
1
|
+
{"version":3,"file":"procedures.d.ts","sourceRoot":"","sources":["../../src/tools/procedures.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AAgCzE;;;;;;GAMG;AACH,wBAAgB,sBAAsB,CAAC,MAAM,EAAE,SAAS,GAAG,IAAI,CA2M9D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"weather.d.ts","sourceRoot":"","sources":["../../src/tools/weather.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;
|
|
1
|
+
{"version":3,"file":"weather.d.ts","sourceRoot":"","sources":["../../src/tools/weather.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AA0FzE;;;;GAIG;AACH,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,SAAS,GAAG,IAAI,CAgS5D"}
|
package/dist/tools/weather.js
CHANGED
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
* and return both the parsed records and any per-record parse errors so the
|
|
9
9
|
* model can surface partial failures.
|
|
10
10
|
*/
|
|
11
|
+
import { z } from 'zod';
|
|
11
12
|
import { parseAirmet, parseMetar, parsePirep, parseSigmet, parseTaf, parseWindsAloft, } from '@squawk/weather';
|
|
12
13
|
import { fetchInternationalSigmets, fetchMetar, fetchPirep, fetchSigmets, fetchTaf, fetchWindsAloft, } from '@squawk/weather/fetch';
|
|
13
|
-
import { z } from 'zod';
|
|
14
14
|
import { runParser, summarizeParseErrors } from './tool-helpers.js';
|
|
15
15
|
/** Allowed values for the AWC SIGMET hazard filter. */
|
|
16
16
|
const SIGMET_HAZARD_VALUES = [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@squawk/mcp",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.8",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Model Context Protocol server exposing squawk's aviation libraries as tools for LLM clients",
|
|
6
6
|
"author": "Neil Cochran",
|
|
@@ -39,27 +39,27 @@
|
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
42
|
-
"@squawk/airport-data": "^0.7.
|
|
43
|
-
"@squawk/airports": "^0.5.
|
|
44
|
-
"@squawk/airspace": "^0.6.
|
|
45
|
-
"@squawk/airspace-data": "^0.5.
|
|
46
|
-
"@squawk/airway-data": "^0.5.
|
|
47
|
-
"@squawk/airways": "^0.3.
|
|
48
|
-
"@squawk/fix-data": "^0.6.
|
|
49
|
-
"@squawk/fixes": "^0.2.
|
|
50
|
-
"@squawk/flight-math": "^0.5.
|
|
51
|
-
"@squawk/flightplan": "^0.4.
|
|
52
|
-
"@squawk/geo": "^0.4.
|
|
53
|
-
"@squawk/icao-registry": "^0.3.
|
|
54
|
-
"@squawk/icao-registry-data": "^0.8.
|
|
55
|
-
"@squawk/navaid-data": "^0.6.
|
|
56
|
-
"@squawk/navaids": "^0.3.
|
|
57
|
-
"@squawk/notams": "^0.3.
|
|
58
|
-
"@squawk/procedure-data": "^0.7.
|
|
59
|
-
"@squawk/procedures": "^0.4.
|
|
60
|
-
"@squawk/types": "^0.7.
|
|
61
|
-
"@squawk/weather": "^0.5.
|
|
62
|
-
"zod": "^4.
|
|
42
|
+
"@squawk/airport-data": "^0.7.2",
|
|
43
|
+
"@squawk/airports": "^0.5.4",
|
|
44
|
+
"@squawk/airspace": "^0.6.4",
|
|
45
|
+
"@squawk/airspace-data": "^0.5.2",
|
|
46
|
+
"@squawk/airway-data": "^0.5.2",
|
|
47
|
+
"@squawk/airways": "^0.3.5",
|
|
48
|
+
"@squawk/fix-data": "^0.6.2",
|
|
49
|
+
"@squawk/fixes": "^0.2.5",
|
|
50
|
+
"@squawk/flight-math": "^0.5.3",
|
|
51
|
+
"@squawk/flightplan": "^0.4.5",
|
|
52
|
+
"@squawk/geo": "^0.4.2",
|
|
53
|
+
"@squawk/icao-registry": "^0.3.4",
|
|
54
|
+
"@squawk/icao-registry-data": "^0.8.2",
|
|
55
|
+
"@squawk/navaid-data": "^0.6.2",
|
|
56
|
+
"@squawk/navaids": "^0.3.5",
|
|
57
|
+
"@squawk/notams": "^0.3.4",
|
|
58
|
+
"@squawk/procedure-data": "^0.7.1",
|
|
59
|
+
"@squawk/procedures": "^0.4.4",
|
|
60
|
+
"@squawk/types": "^0.7.2",
|
|
61
|
+
"@squawk/weather": "^0.5.4",
|
|
62
|
+
"zod": "^4.4.2"
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
65
65
|
"@types/node": "^25.6.0"
|