@cyanheads/noaa-spaceweather-mcp-server 0.3.3 → 0.5.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/AGENTS.md +22 -9
- package/CLAUDE.md +22 -9
- package/Dockerfile +6 -0
- package/README.md +25 -121
- package/changelog/0.4.x/0.4.0.md +28 -0
- package/changelog/0.5.x/0.5.0.md +28 -0
- package/changelog/template.md +10 -3
- package/dist/index.js +2 -6
- package/dist/index.js.map +1 -1
- package/dist/mcp-server/tools/definitions/get-alerts.tool.d.ts +1 -0
- package/dist/mcp-server/tools/definitions/get-alerts.tool.d.ts.map +1 -1
- package/dist/mcp-server/tools/definitions/get-alerts.tool.js +56 -22
- package/dist/mcp-server/tools/definitions/get-alerts.tool.js.map +1 -1
- package/dist/mcp-server/tools/definitions/get-aurora-forecast.tool.js +1 -1
- package/dist/mcp-server/tools/definitions/get-conditions.tool.d.ts +13 -13
- package/dist/mcp-server/tools/definitions/get-conditions.tool.d.ts.map +1 -1
- package/dist/mcp-server/tools/definitions/get-conditions.tool.js +67 -83
- package/dist/mcp-server/tools/definitions/get-conditions.tool.js.map +1 -1
- package/dist/mcp-server/tools/definitions/index.d.ts +14 -13
- package/dist/mcp-server/tools/definitions/index.d.ts.map +1 -1
- package/dist/services/space-weather/space-weather-service.d.ts +1 -1
- package/dist/services/space-weather/space-weather-service.d.ts.map +1 -1
- package/dist/services/space-weather/space-weather-service.js +33 -27
- package/dist/services/space-weather/space-weather-service.js.map +1 -1
- package/dist/services/space-weather/types.d.ts +10 -15
- package/dist/services/space-weather/types.d.ts.map +1 -1
- package/package.json +11 -10
- package/server.json +3 -3
- package/skills/noaa-spaceweather-guide/SKILL.md +72 -0
package/AGENTS.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
# Developer Protocol
|
|
2
2
|
|
|
3
3
|
**Server:** noaa-spaceweather-mcp-server
|
|
4
|
-
**Version:** 0.
|
|
5
|
-
**Framework:** [@cyanheads/mcp-ts-core](https://www.npmjs.com/package/@cyanheads/mcp-ts-core) `^0.13.
|
|
6
|
-
**Engines:** Bun ≥1.4.
|
|
7
|
-
**MCP SDK:** `@modelcontextprotocol/server` ^2.
|
|
4
|
+
**Version:** 0.5.0
|
|
5
|
+
**Framework:** [@cyanheads/mcp-ts-core](https://www.npmjs.com/package/@cyanheads/mcp-ts-core) `^0.13.22`
|
|
6
|
+
**Engines:** Bun ≥1.4.4, Node ≥24.0.0
|
|
7
|
+
**MCP SDK:** `@modelcontextprotocol/server` ^2.4.0 (protocol revisions 2026-07-28 and 2025-*)
|
|
8
8
|
**Zod:** ^4.6.7
|
|
9
9
|
|
|
10
10
|
> **Read the framework docs first:** `node_modules/@cyanheads/mcp-ts-core/CLAUDE.md` contains the full API reference — builders, Context, error codes, exports, patterns. This file covers server-specific conventions only.
|
|
@@ -50,7 +50,7 @@ Tailor suggestions to what's actually missing or stale — don't recite the full
|
|
|
50
50
|
import { tool, z } from '@cyanheads/mcp-ts-core';
|
|
51
51
|
|
|
52
52
|
export const getConditions = tool('noaa_spaceweather_get_conditions', {
|
|
53
|
-
description: 'Current space-weather snapshot: NOAA R/S/G storm scales (
|
|
53
|
+
description: 'Current space-weather snapshot: NOAA R/S/G storm scales (latest, rolling 24-hour maxima, and 3-day forecast), latest Kp index, and a plain-language status summary.',
|
|
54
54
|
annotations: { readOnlyHint: true, openWorldHint: true },
|
|
55
55
|
input: z.object({}),
|
|
56
56
|
output: z.object({
|
|
@@ -207,9 +207,18 @@ src/
|
|
|
207
207
|
|
|
208
208
|
## Skills
|
|
209
209
|
|
|
210
|
-
|
|
210
|
+
Two skill trees live at the project root, written for different readers:
|
|
211
211
|
|
|
212
|
-
|
|
212
|
+
| Tree | For | Written by |
|
|
213
|
+
|:-----|:----|:-----------|
|
|
214
|
+
| `framework-skills/` | The agent developing this server — framework skills (`metadata.audience: external`) plus any development-time skills of the server's own | `init` and the `maintenance` sync (framework skills); you (your own) |
|
|
215
|
+
| `skills/` | The agents that install the server and call its tools — tool chains, identifier sources, gates | You, deliberately, with the `add-skill` skill. Absent by default; usually none is needed |
|
|
216
|
+
|
|
217
|
+
Development skills are modular instructions. Read them directly when a task matches — e.g., `framework-skills/add-tool/SKILL.md` when adding a tool. `bun run list-skills` prints the full registry. Their directory is deliberately not `skills/`: Claude Code and Codex auto-load a plugin's root `skills/`, so a server that ships `.claude-plugin/` or `.codex-plugin/` would hand them to every agent that installs it.
|
|
218
|
+
|
|
219
|
+
A published skill in root `skills/` reaches plugin installs and the `.mcpb` bundle as-is, ships in the npm package and the Docker image, and reaches MCP clients when the server opts in with `createApp({ skills: 'skills' })`. `lint:packaging` validates the tree.
|
|
220
|
+
|
|
221
|
+
**Agent skill directory:** Copy `framework-skills/` into the directory your agent discovers (Claude Code: `.claude/skills/`, others: equivalent). Skills then load as context without referencing `framework-skills/` paths. After framework updates, run the `maintenance` skill — Phase B re-syncs the agent directory.
|
|
213
222
|
|
|
214
223
|
Available skills:
|
|
215
224
|
|
|
@@ -221,6 +230,7 @@ Available skills:
|
|
|
221
230
|
| `add-app-tool` | Scaffold an MCP App tool + paired UI resource |
|
|
222
231
|
| `add-resource` | Scaffold a new resource definition |
|
|
223
232
|
| `add-prompt` | Scaffold a new prompt definition |
|
|
233
|
+
| `add-skill` | Author a skill the server publishes in root `skills/` for the agents that use it — when one earns its place, structure, validation, delivery |
|
|
224
234
|
| `add-service` | Scaffold a new service integration |
|
|
225
235
|
| `add-test` | Scaffold test file for a tool, resource, or service |
|
|
226
236
|
| `field-test` | Exercise tools/resources/prompts with real inputs, verify behavior, report issues |
|
|
@@ -268,7 +278,7 @@ When you complete a skill's checklist, check the boxes and add a completion time
|
|
|
268
278
|
| `bun run audit:fix` | `bun audit fix` — upgrade vulnerable packages to the lowest safe version within existing ranges (`--dry-run` previews, `--latest` rewrites ranges). First response when `devcheck` flags a transitive advisory; then `bun update <name>`, then `bun dedupe` |
|
|
269
279
|
| `bun run audit:refresh` | Delete `bun.lock` and reinstall. Last resort after `audit:fix`, `bun update <name>`, and `bun dedupe` — re-resolves every ranged dep (the framework pin included) and rewrites the lockfile as `lockfileVersion: 2` |
|
|
270
280
|
| `bun run lint:mcp` | Run the MCP definition linter standalone (rule catalog: `api-linter` skill) |
|
|
271
|
-
| `bun run lint:packaging` | Packaging surface checks — `server.json`/`manifest.json` env-var parity (run by devcheck) |
|
|
281
|
+
| `bun run lint:packaging` | Packaging surface checks — `server.json`/`manifest.json` env-var parity, `.mcpbignore` coverage, plugin manifests, the published `skills/` tree (run by devcheck) |
|
|
272
282
|
| `bun run list-skills` | Print the skill registry |
|
|
273
283
|
| `bun run tree` | Generate directory structure doc |
|
|
274
284
|
| `bun run format` | Auto-fix formatting (safe fixes only) |
|
|
@@ -286,7 +296,7 @@ When you complete a skill's checklist, check the boxes and add a completion time
|
|
|
286
296
|
|
|
287
297
|
## Bundling
|
|
288
298
|
|
|
289
|
-
`npm run bundle` produces a `.mcpb` extension bundle for one-click install in Claude Desktop. The pack step is followed by `scripts/clean-mcpb.ts`, which prunes dev dependencies (`mcpb clean`) and strips
|
|
299
|
+
`npm run bundle` produces a `.mcpb` extension bundle for one-click install in Claude Desktop. `mcpb pack` reads `.mcpbignore`, not `.gitignore`, so every root path the bundle must not ship — source, tests, docs, caches, logs, agent docs, plugin manifests, gitignored local files — needs a root-anchored line there (`/docs/`, never `docs/`, which also strips `node_modules/*/docs/`); `lint:packaging` names each missing or unanchored line. Root `skills/` ships on purpose. The pack step is followed by `scripts/clean-mcpb.ts`, which prunes dev dependencies (`mcpb clean`) and strips four classes of `node_modules/**` content that root-anchored `.mcpbignore` patterns cannot reach: dependency-shipped agent docs (`framework-skills/`, `skills/`, `.claude/`, `.agents/`, `AGENTS.md`, and `CLAUDE.md` at a package root, and `SKILL.md` anywhere — a deeper `skills/`, such as the MCP SDK's `dist/ext/skills/`, is runtime code and stays); platform-specific native bindings, which would otherwise lock the bundle to the platform it was packed on; node-gyp build output beside a `binding.gyp` (`config.gypi`, Makefiles, `obj.target/`, `.deps/`, object files and debug symbols), which records the packing machine's paths — compiled `*.node` addons stay; and build-only package files — the framework's `changelog/`, `scripts/`, `templates/`, and config bases (`biome.json`, `vitest.config.base.mjs`, `config/tsconfig.base.json`), and `better-sqlite3`'s `deps/` and `src/` C sources. A server using DataCanvas therefore ships a portable bundle without the DuckDB native — `@duckdb/node-api` is an optional peer loaded lazily, so canvas tools report an actionable install hint and every other tool works normally. MCPB is stdio-only — HTTP and Cloudflare Workers deployments are unaffected. Consumers who don't need it can delete `manifest.json` and `.mcpbignore`; `lint:packaging` skips cleanly.
|
|
290
300
|
|
|
291
301
|
**Adding an env var requires both files:** `server.json` (registry discovery, `environmentVariables[]`) and `manifest.json` (bundle install UX, `mcp_config.env` + `user_config`). `lint:packaging` (run by `devcheck`) verifies the env var names match, that every `user_config` option is wired into `mcp_config.env` as `"X": "${user_config.X}"` (the host substitutes nothing else — `"${X}"` reaches the server as that literal string), and that an optional string option carries `"default": ""`.
|
|
292
302
|
|
|
@@ -353,7 +363,10 @@ import { getMyService } from '@/services/my-domain/my-service.js';
|
|
|
353
363
|
- [ ] If wrapping external API: tests include at least one sparse payload case with omitted upstream fields
|
|
354
364
|
- [ ] Registered in `createApp()` arrays (directly or via barrel exports)
|
|
355
365
|
- [ ] Tests use `createMockContext()` from `@cyanheads/mcp-ts-core/testing`
|
|
366
|
+
- [ ] `plugin.json` + `mcp.json` (Agent Plugins 1.0.0 — read by Codex, Cursor, GitHub Copilot, VS Code, Kiro) populated — `plugin.json` `name` = the unscoped repo name (lowercase `a-z`, `0-9`, `-`, `.` only); `version`, `description`, `author`, `homepage`, `repository`, `license`, `keywords` from `package.json`; no other top-level field, `extensions` included. `mcp.json` holds one `"type": "stdio"` entry keyed by the unscoped name, `npx -y <full package name>`, and the same fixed `env` as `.codex-plugin/mcp.json`. Neither file carries a user-supplied variable (no `""`, no `${…}` besides `${PLUGIN_ROOT}`/`${PLUGIN_DATA}`): keys reach Codex through `.codex-plugin/mcp.json` `env_vars`, which works only while `.codex-plugin/plugin.json` keeps `"mcpServers": "./.codex-plugin/mcp.json"`
|
|
356
367
|
- [ ] `.codex-plugin/plugin.json` populated — `name`, `version`, `description`, `repository`, `license` from `package.json`; `interface.displayName` = the unscoped repo name (never the npm scope — `lint:packaging` enforces this); `interface.shortDescription` from `package.json` description
|
|
357
368
|
- [ ] `.codex-plugin/mcp.json` updated — server name key is the unscoped repo name; every user-supplied variable (API key, contact email, instance URL) is listed in `env_vars` so Codex forwards it from the user's environment. Never write `"KEY": ""` into `env` — an empty value replaces the user's exported key and is read as unset
|
|
358
369
|
- [ ] `.claude-plugin/plugin.json` populated — `name`, `version`, `description`, `author`, `repository`, `license`, `keywords` from `package.json`; inline `mcpServers` entry keyed by the unscoped repo name. Every user-supplied variable is declared under `userConfig` (`type`, `title`, `description`; `sensitive: true` for keys and tokens; `required: true` or `default: ""`) and referenced from `env` as `"KEY": "${user_config.<option>}"` — mirror the `user_config` block in `manifest.json`. Never write `"KEY": ""` into `env`
|
|
370
|
+
- [ ] Any new root dev path has a root-anchored line in `.mcpbignore`; `bun run bundle` and `lint:packaging` pass
|
|
371
|
+
- [ ] If the server publishes a skill in root `skills/`: `lint:packaging` passes, and `field-test` verified every gate and identifier claim in it against live tool behavior
|
|
359
372
|
- [ ] `npm run devcheck` passes
|
package/CLAUDE.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
# Developer Protocol
|
|
2
2
|
|
|
3
3
|
**Server:** noaa-spaceweather-mcp-server
|
|
4
|
-
**Version:** 0.
|
|
5
|
-
**Framework:** [@cyanheads/mcp-ts-core](https://www.npmjs.com/package/@cyanheads/mcp-ts-core) `^0.13.
|
|
6
|
-
**Engines:** Bun ≥1.4.
|
|
7
|
-
**MCP SDK:** `@modelcontextprotocol/server` ^2.
|
|
4
|
+
**Version:** 0.5.0
|
|
5
|
+
**Framework:** [@cyanheads/mcp-ts-core](https://www.npmjs.com/package/@cyanheads/mcp-ts-core) `^0.13.22`
|
|
6
|
+
**Engines:** Bun ≥1.4.4, Node ≥24.0.0
|
|
7
|
+
**MCP SDK:** `@modelcontextprotocol/server` ^2.4.0 (protocol revisions 2026-07-28 and 2025-*)
|
|
8
8
|
**Zod:** ^4.6.7
|
|
9
9
|
|
|
10
10
|
> **Read the framework docs first:** `node_modules/@cyanheads/mcp-ts-core/CLAUDE.md` contains the full API reference — builders, Context, error codes, exports, patterns. This file covers server-specific conventions only.
|
|
@@ -50,7 +50,7 @@ Tailor suggestions to what's actually missing or stale — don't recite the full
|
|
|
50
50
|
import { tool, z } from '@cyanheads/mcp-ts-core';
|
|
51
51
|
|
|
52
52
|
export const getConditions = tool('noaa_spaceweather_get_conditions', {
|
|
53
|
-
description: 'Current space-weather snapshot: NOAA R/S/G storm scales (
|
|
53
|
+
description: 'Current space-weather snapshot: NOAA R/S/G storm scales (latest, rolling 24-hour maxima, and 3-day forecast), latest Kp index, and a plain-language status summary.',
|
|
54
54
|
annotations: { readOnlyHint: true, openWorldHint: true },
|
|
55
55
|
input: z.object({}),
|
|
56
56
|
output: z.object({
|
|
@@ -207,9 +207,18 @@ src/
|
|
|
207
207
|
|
|
208
208
|
## Skills
|
|
209
209
|
|
|
210
|
-
|
|
210
|
+
Two skill trees live at the project root, written for different readers:
|
|
211
211
|
|
|
212
|
-
|
|
212
|
+
| Tree | For | Written by |
|
|
213
|
+
|:-----|:----|:-----------|
|
|
214
|
+
| `framework-skills/` | The agent developing this server — framework skills (`metadata.audience: external`) plus any development-time skills of the server's own | `init` and the `maintenance` sync (framework skills); you (your own) |
|
|
215
|
+
| `skills/` | The agents that install the server and call its tools — tool chains, identifier sources, gates | You, deliberately, with the `add-skill` skill. Absent by default; usually none is needed |
|
|
216
|
+
|
|
217
|
+
Development skills are modular instructions. Read them directly when a task matches — e.g., `framework-skills/add-tool/SKILL.md` when adding a tool. `bun run list-skills` prints the full registry. Their directory is deliberately not `skills/`: Claude Code and Codex auto-load a plugin's root `skills/`, so a server that ships `.claude-plugin/` or `.codex-plugin/` would hand them to every agent that installs it.
|
|
218
|
+
|
|
219
|
+
A published skill in root `skills/` reaches plugin installs and the `.mcpb` bundle as-is, ships in the npm package and the Docker image, and reaches MCP clients when the server opts in with `createApp({ skills: 'skills' })`. `lint:packaging` validates the tree.
|
|
220
|
+
|
|
221
|
+
**Agent skill directory:** Copy `framework-skills/` into the directory your agent discovers (Claude Code: `.claude/skills/`, others: equivalent). Skills then load as context without referencing `framework-skills/` paths. After framework updates, run the `maintenance` skill — Phase B re-syncs the agent directory.
|
|
213
222
|
|
|
214
223
|
Available skills:
|
|
215
224
|
|
|
@@ -221,6 +230,7 @@ Available skills:
|
|
|
221
230
|
| `add-app-tool` | Scaffold an MCP App tool + paired UI resource |
|
|
222
231
|
| `add-resource` | Scaffold a new resource definition |
|
|
223
232
|
| `add-prompt` | Scaffold a new prompt definition |
|
|
233
|
+
| `add-skill` | Author a skill the server publishes in root `skills/` for the agents that use it — when one earns its place, structure, validation, delivery |
|
|
224
234
|
| `add-service` | Scaffold a new service integration |
|
|
225
235
|
| `add-test` | Scaffold test file for a tool, resource, or service |
|
|
226
236
|
| `field-test` | Exercise tools/resources/prompts with real inputs, verify behavior, report issues |
|
|
@@ -268,7 +278,7 @@ When you complete a skill's checklist, check the boxes and add a completion time
|
|
|
268
278
|
| `bun run audit:fix` | `bun audit fix` — upgrade vulnerable packages to the lowest safe version within existing ranges (`--dry-run` previews, `--latest` rewrites ranges). First response when `devcheck` flags a transitive advisory; then `bun update <name>`, then `bun dedupe` |
|
|
269
279
|
| `bun run audit:refresh` | Delete `bun.lock` and reinstall. Last resort after `audit:fix`, `bun update <name>`, and `bun dedupe` — re-resolves every ranged dep (the framework pin included) and rewrites the lockfile as `lockfileVersion: 2` |
|
|
270
280
|
| `bun run lint:mcp` | Run the MCP definition linter standalone (rule catalog: `api-linter` skill) |
|
|
271
|
-
| `bun run lint:packaging` | Packaging surface checks — `server.json`/`manifest.json` env-var parity (run by devcheck) |
|
|
281
|
+
| `bun run lint:packaging` | Packaging surface checks — `server.json`/`manifest.json` env-var parity, `.mcpbignore` coverage, plugin manifests, the published `skills/` tree (run by devcheck) |
|
|
272
282
|
| `bun run list-skills` | Print the skill registry |
|
|
273
283
|
| `bun run tree` | Generate directory structure doc |
|
|
274
284
|
| `bun run format` | Auto-fix formatting (safe fixes only) |
|
|
@@ -286,7 +296,7 @@ When you complete a skill's checklist, check the boxes and add a completion time
|
|
|
286
296
|
|
|
287
297
|
## Bundling
|
|
288
298
|
|
|
289
|
-
`npm run bundle` produces a `.mcpb` extension bundle for one-click install in Claude Desktop. The pack step is followed by `scripts/clean-mcpb.ts`, which prunes dev dependencies (`mcpb clean`) and strips
|
|
299
|
+
`npm run bundle` produces a `.mcpb` extension bundle for one-click install in Claude Desktop. `mcpb pack` reads `.mcpbignore`, not `.gitignore`, so every root path the bundle must not ship — source, tests, docs, caches, logs, agent docs, plugin manifests, gitignored local files — needs a root-anchored line there (`/docs/`, never `docs/`, which also strips `node_modules/*/docs/`); `lint:packaging` names each missing or unanchored line. Root `skills/` ships on purpose. The pack step is followed by `scripts/clean-mcpb.ts`, which prunes dev dependencies (`mcpb clean`) and strips four classes of `node_modules/**` content that root-anchored `.mcpbignore` patterns cannot reach: dependency-shipped agent docs (`framework-skills/`, `skills/`, `.claude/`, `.agents/`, `AGENTS.md`, and `CLAUDE.md` at a package root, and `SKILL.md` anywhere — a deeper `skills/`, such as the MCP SDK's `dist/ext/skills/`, is runtime code and stays); platform-specific native bindings, which would otherwise lock the bundle to the platform it was packed on; node-gyp build output beside a `binding.gyp` (`config.gypi`, Makefiles, `obj.target/`, `.deps/`, object files and debug symbols), which records the packing machine's paths — compiled `*.node` addons stay; and build-only package files — the framework's `changelog/`, `scripts/`, `templates/`, and config bases (`biome.json`, `vitest.config.base.mjs`, `config/tsconfig.base.json`), and `better-sqlite3`'s `deps/` and `src/` C sources. A server using DataCanvas therefore ships a portable bundle without the DuckDB native — `@duckdb/node-api` is an optional peer loaded lazily, so canvas tools report an actionable install hint and every other tool works normally. MCPB is stdio-only — HTTP and Cloudflare Workers deployments are unaffected. Consumers who don't need it can delete `manifest.json` and `.mcpbignore`; `lint:packaging` skips cleanly.
|
|
290
300
|
|
|
291
301
|
**Adding an env var requires both files:** `server.json` (registry discovery, `environmentVariables[]`) and `manifest.json` (bundle install UX, `mcp_config.env` + `user_config`). `lint:packaging` (run by `devcheck`) verifies the env var names match, that every `user_config` option is wired into `mcp_config.env` as `"X": "${user_config.X}"` (the host substitutes nothing else — `"${X}"` reaches the server as that literal string), and that an optional string option carries `"default": ""`.
|
|
292
302
|
|
|
@@ -353,7 +363,10 @@ import { getMyService } from '@/services/my-domain/my-service.js';
|
|
|
353
363
|
- [ ] If wrapping external API: tests include at least one sparse payload case with omitted upstream fields
|
|
354
364
|
- [ ] Registered in `createApp()` arrays (directly or via barrel exports)
|
|
355
365
|
- [ ] Tests use `createMockContext()` from `@cyanheads/mcp-ts-core/testing`
|
|
366
|
+
- [ ] `plugin.json` + `mcp.json` (Agent Plugins 1.0.0 — read by Codex, Cursor, GitHub Copilot, VS Code, Kiro) populated — `plugin.json` `name` = the unscoped repo name (lowercase `a-z`, `0-9`, `-`, `.` only); `version`, `description`, `author`, `homepage`, `repository`, `license`, `keywords` from `package.json`; no other top-level field, `extensions` included. `mcp.json` holds one `"type": "stdio"` entry keyed by the unscoped name, `npx -y <full package name>`, and the same fixed `env` as `.codex-plugin/mcp.json`. Neither file carries a user-supplied variable (no `""`, no `${…}` besides `${PLUGIN_ROOT}`/`${PLUGIN_DATA}`): keys reach Codex through `.codex-plugin/mcp.json` `env_vars`, which works only while `.codex-plugin/plugin.json` keeps `"mcpServers": "./.codex-plugin/mcp.json"`
|
|
356
367
|
- [ ] `.codex-plugin/plugin.json` populated — `name`, `version`, `description`, `repository`, `license` from `package.json`; `interface.displayName` = the unscoped repo name (never the npm scope — `lint:packaging` enforces this); `interface.shortDescription` from `package.json` description
|
|
357
368
|
- [ ] `.codex-plugin/mcp.json` updated — server name key is the unscoped repo name; every user-supplied variable (API key, contact email, instance URL) is listed in `env_vars` so Codex forwards it from the user's environment. Never write `"KEY": ""` into `env` — an empty value replaces the user's exported key and is read as unset
|
|
358
369
|
- [ ] `.claude-plugin/plugin.json` populated — `name`, `version`, `description`, `author`, `repository`, `license`, `keywords` from `package.json`; inline `mcpServers` entry keyed by the unscoped repo name. Every user-supplied variable is declared under `userConfig` (`type`, `title`, `description`; `sensitive: true` for keys and tokens; `required: true` or `default: ""`) and referenced from `env` as `"KEY": "${user_config.<option>}"` — mirror the `user_config` block in `manifest.json`. Never write `"KEY": ""` into `env`
|
|
370
|
+
- [ ] Any new root dev path has a root-anchored line in `.mcpbignore`; `bun run bundle` and `lint:packaging` pass
|
|
371
|
+
- [ ] If the server publishes a skill in root `skills/`: `lint:packaging` passes, and `field-test` verified every gate and identifier claim in it against live tool behavior
|
|
359
372
|
- [ ] `npm run devcheck` passes
|
package/Dockerfile
CHANGED
|
@@ -29,6 +29,11 @@ RUN --mount=type=cache,target=/root/.bun/install/cache \
|
|
|
29
29
|
# Copy the rest of the source code
|
|
30
30
|
COPY . .
|
|
31
31
|
|
|
32
|
+
# The skills a server publishes (`createApp({ skills: 'skills' })`) are read at
|
|
33
|
+
# runtime from the application root. Created when the project has none, so the
|
|
34
|
+
# production stage's copy below holds with or without one.
|
|
35
|
+
RUN mkdir -p skills
|
|
36
|
+
|
|
32
37
|
# Build the application
|
|
33
38
|
RUN bun run build
|
|
34
39
|
|
|
@@ -136,6 +141,7 @@ COPY --from=deps /usr/src/app/node_modules ./node_modules
|
|
|
136
141
|
|
|
137
142
|
# Copy the compiled application code from the build stage
|
|
138
143
|
COPY --from=build /usr/src/app/dist ./dist
|
|
144
|
+
COPY --from=build /usr/src/app/skills ./skills
|
|
139
145
|
|
|
140
146
|
# Mirror CLI (MirrorService adopters only — Tier 3, opt-in):
|
|
141
147
|
# Copy your mirror lifecycle scripts and emit a runtime tsconfig so Bun resolves
|
package/README.md
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
|
|
8
8
|
<div align="center">
|
|
9
9
|
|
|
10
|
-
[](./CHANGELOG.md) [](./LICENSE) [](https://github.com/users/cyanheads/packages/container/package/noaa-spaceweather-mcp-server) [](https://modelcontextprotocol.io/) [](https://www.npmjs.com/package/@cyanheads/noaa-spaceweather-mcp-server) [](https://www.typescriptlang.org/) [](https://bun.sh/)
|
|
11
11
|
|
|
12
12
|
</div>
|
|
13
13
|
|
|
@@ -35,7 +35,7 @@ Space weather from NOAA's Space Weather Prediction Center: geomagnetic storms, K
|
|
|
35
35
|
|
|
36
36
|
| Tool | Description |
|
|
37
37
|
|:-----|:------------|
|
|
38
|
-
| `noaa_spaceweather_get_conditions` |
|
|
38
|
+
| `noaa_spaceweather_get_conditions` | Latest R/S/G observations, rolling 24-hour maxima, three-day forecast, latest Kp, and an optional SWPC forecast discussion |
|
|
39
39
|
| `noaa_spaceweather_get_kp_index` | Planetary K-index (0–9) — recent observed 3-hour values with G-scale equivalents and aurora-latitude guidance, plus 3-day forecast |
|
|
40
40
|
| `noaa_spaceweather_get_aurora_forecast` | OVATION model aurora forecast: global probability grid, optional local lookup by coordinates with a daylight-aware go/no-go verdict and a poleward horizon reading |
|
|
41
41
|
| `noaa_spaceweather_get_solar_wind` | Real-time solar wind from the active L1 spacecraft: speed, proton density, temperature, and the critical Bz component with the window's most southward reading — explains why current geomagnetic conditions exist |
|
|
@@ -47,7 +47,7 @@ Space weather from NOAA's Space Weather Prediction Center: geomagnetic storms, K
|
|
|
47
47
|
### `noaa_spaceweather_get_conditions` <sub>tool</sub>
|
|
48
48
|
|
|
49
49
|
- `include_discussion` (bool, default false) is the only input; one call composes the `noaa-scales.json` and `noaa-planetary-k-index.json` feeds, plus the `discussion.txt` product when the discussion is requested
|
|
50
|
-
-
|
|
50
|
+
- `today` holds the latest observed R/S/G levels. `yesterday` holds the rolling 24-hour observed maxima with SWPC’s date stamp, or null when unavailable. An unissued latest level or forecast G has null `scale`, `text`, and `label`. Forecast R/S can carry probabilities. The three-day forecast starts on the current UTC date. The latest Kp comes with its G-scale equivalent and aurora-latitude guidance.
|
|
51
51
|
- With `include_discussion`, the forecaster-written Forecast Discussion split into its topic sections (Solar Activity, Energetic Particle, Solar Wind, Geospace), each with its 24-hour summary and 3-day forecast text
|
|
52
52
|
|
|
53
53
|
---
|
|
@@ -63,7 +63,7 @@ Space weather from NOAA's Space Weather Prediction Center: geomagnetic storms, K
|
|
|
63
63
|
|
|
64
64
|
- `latitude`/`longitude` (WGS84) are optional but required together — one alone fails `invalid_coordinates`. Without them the call returns global metadata only: grid point count, global peak probability, and peak region
|
|
65
65
|
- With coordinates, `localLookup` carries the nearest 1°-grid probability, the geomagnetic latitude, the minimum Kp and G level needed there, the sun's elevation and `darkness` state (`day`, `civil_twilight`, `nautical_twilight`, `dark`) at the forecast time, the strongest reading within 1000 km poleward (`horizonMaxPercent`, `horizonMaxLatitude`, `horizonDistanceKm`), and a go/no-go `verdict` — not visible in daylight, whatever the model probability
|
|
66
|
-
- The OVATION model updates every ~5 minutes and forecasts ~30–
|
|
66
|
+
- The OVATION model updates every ~5 minutes and forecasts ~30–90 minutes ahead (the solar wind's travel time from L1 to Earth)
|
|
67
67
|
|
|
68
68
|
---
|
|
69
69
|
|
|
@@ -85,7 +85,7 @@ Space weather from NOAA's Space Weather Prediction Center: geomagnetic storms, K
|
|
|
85
85
|
|
|
86
86
|
### `noaa_spaceweather_get_alerts` <sub>tool</sub>
|
|
87
87
|
|
|
88
|
-
- `active_only` (default true)
|
|
88
|
+
- `active_only` (default true) returns in-force Warnings, Watches, and Alerts. It drops cancellations and their targets, superseded Watches, older links in explicit Alert continuation chains, Summaries, and expired products. `max_age_hours` (1–720, default 48) bounds the lookback. An active product with a future validity end can survive that cutoff. Set `active_only: false` for the complete history within the window.
|
|
89
89
|
- Each record carries product type, NOAA scale and level (0 means "no scale stated," not zero severity), serial number, parsed validity window, `cancelled`, and full message text. Under `active_only` the response also counts what it excluded, by reason, so an empty result reads as "quiet" or "everything was filtered"
|
|
90
90
|
|
|
91
91
|
---
|
|
@@ -113,137 +113,32 @@ Agent-friendly output:
|
|
|
113
113
|
|
|
114
114
|
## Getting started
|
|
115
115
|
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
A public instance is available at `https://noaa-spaceweather.caseyjhand.com/mcp` — no installation required. It serves Streamable HTTP; each client takes its own config shape.
|
|
119
|
-
|
|
120
|
-
For Claude Code:
|
|
116
|
+
Connect to the hosted instance, no install:
|
|
121
117
|
|
|
122
118
|
```sh
|
|
123
119
|
claude mcp add --transport http noaa-spaceweather-mcp-server https://noaa-spaceweather.caseyjhand.com/mcp
|
|
124
120
|
```
|
|
125
121
|
|
|
126
|
-
|
|
122
|
+
Or run it locally:
|
|
127
123
|
|
|
128
|
-
```
|
|
129
|
-
|
|
130
|
-
"mcpServers": {
|
|
131
|
-
"noaa-spaceweather-mcp-server": {
|
|
132
|
-
"type": "streamableHttp",
|
|
133
|
-
"url": "https://noaa-spaceweather.caseyjhand.com/mcp"
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
}
|
|
124
|
+
```sh
|
|
125
|
+
claude mcp add noaa-spaceweather-mcp-server -- npx -y @cyanheads/noaa-spaceweather-mcp-server
|
|
137
126
|
```
|
|
138
127
|
|
|
139
|
-
For
|
|
128
|
+
For other clients, add this to the MCP config file:
|
|
140
129
|
|
|
141
130
|
```json
|
|
142
131
|
{
|
|
143
132
|
"mcpServers": {
|
|
144
133
|
"noaa-spaceweather-mcp-server": {
|
|
145
|
-
"url": "https://noaa-spaceweather.caseyjhand.com/mcp"
|
|
146
|
-
}
|
|
147
|
-
}
|
|
148
|
-
}
|
|
149
|
-
```
|
|
150
|
-
|
|
151
|
-
Claude Desktop adds remote servers under Settings → Connectors.
|
|
152
|
-
|
|
153
|
-
### Self-Hosted / Local
|
|
154
|
-
|
|
155
|
-
Add the following to your MCP client configuration file.
|
|
156
|
-
|
|
157
|
-
```json
|
|
158
|
-
{
|
|
159
|
-
"mcpServers": {
|
|
160
|
-
"noaa-spaceweather": {
|
|
161
|
-
"type": "stdio",
|
|
162
|
-
"command": "bunx",
|
|
163
|
-
"args": ["@cyanheads/noaa-spaceweather-mcp-server@latest"],
|
|
164
|
-
"env": {
|
|
165
|
-
"MCP_TRANSPORT_TYPE": "stdio",
|
|
166
|
-
"MCP_LOG_LEVEL": "info"
|
|
167
|
-
}
|
|
168
|
-
}
|
|
169
|
-
}
|
|
170
|
-
}
|
|
171
|
-
```
|
|
172
|
-
|
|
173
|
-
Or with npx (no Bun required):
|
|
174
|
-
|
|
175
|
-
```json
|
|
176
|
-
{
|
|
177
|
-
"mcpServers": {
|
|
178
|
-
"noaa-spaceweather": {
|
|
179
|
-
"type": "stdio",
|
|
180
134
|
"command": "npx",
|
|
181
|
-
"args": ["-y", "@cyanheads/noaa-spaceweather-mcp-server
|
|
182
|
-
"env": {
|
|
183
|
-
"MCP_TRANSPORT_TYPE": "stdio",
|
|
184
|
-
"MCP_LOG_LEVEL": "info"
|
|
185
|
-
}
|
|
186
|
-
}
|
|
187
|
-
}
|
|
188
|
-
}
|
|
189
|
-
```
|
|
190
|
-
|
|
191
|
-
Or with Docker:
|
|
192
|
-
|
|
193
|
-
```json
|
|
194
|
-
{
|
|
195
|
-
"mcpServers": {
|
|
196
|
-
"noaa-spaceweather": {
|
|
197
|
-
"type": "stdio",
|
|
198
|
-
"command": "docker",
|
|
199
|
-
"args": [
|
|
200
|
-
"run", "-i", "--rm",
|
|
201
|
-
"-e", "MCP_TRANSPORT_TYPE=stdio",
|
|
202
|
-
"ghcr.io/cyanheads/noaa-spaceweather-mcp-server:latest"
|
|
203
|
-
]
|
|
135
|
+
"args": ["-y", "@cyanheads/noaa-spaceweather-mcp-server"]
|
|
204
136
|
}
|
|
205
137
|
}
|
|
206
138
|
}
|
|
207
139
|
```
|
|
208
140
|
|
|
209
|
-
For
|
|
210
|
-
|
|
211
|
-
```sh
|
|
212
|
-
MCP_TRANSPORT_TYPE=http MCP_HTTP_PORT=3010 bun run start:http
|
|
213
|
-
# Server listens at http://localhost:3010/mcp
|
|
214
|
-
```
|
|
215
|
-
|
|
216
|
-
### Prerequisites
|
|
217
|
-
|
|
218
|
-
- [Bun v1.4.0](https://bun.sh/) or higher (or Node.js v24+).
|
|
219
|
-
- No API keys required — all SWPC feeds are public.
|
|
220
|
-
|
|
221
|
-
### Installation
|
|
222
|
-
|
|
223
|
-
1. **Clone the repository:**
|
|
224
|
-
|
|
225
|
-
```sh
|
|
226
|
-
git clone https://github.com/cyanheads/noaa-spaceweather-mcp-server.git
|
|
227
|
-
```
|
|
228
|
-
|
|
229
|
-
2. **Navigate into the directory:**
|
|
230
|
-
|
|
231
|
-
```sh
|
|
232
|
-
cd noaa-spaceweather-mcp-server
|
|
233
|
-
```
|
|
234
|
-
|
|
235
|
-
3. **Install dependencies:**
|
|
236
|
-
|
|
237
|
-
```sh
|
|
238
|
-
bun install
|
|
239
|
-
```
|
|
240
|
-
|
|
241
|
-
4. **Configure environment:**
|
|
242
|
-
|
|
243
|
-
```sh
|
|
244
|
-
cp .env.example .env
|
|
245
|
-
# edit .env if needed — all defaults work out of the box
|
|
246
|
-
```
|
|
141
|
+
No API key is needed — every SWPC feed is public. For Docker or a source build, see [Running the server](#running-the-server).
|
|
247
142
|
|
|
248
143
|
---
|
|
249
144
|
|
|
@@ -258,7 +153,7 @@ cp .env.example .env
|
|
|
258
153
|
| `MCP_SESSION_MODE` | HTTP session mode. This project explicitly uses `stateless`; `auto` resolves to `stateful`. | `stateless` |
|
|
259
154
|
| `MCP_AUTH_MODE` | Auth mode: `none`, `jwt`, or `oauth`. | `none` |
|
|
260
155
|
| `MCP_LOG_LEVEL` | Log level (RFC 5424). | `info` |
|
|
261
|
-
| `LOGS_DIR` | Directory for log files (Node.js only). | `<
|
|
156
|
+
| `LOGS_DIR` | Directory for log files (Node.js only). Relative paths resolve from the server package. | `<server-package>/logs` |
|
|
262
157
|
| `LOG_TOOL_FAILURE_PAYLOADS` | Log each failed tool call's arguments and result, redacted by key name and capped at `LOG_TOOL_FAILURE_PAYLOAD_MAX_BYTES` (default `16384`). A secret inside a free-form value is not redacted. | `false` |
|
|
263
158
|
| `STORAGE_PROVIDER_TYPE` | Storage backend. | `in-memory` |
|
|
264
159
|
| `OTEL_ENABLED` | Enable [OpenTelemetry instrumentation](https://github.com/cyanheads/mcp-ts-core/tree/main/docs/telemetry). | `false` |
|
|
@@ -271,6 +166,16 @@ No domain-specific API keys are required. See [`.env.example`](./.env.example) f
|
|
|
271
166
|
|
|
272
167
|
### Local development
|
|
273
168
|
|
|
169
|
+
Requires [Bun v1.4.4](https://bun.sh/) or higher (or Node.js v24+).
|
|
170
|
+
|
|
171
|
+
- **Clone and install:**
|
|
172
|
+
|
|
173
|
+
```sh
|
|
174
|
+
git clone https://github.com/cyanheads/noaa-spaceweather-mcp-server.git
|
|
175
|
+
cd noaa-spaceweather-mcp-server && bun install
|
|
176
|
+
cp .env.example .env # all defaults work out of the box
|
|
177
|
+
```
|
|
178
|
+
|
|
274
179
|
- **Build and run:**
|
|
275
180
|
|
|
276
181
|
```sh
|
|
@@ -294,11 +199,10 @@ No domain-specific API keys are required. See [`.env.example`](./.env.example) f
|
|
|
294
199
|
### Docker
|
|
295
200
|
|
|
296
201
|
```sh
|
|
297
|
-
docker
|
|
298
|
-
docker run --rm -p 3010:3010 noaa-spaceweather-mcp-server
|
|
202
|
+
docker run --rm -p 3010:3010 ghcr.io/cyanheads/noaa-spaceweather-mcp-server:latest
|
|
299
203
|
```
|
|
300
204
|
|
|
301
|
-
The
|
|
205
|
+
The image defaults to HTTP transport, stateless session mode, and logs to `/var/log/noaa-spaceweather-mcp-server`. To run it over stdio from an MCP client, use `"command": "docker"` with `"args": ["run", "-i", "--rm", "-e", "MCP_TRANSPORT_TYPE=stdio", "ghcr.io/cyanheads/noaa-spaceweather-mcp-server:latest"]`. To build locally, `docker build -t noaa-spaceweather-mcp-server .`; OpenTelemetry peer dependencies are installed by default — build with `--build-arg OTEL_ENABLED=false` to omit them.
|
|
302
206
|
|
|
303
207
|
---
|
|
304
208
|
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
---
|
|
2
|
+
summary: "Publishes the noaa-spaceweather-guide Agent Skill as an MCP resource, moves to mcp-ts-core 0.13.18, and corrects the alert-feed retention and aurora lead-time descriptions."
|
|
3
|
+
breaking: false
|
|
4
|
+
security: false
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# 0.4.0 — 2026-10-28
|
|
8
|
+
|
|
9
|
+
mcp-ts-core 0.13.17 fixes an HTTP transport leak that retained about 71 KiB per request on 0.13.16; this server's Docker image runs under Bun, where sustained traffic grew memory until restart. 0.13.18 adds serving a root `skills/` tree over MCP and trims build-only files from `.mcpb` bundles.
|
|
10
|
+
|
|
11
|
+
## Added
|
|
12
|
+
|
|
13
|
+
- **`noaa-spaceweather-guide` skill**, served as the MCP resource `skill://noaa-spaceweather-guide/SKILL.md` (Skills extension, `skill://{+path}` template): judgment for turning Kp, storm scales, solar wind, flares, and alerts into answers about aurora visibility, coming storms, radio blackouts, and impacts on HF radio, GPS, satellites, and power grids. The server `instructions` now point to it.
|
|
14
|
+
|
|
15
|
+
## Changed
|
|
16
|
+
|
|
17
|
+
- **`noaa_spaceweather_get_alerts`**: the description and `max_age_hours` now say the SWPC feed holds roughly the last 30 days of products (they claimed it keeps all records).
|
|
18
|
+
- **`noaa_spaceweather_get_aurora_forecast`**: the description gives SWPC's stated 30–90 min forecast lead (was ~30–60 min).
|
|
19
|
+
- **README install section**: hosted and local one-liners plus a stdio config for other clients; Docker and source-build details moved under Running the server.
|
|
20
|
+
- **Packaging**: root Agent Plugins `plugin.json` and `mcp.json`, a root-anchored `.mcpbignore`, and `skills/` in the Docker image and npm package. The `.mcpb` cleaner strips agent-doc trees only at package roots, so the MCP SDK's runtime `dist/ext/skills/` modules stay in the bundle.
|
|
21
|
+
- **Development tooling**: framework skills (new `add-skill`) and scripts resynced, and `bunfig.toml` `minimumReleaseAge` 3 days → 1 day.
|
|
22
|
+
|
|
23
|
+
## Dependencies
|
|
24
|
+
|
|
25
|
+
- `@cyanheads/mcp-ts-core` ^0.13.16 → ^0.13.18
|
|
26
|
+
- `@biomejs/biome` ^2.6.2 → ^2.6.3 (dev)
|
|
27
|
+
- `ignore` ^7.0.13 → ^7.0.14 (dev)
|
|
28
|
+
- `tsc-alias` ^1.9.8 → ^1.9.9 (dev)
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
---
|
|
2
|
+
summary: "Reports unissued NOAA scale levels and resolves continued alerts in the active view."
|
|
3
|
+
breaking: true
|
|
4
|
+
security: false
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# 0.5.0 — 2026-11-21
|
|
8
|
+
|
|
9
|
+
## Changed
|
|
10
|
+
|
|
11
|
+
- **Development and packaging tooling**: sync framework skills and scripts, exclude the Vitest cache from MCPB bundles, and document the JWT audience and issuer settings.
|
|
12
|
+
|
|
13
|
+
## Fixed
|
|
14
|
+
|
|
15
|
+
- **Unissued NOAA scale levels** ([#47](https://github.com/cyanheads/noaa-spaceweather-mcp-server/issues/47)). Breaking output change: clients must accept null for `scale`, `text`, and `label` in `today.G`, `today.R`, `today.S`, and `forecast[].G` when SWPC issues no level. Known values and Kp remain available.
|
|
16
|
+
- **Observed periods** ([#49](https://github.com/cyanheads/noaa-spaceweather-mcp-server/issues/49)). The existing `today` and `yesterday` keys represent latest observations and rolling 24-hour observed maxima. `yesterday.date` carries SWPC’s reported date stamp.
|
|
17
|
+
- **Continued alerts** ([#50](https://github.com/cyanheads/noaa-spaceweather-mcp-server/issues/50)). Active results exclude predecessors uniquely identified by a newer continuation and count them under `exclusions.continued`. History keeps all records in the requested window.
|
|
18
|
+
|
|
19
|
+
## Dependencies
|
|
20
|
+
|
|
21
|
+
- `@cyanheads/mcp-ts-core` ^0.13.18 → ^0.13.22
|
|
22
|
+
- Bun minimum >=1.4.0 → >=1.4.4
|
|
23
|
+
- `@biomejs/biome` ^2.6.3 → ^2.6.8 (dev)
|
|
24
|
+
- `@types/node` ^26.6.5 → ^26.6.6 (dev)
|
|
25
|
+
- `@vitest/coverage-istanbul` ^5.0.5 → ^5.1.1 (dev)
|
|
26
|
+
- `ignore` ^7.0.14 → ^7.0.16 (dev)
|
|
27
|
+
- `tsc-alias` ^1.9.9 → ^1.9.10 (dev)
|
|
28
|
+
- `vitest` ^5.0.5 → ^5.1.1 (dev, uses threads on Bun)
|
package/changelog/template.md
CHANGED
|
@@ -116,14 +116,21 @@ security: false
|
|
|
116
116
|
resolves to whatever real item already owns 42, and timeline previews pull
|
|
117
117
|
in that unrelated item's metadata.
|
|
118
118
|
|
|
119
|
+
Outside reporters: when the issue or PR came from outside the project
|
|
120
|
+
(`git-wrapup` step 5 says how to tell), thank its author in the same
|
|
121
|
+
parenthetical, profile linked by full URL for the same reason:
|
|
122
|
+
|
|
123
|
+
([#38](https://github.com/cyanheads/mcp-ts-core/issues/38), thanks [@octocat](https://github.com/octocat)!)
|
|
124
|
+
|
|
119
125
|
TAG ANNOTATIONS — the annotated tag body renders as the GitHub Release body
|
|
120
126
|
via `gh release create --notes-from-tag`. It is a condensed digest of this
|
|
121
127
|
entry, never a copy, and its format is owned by the `release-and-publish`
|
|
122
128
|
skill (step 4, "Create the annotated tag"): a short subject line without the
|
|
123
129
|
version, flat headline bullets — no Keep-a-Changelog section headers, no
|
|
124
|
-
gates line — at most one deps line, issue backlinks
|
|
125
|
-
last. In release-PR mode the `git-wrapup`
|
|
126
|
-
PR body's `## Changes` and the tag copies
|
|
130
|
+
gates line — at most one deps line, issue backlinks with any outside-reporter
|
|
131
|
+
thanks, and the changelog link last. In release-PR mode the `git-wrapup`
|
|
132
|
+
skill authors those bullets as the PR body's `## Changes` and the tag copies
|
|
133
|
+
them.
|
|
127
134
|
-->
|
|
128
135
|
|
|
129
136
|
## Added
|
package/dist/index.js
CHANGED
|
@@ -13,12 +13,8 @@ await createApp({
|
|
|
13
13
|
tools: allToolDefinitions,
|
|
14
14
|
resources: [],
|
|
15
15
|
prompts: [],
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
'- Use noaa_spaceweather_get_aurora_forecast with coordinates for "can I see the aurora?" queries.\n' +
|
|
19
|
-
'- Use noaa_spaceweather_get_solar_wind for Bz monitoring (southward Bz drives storms).\n' +
|
|
20
|
-
'- Use noaa_spaceweather_get_alerts for active SWPC watches/warnings.\n' +
|
|
21
|
-
'Feeds update frequently (solar wind ~1 min, aurora ~5 min, Kp 3-hour intervals).',
|
|
16
|
+
skills: 'skills',
|
|
17
|
+
instructions: 'NOAA Space Weather Prediction Center data server — all feeds are public and keyless.\n- Start with noaa_spaceweather_get_conditions for a quick status snapshot.\n- Use noaa_spaceweather_get_aurora_forecast with coordinates for "can I see the aurora?" queries.\n- Use noaa_spaceweather_get_solar_wind for Bz monitoring (southward Bz drives storms).\n- Use noaa_spaceweather_get_alerts for active SWPC watches/warnings.\n- The noaa-spaceweather-guide skill (skill://noaa-spaceweather-guide/SKILL.md) carries the gates for aurora timing in local time, geomagnetic latitude, Kp lag, radio-blackout checks, and reading alert products.\nFeeds update frequently (solar wind ~1 min, aurora ~5 min, Kp 3-hour intervals).',
|
|
22
18
|
setup(core) {
|
|
23
19
|
initSpaceWeatherService(core.config, core.storage);
|
|
24
20
|
},
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AACA;;;GAGG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACnD,OAAO,EAAE,kBAAkB,EAAE,MAAM,yCAAyC,CAAC;AAC7E,OAAO,EAAE,uBAAuB,EAAE,MAAM,mDAAmD,CAAC;AAE5F,MAAM,SAAS,CAAC;IACd,IAAI,EAAE,8BAA8B;IACpC,KAAK,EAAE,8BAA8B;IACrC,WAAW,EAAE,WAAW;IACxB,KAAK,EAAE,kBAAkB;IACzB,SAAS,EAAE,EAAE;IACb,OAAO,EAAE,EAAE;IACX,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AACA;;;GAGG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACnD,OAAO,EAAE,kBAAkB,EAAE,MAAM,yCAAyC,CAAC;AAC7E,OAAO,EAAE,uBAAuB,EAAE,MAAM,mDAAmD,CAAC;AAE5F,MAAM,SAAS,CAAC;IACd,IAAI,EAAE,8BAA8B;IACpC,KAAK,EAAE,8BAA8B;IACrC,WAAW,EAAE,WAAW;IACxB,KAAK,EAAE,kBAAkB;IACzB,SAAS,EAAE,EAAE;IACb,OAAO,EAAE,EAAE;IACX,MAAM,EAAE,QAAQ;IAChB,YAAY,EACV,ysBAAysB;IAC3sB,KAAK,CAAC,IAAI;QACR,uBAAuB,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC;IACrD,CAAC;CACF,CAAC,CAAC"}
|
|
@@ -55,6 +55,7 @@ export declare const getAlerts: import("@cyanheads/mcp-ts-core").ToolDefinition<
|
|
|
55
55
|
cancellationRecord: z.ZodNumber;
|
|
56
56
|
cancelledBySerial: z.ZodNumber;
|
|
57
57
|
superseded: z.ZodNumber;
|
|
58
|
+
continued: z.ZodNumber;
|
|
58
59
|
validityElapsed: z.ZodNumber;
|
|
59
60
|
}, z.core.$strip>>;
|
|
60
61
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-alerts.tool.d.ts","sourceRoot":"","sources":["../../../../src/mcp-server/tools/definitions/get-alerts.tool.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAQ,CAAC,EAAE,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;
|
|
1
|
+
{"version":3,"file":"get-alerts.tool.d.ts","sourceRoot":"","sources":["../../../../src/mcp-server/tools/definitions/get-alerts.tool.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAQ,CAAC,EAAE,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAqPjE,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAiOpB,CAAC"}
|