@cyanheads/hn-mcp-server 0.4.2 → 0.4.3
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 +2 -1
- package/Dockerfile +2 -2
- package/README.md +2 -2
- package/package.json +11 -10
- package/server.json +3 -3
package/CLAUDE.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# Agent Protocol
|
|
2
2
|
|
|
3
3
|
**Server:** hn-mcp-server
|
|
4
|
-
**Version:** 0.4.
|
|
4
|
+
**Version:** 0.4.3
|
|
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.
|
|
@@ -219,6 +219,7 @@ Available skills:
|
|
|
219
219
|
| `api-services` | LLM, Speech, Graph services |
|
|
220
220
|
| `api-testing` | createMockContext, test patterns |
|
|
221
221
|
| `api-utils` | Formatting, parsing, security, pagination, scheduling |
|
|
222
|
+
| `api-telemetry` | OTel catalog: spans, metrics, completion logs, env config, cardinality rules |
|
|
222
223
|
| `api-workers` | Cloudflare Workers runtime |
|
|
223
224
|
| `api-canvas` | DataCanvas: register tabular data, run SQL, export, plus the `spillover()` helper for big result sets — Tier 3 opt-in |
|
|
224
225
|
| `api-linter` | MCP definition lint rules reference — look here when devcheck reports a lint diagnostic |
|
package/Dockerfile
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
# This stage installs all dependencies (including dev), builds the TypeScript
|
|
5
5
|
# source code into JavaScript, and prepares the production assets.
|
|
6
6
|
# ==============================================================================
|
|
7
|
-
FROM oven/bun:1 AS build
|
|
7
|
+
FROM oven/bun:1.3 AS build
|
|
8
8
|
|
|
9
9
|
WORKDIR /usr/src/app
|
|
10
10
|
|
|
@@ -28,7 +28,7 @@ RUN bun run build
|
|
|
28
28
|
# application. It uses a slim base image and only includes production
|
|
29
29
|
# dependencies and build artifacts.
|
|
30
30
|
# ==============================================================================
|
|
31
|
-
FROM oven/bun:1-slim AS production
|
|
31
|
+
FROM oven/bun:1.3-slim AS production
|
|
32
32
|
|
|
33
33
|
WORKDIR /usr/src/app
|
|
34
34
|
|
package/README.md
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
|
|
8
8
|
<div align="center">
|
|
9
9
|
|
|
10
|
-
[](https://www.npmjs.com/package/@cyanheads/hn-mcp-server) [](https://www.npmjs.com/package/@cyanheads/hn-mcp-server) [](./CHANGELOG.md) [](https://www.npmjs.com/package/@cyanheads/mcp-ts-core) [](https://modelcontextprotocol.io/) [](./LICENSE) [](https://www.typescriptlang.org/) [](https://bun.sh/)
|
|
11
11
|
|
|
12
12
|
</div>
|
|
13
13
|
|
|
@@ -134,7 +134,7 @@ Or with npx:
|
|
|
134
134
|
|
|
135
135
|
### Prerequisites
|
|
136
136
|
|
|
137
|
-
- [Bun v1.
|
|
137
|
+
- [Bun v1.3.0](https://bun.sh/) or higher (or Node.js >= 24)
|
|
138
138
|
|
|
139
139
|
### Installation
|
|
140
140
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cyanheads/hn-mcp-server",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.3",
|
|
4
4
|
"description": "MCP server for Hacker News — feeds, threads, users, and search via Firebase and Algolia APIs",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -19,7 +19,8 @@
|
|
|
19
19
|
"lint:mcp": "bun scripts/lint-mcp.ts",
|
|
20
20
|
"test": "bun --bun vitest run",
|
|
21
21
|
"start:stdio": "MCP_TRANSPORT_TYPE=stdio node dist/index.js",
|
|
22
|
-
"start:http": "MCP_TRANSPORT_TYPE=http node dist/index.js"
|
|
22
|
+
"start:http": "MCP_TRANSPORT_TYPE=http node dist/index.js",
|
|
23
|
+
"publish-mcp": "mcp-publisher login github -token \"$(security find-generic-password -a \"$USER\" -s mcp-publisher-github-pat -w)\" && mcp-publisher publish"
|
|
23
24
|
},
|
|
24
25
|
"mcpName": "io.github.cyanheads/hn-mcp-server",
|
|
25
26
|
"keywords": [
|
|
@@ -52,23 +53,23 @@
|
|
|
52
53
|
}
|
|
53
54
|
],
|
|
54
55
|
"engines": {
|
|
55
|
-
"node": ">=
|
|
56
|
-
"bun": ">=1.
|
|
56
|
+
"node": ">=24.0.0",
|
|
57
|
+
"bun": ">=1.3.0"
|
|
57
58
|
},
|
|
58
|
-
"packageManager": "bun@1.3.
|
|
59
|
+
"packageManager": "bun@1.3.11",
|
|
59
60
|
"publishConfig": {
|
|
60
61
|
"access": "public"
|
|
61
62
|
},
|
|
62
63
|
"dependencies": {
|
|
63
|
-
"@cyanheads/mcp-ts-core": "^0.8.
|
|
64
|
-
"@hono/otel": "^1.1.1",
|
|
65
|
-
"pino-pretty": "^13.1.3"
|
|
64
|
+
"@cyanheads/mcp-ts-core": "^0.8.20"
|
|
66
65
|
},
|
|
67
66
|
"devDependencies": {
|
|
68
|
-
"@biomejs/biome": "^2.4.
|
|
69
|
-
"@
|
|
67
|
+
"@biomejs/biome": "^2.4.15",
|
|
68
|
+
"@hono/otel": "^1.1.2",
|
|
69
|
+
"@types/node": "^25.6.2",
|
|
70
70
|
"depcheck": "^1.4.7",
|
|
71
71
|
"ignore": "^7.0.5",
|
|
72
|
+
"pino-pretty": "^13.1.3",
|
|
72
73
|
"tsc-alias": "^1.8.17",
|
|
73
74
|
"typescript": "^6.0.3",
|
|
74
75
|
"vitest": "^4.1.5"
|
package/server.json
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"url": "https://github.com/cyanheads/hn-mcp-server",
|
|
7
7
|
"source": "github"
|
|
8
8
|
},
|
|
9
|
-
"version": "0.4.
|
|
9
|
+
"version": "0.4.3",
|
|
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/hn-mcp-server",
|
|
21
21
|
"runtimeHint": "bun",
|
|
22
|
-
"version": "0.4.
|
|
22
|
+
"version": "0.4.3",
|
|
23
23
|
"packageArguments": [
|
|
24
24
|
{
|
|
25
25
|
"type": "positional",
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"registryBaseUrl": "https://registry.npmjs.org",
|
|
56
56
|
"identifier": "@cyanheads/hn-mcp-server",
|
|
57
57
|
"runtimeHint": "bun",
|
|
58
|
-
"version": "0.4.
|
|
58
|
+
"version": "0.4.3",
|
|
59
59
|
"packageArguments": [
|
|
60
60
|
{
|
|
61
61
|
"type": "positional",
|