@cyanheads/nws-weather-mcp-server 0.5.10 → 0.5.11
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/CLAUDE.md +27 -1
- package/README.md +2 -2
- package/package.json +5 -2
- package/server.json +3 -3
package/CLAUDE.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# Agent Protocol
|
|
2
2
|
|
|
3
3
|
**Server:** nws-weather-mcp-server
|
|
4
|
-
**Version:** 0.5.
|
|
4
|
+
**Version:** 0.5.11
|
|
5
5
|
**Framework:** [@cyanheads/mcp-ts-core](https://www.npmjs.com/package/@cyanheads/mcp-ts-core)
|
|
6
6
|
|
|
7
7
|
> **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.
|
|
@@ -304,12 +304,38 @@ When you complete a skill's checklist, check the boxes and add a completion time
|
|
|
304
304
|
| `bun run tree` | Generate directory structure doc |
|
|
305
305
|
| `bun run format` | Auto-fix formatting |
|
|
306
306
|
| `bun run lint:mcp` | Validate MCP tool/resource definitions |
|
|
307
|
+
| `bun run changelog:build` | Regenerate `CHANGELOG.md` from `changelog/*.md` source files |
|
|
308
|
+
| `bun run changelog:check` | Verify `CHANGELOG.md` is in sync with `changelog/*.md` (run by devcheck) |
|
|
307
309
|
| `bun run test` | Run tests |
|
|
308
310
|
| `bun run start:stdio` | Production mode (stdio) |
|
|
309
311
|
| `bun run start:http` | Production mode (HTTP) |
|
|
310
312
|
|
|
311
313
|
---
|
|
312
314
|
|
|
315
|
+
## Bundling
|
|
316
|
+
|
|
317
|
+
`bun run bundle` produces a `.mcpb` extension bundle for one-click install in Claude Desktop. MCPB is stdio-only — HTTP deployments are unaffected.
|
|
318
|
+
|
|
319
|
+
**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.
|
|
320
|
+
|
|
321
|
+
**README install badges.** Drop these into the project README to give users one-click install paths. Fill in `<OWNER>` / `<REPO>` / `<PACKAGE_NAME>` and encode the per-server config:
|
|
322
|
+
|
|
323
|
+
| Client | Mechanism |
|
|
324
|
+
|:-------|:----------|
|
|
325
|
+
| Claude Desktop | Browser downloads the `.mcpb` from the latest GitHub Release; OS file handler routes it to Claude Desktop. |
|
|
326
|
+
| Cursor | Official `https://cursor.com/en/install-mcp` endpoint with base64 JSON config. |
|
|
327
|
+
| VS Code / Insiders | Official `vscode:mcp/install?...` deep link, wrapped in `https://vscode.dev/redirect?url=` so GitHub-rendered markdown doesn't strip the non-HTTP scheme. |
|
|
328
|
+
|
|
329
|
+
```bash
|
|
330
|
+
# Cursor: base64-encoded JSON
|
|
331
|
+
echo -n '{"command":"npx -y <PACKAGE_NAME>"}' | base64
|
|
332
|
+
|
|
333
|
+
# VS Code: URL-encoded JSON
|
|
334
|
+
node -p 'encodeURIComponent(JSON.stringify({name:"<PACKAGE_NAME>",command:"npx",args:["-y","<PACKAGE_NAME>"]}))'
|
|
335
|
+
```
|
|
336
|
+
|
|
337
|
+
---
|
|
338
|
+
|
|
313
339
|
## Publishing
|
|
314
340
|
|
|
315
341
|
After a version bump and final commit, publish to both npm and GHCR:
|
package/README.md
CHANGED
|
@@ -7,13 +7,13 @@
|
|
|
7
7
|
|
|
8
8
|
<div align="center">
|
|
9
9
|
|
|
10
|
-
[](./CHANGELOG.md) [](./LICENSE) [](https://github.com/users/cyanheads/packages/container/package/nws-weather-mcp-server) [](https://modelcontextprotocol.io/) [](https://www.npmjs.com/package/@cyanheads/nws-weather-mcp-server) [](https://www.typescriptlang.org/) [](https://bun.sh/)
|
|
11
11
|
|
|
12
12
|
</div>
|
|
13
13
|
|
|
14
14
|
<div align="center">
|
|
15
15
|
|
|
16
|
-
[](https://cursor.com/en/install-mcp?name=nws-weather-mcp-server&config=eyJjb21tYW5kIjoibnB4IC15IEBjeWFuaGVhZHMvbndzLXdlYXRoZXItbWNwLXNlcnZlciJ9) [](https://vscode.dev/redirect?url=vscode:mcp/install?%7B%22name%22%3A%22nws-weather-mcp-server%22%2C%22command%22%3A%22npx%22%2C%22args%22%3A%5B%22-y%22%2C%22%40cyanheads/nws-weather-mcp-server%22%5D%7D)
|
|
16
|
+
[](https://github.com/cyanheads/nws-weather-mcp-server/releases/latest/download/nws-weather-mcp-server.mcpb) [](https://cursor.com/en/install-mcp?name=nws-weather-mcp-server&config=eyJjb21tYW5kIjoibnB4IC15IEBjeWFuaGVhZHMvbndzLXdlYXRoZXItbWNwLXNlcnZlciJ9) [](https://vscode.dev/redirect?url=vscode:mcp/install?%7B%22name%22%3A%22nws-weather-mcp-server%22%2C%22command%22%3A%22npx%22%2C%22args%22%3A%5B%22-y%22%2C%22%40cyanheads/nws-weather-mcp-server%22%5D%7D)
|
|
17
17
|
|
|
18
18
|
[](https://www.npmjs.com/package/@cyanheads/mcp-ts-core)
|
|
19
19
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cyanheads/nws-weather-mcp-server",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.11",
|
|
4
4
|
"description": "Get US weather forecasts, active alerts, and current observations via the National Weather Service API. STDIO or Streamable HTTP.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -18,12 +18,15 @@
|
|
|
18
18
|
"format": "biome check --write --unsafe .",
|
|
19
19
|
"lint:mcp": "bun scripts/lint-mcp.ts",
|
|
20
20
|
"lint:packaging": "bun scripts/lint-packaging.ts",
|
|
21
|
+
"changelog:build": "bun scripts/build-changelog.ts",
|
|
22
|
+
"changelog:check": "bun scripts/build-changelog.ts --check",
|
|
21
23
|
"audit:refresh": "rm -f bun.lock && bun install && bun audit",
|
|
22
24
|
"test": "vitest run",
|
|
23
25
|
"list-skills": "bun scripts/list-skills.ts",
|
|
24
26
|
"start": "node dist/index.js",
|
|
25
27
|
"start:stdio": "MCP_TRANSPORT_TYPE=stdio node dist/index.js",
|
|
26
28
|
"start:http": "MCP_TRANSPORT_TYPE=http node dist/index.js",
|
|
29
|
+
"bundle": "bun run build && npx -y @anthropic-ai/mcpb pack . dist/nws-weather-mcp-server.mcpb",
|
|
27
30
|
"publish-mcp": "mcp-publisher login github -token \"$(security find-generic-password -a \"$USER\" -s mcp-publisher-github-pat -w)\" && mcp-publisher publish"
|
|
28
31
|
},
|
|
29
32
|
"mcpName": "io.github.cyanheads/nws-weather-mcp-server",
|
|
@@ -68,7 +71,7 @@
|
|
|
68
71
|
"access": "public"
|
|
69
72
|
},
|
|
70
73
|
"dependencies": {
|
|
71
|
-
"@cyanheads/mcp-ts-core": "^0.9.
|
|
74
|
+
"@cyanheads/mcp-ts-core": "^0.9.6",
|
|
72
75
|
"@opentelemetry/api": "^1.9.1",
|
|
73
76
|
"pino-pretty": "^13.1.3",
|
|
74
77
|
"zod": "^4.4.3"
|
package/server.json
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"url": "https://github.com/cyanheads/nws-weather-mcp-server",
|
|
7
7
|
"source": "github"
|
|
8
8
|
},
|
|
9
|
-
"version": "0.5.
|
|
9
|
+
"version": "0.5.11",
|
|
10
10
|
"remotes": [
|
|
11
11
|
{
|
|
12
12
|
"type": "streamable-http",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"registryBaseUrl": "https://registry.npmjs.org",
|
|
20
20
|
"identifier": "@cyanheads/nws-weather-mcp-server",
|
|
21
21
|
"runtimeHint": "bun",
|
|
22
|
-
"version": "0.5.
|
|
22
|
+
"version": "0.5.11",
|
|
23
23
|
"packageArguments": [
|
|
24
24
|
{ "type": "positional", "value": "run" },
|
|
25
25
|
{ "type": "positional", "value": "start:stdio" }
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"registryBaseUrl": "https://registry.npmjs.org",
|
|
50
50
|
"identifier": "@cyanheads/nws-weather-mcp-server",
|
|
51
51
|
"runtimeHint": "bun",
|
|
52
|
-
"version": "0.5.
|
|
52
|
+
"version": "0.5.11",
|
|
53
53
|
"packageArguments": [
|
|
54
54
|
{ "type": "positional", "value": "run" },
|
|
55
55
|
{ "type": "positional", "value": "start:http" }
|