@cyanheads/browser-compat-mcp-server 0.1.4 → 0.1.5
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 +6 -6
- package/CLAUDE.md +6 -6
- package/Dockerfile +28 -8
- package/README.md +22 -29
- package/changelog/0.1.x/0.1.5.md +27 -0
- package/package.json +6 -5
- package/server.json +3 -3
package/AGENTS.md
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
# Developer Protocol
|
|
2
2
|
|
|
3
3
|
**Server:** browser-compat-mcp-server
|
|
4
|
-
**Version:** 0.1.
|
|
5
|
-
**Framework:** [@cyanheads/mcp-ts-core](https://www.npmjs.com/package/@cyanheads/mcp-ts-core) `^0.13.
|
|
4
|
+
**Version:** 0.1.5
|
|
5
|
+
**Framework:** [@cyanheads/mcp-ts-core](https://www.npmjs.com/package/@cyanheads/mcp-ts-core) `^0.13.9`
|
|
6
6
|
**Engines:** Bun ≥1.4.0, Node ≥24.0.0
|
|
7
|
-
**MCP SDK:** `@modelcontextprotocol/server` ^2.
|
|
8
|
-
**Zod:** ^4.
|
|
7
|
+
**MCP SDK:** `@modelcontextprotocol/server` ^2.1.0
|
|
8
|
+
**Zod:** ^4.6.5
|
|
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.
|
|
11
11
|
|
|
@@ -74,7 +74,7 @@ export const searchItems = tool('search_items', {
|
|
|
74
74
|
annotations: { readOnlyHint: true },
|
|
75
75
|
input: z.object({
|
|
76
76
|
query: z.string().describe('Search terms'),
|
|
77
|
-
limit: z.number().default(10).describe('Max results'),
|
|
77
|
+
limit: z.number().int().min(1).max(100).default(10).describe('Max results (1–100)'),
|
|
78
78
|
}),
|
|
79
79
|
output: z.object({
|
|
80
80
|
items: z.array(z.object({
|
|
@@ -206,7 +206,7 @@ Handlers receive a unified `ctx` object. Key properties:
|
|
|
206
206
|
| Property | Description |
|
|
207
207
|
|:---------|:------------|
|
|
208
208
|
| `ctx.log` | Request-scoped logger — `.debug()`, `.info()`, `.notice()`, `.warning()`, `.error()`. Auto-correlates requestId, traceId, tenantId. Dual-sink: Pino **and** `notifications/message` to the client, so treat it as client-visible. |
|
|
209
|
-
| `ctx.state` | Tenant-scoped KV — `.get(key)`, `.set(key, value, { ttl? })`, `.delete(key)`, `.getMany(keys)`, `.list(prefix, { cursor, limit })`. Accepts any serializable value. |
|
|
209
|
+
| `ctx.state` | Tenant-scoped KV — `.get(key)`, `.set(key, value, { ttl? })`, `.delete(key)`, `.getMany(keys)`, `.list(prefix, { cursor, limit })`. Accepts any JSON-serializable value; reads return its JSON form (a `Date` comes back as an ISO string). |
|
|
210
210
|
| `ctx.requestInput` | Suspend and ask the caller for more input — `return ctx.requestInput({ inputRequests: { key: inputRequired.elicit({ message, requestedSchema }) } })`. Never returns; the handler is re-entered with the answers. Always present. |
|
|
211
211
|
| `ctx.inputs` | Reader over a retried request's responses — `.accepted(key, schema)`, `.view(key)`, `.state()`, `.dropped`. Empty on the first round. |
|
|
212
212
|
| `ctx.enrich` | Success-path agent context (empty-result notices, query echo, pagination totals) — `ctx.enrich(...)` or `.notice()` / `.total()` / `.echo()` / `.truncated()`. Reaches `structuredContent` and `content[]`; lands only when the definition declares an `enrichment` block (no-op otherwise). |
|
package/CLAUDE.md
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
# Developer Protocol
|
|
2
2
|
|
|
3
3
|
**Server:** browser-compat-mcp-server
|
|
4
|
-
**Version:** 0.1.
|
|
5
|
-
**Framework:** [@cyanheads/mcp-ts-core](https://www.npmjs.com/package/@cyanheads/mcp-ts-core) `^0.13.
|
|
4
|
+
**Version:** 0.1.5
|
|
5
|
+
**Framework:** [@cyanheads/mcp-ts-core](https://www.npmjs.com/package/@cyanheads/mcp-ts-core) `^0.13.9`
|
|
6
6
|
**Engines:** Bun ≥1.4.0, Node ≥24.0.0
|
|
7
|
-
**MCP SDK:** `@modelcontextprotocol/server` ^2.
|
|
8
|
-
**Zod:** ^4.
|
|
7
|
+
**MCP SDK:** `@modelcontextprotocol/server` ^2.1.0
|
|
8
|
+
**Zod:** ^4.6.5
|
|
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.
|
|
11
11
|
|
|
@@ -74,7 +74,7 @@ export const searchItems = tool('search_items', {
|
|
|
74
74
|
annotations: { readOnlyHint: true },
|
|
75
75
|
input: z.object({
|
|
76
76
|
query: z.string().describe('Search terms'),
|
|
77
|
-
limit: z.number().default(10).describe('Max results'),
|
|
77
|
+
limit: z.number().int().min(1).max(100).default(10).describe('Max results (1–100)'),
|
|
78
78
|
}),
|
|
79
79
|
output: z.object({
|
|
80
80
|
items: z.array(z.object({
|
|
@@ -206,7 +206,7 @@ Handlers receive a unified `ctx` object. Key properties:
|
|
|
206
206
|
| Property | Description |
|
|
207
207
|
|:---------|:------------|
|
|
208
208
|
| `ctx.log` | Request-scoped logger — `.debug()`, `.info()`, `.notice()`, `.warning()`, `.error()`. Auto-correlates requestId, traceId, tenantId. Dual-sink: Pino **and** `notifications/message` to the client, so treat it as client-visible. |
|
|
209
|
-
| `ctx.state` | Tenant-scoped KV — `.get(key)`, `.set(key, value, { ttl? })`, `.delete(key)`, `.getMany(keys)`, `.list(prefix, { cursor, limit })`. Accepts any serializable value. |
|
|
209
|
+
| `ctx.state` | Tenant-scoped KV — `.get(key)`, `.set(key, value, { ttl? })`, `.delete(key)`, `.getMany(keys)`, `.list(prefix, { cursor, limit })`. Accepts any JSON-serializable value; reads return its JSON form (a `Date` comes back as an ISO string). |
|
|
210
210
|
| `ctx.requestInput` | Suspend and ask the caller for more input — `return ctx.requestInput({ inputRequests: { key: inputRequired.elicit({ message, requestedSchema }) } })`. Never returns; the handler is re-entered with the answers. Always present. |
|
|
211
211
|
| `ctx.inputs` | Reader over a retried request's responses — `.accepted(key, schema)`, `.view(key)`, `.state()`, `.dropped`. Empty on the first round. |
|
|
212
212
|
| `ctx.enrich` | Success-path agent context (empty-result notices, query echo, pagination totals) — `ctx.enrich(...)` or `.notice()` / `.total()` / `.echo()` / `.truncated()`. Reaches `structuredContent` and `content[]`; lands only when the definition declares an `enrichment` block (no-op otherwise). |
|
package/Dockerfile
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
# output. A stage that compiles a native addon needs the target-arch toolchain
|
|
15
15
|
# and cannot cross-compile this way — drop the flag there.
|
|
16
16
|
# ==============================================================================
|
|
17
|
-
FROM --platform=$BUILDPLATFORM oven/bun:1.4.
|
|
17
|
+
FROM --platform=$BUILDPLATFORM oven/bun:1.4.2 AS build
|
|
18
18
|
|
|
19
19
|
WORKDIR /usr/src/app
|
|
20
20
|
|
|
@@ -40,7 +40,7 @@ RUN bun run build
|
|
|
40
40
|
# application. It uses a slim base image and only includes production
|
|
41
41
|
# dependencies and build artifacts.
|
|
42
42
|
# ==============================================================================
|
|
43
|
-
FROM oven/bun:1.4.
|
|
43
|
+
FROM oven/bun:1.4.2-slim AS production
|
|
44
44
|
|
|
45
45
|
WORKDIR /usr/src/app
|
|
46
46
|
|
|
@@ -56,8 +56,15 @@ LABEL org.opencontainers.image.licenses="Apache-2.0"
|
|
|
56
56
|
LABEL org.opencontainers.image.version="${APP_VERSION}"
|
|
57
57
|
LABEL org.opencontainers.image.source="https://github.com/cyanheads/browser-compat-mcp-server"
|
|
58
58
|
|
|
59
|
-
# Copy dependency manifests
|
|
60
|
-
|
|
59
|
+
# Copy dependency manifests. `bunfig.toml` rides along so every install below
|
|
60
|
+
# passes its release-age gate and security scanner, as a local install does.
|
|
61
|
+
COPY package.json bun.lock bunfig.toml ./
|
|
62
|
+
|
|
63
|
+
# The scanner bunfig.toml names is a devDependency, and Bun installs a missing
|
|
64
|
+
# scanner through the same production-filtered install, which omits it and
|
|
65
|
+
# aborts. Seed it from the build stage's full install instead. Remove this line
|
|
66
|
+
# together with the scanner if bunfig.toml stops naming one.
|
|
67
|
+
COPY --from=build /usr/src/app/node_modules/@socketsecurity/bun-security-scanner ./node_modules/@socketsecurity/bun-security-scanner
|
|
61
68
|
|
|
62
69
|
# Install only production dependencies, ignoring any lifecycle scripts (like 'prepare')
|
|
63
70
|
# that are not needed in the final production image.
|
|
@@ -72,19 +79,33 @@ RUN --mount=type=cache,target=/root/.bun/install/cache \
|
|
|
72
79
|
# Conditionally install OpenTelemetry optional peer dependencies (Tier 3).
|
|
73
80
|
# Installed by default. Omit them for a leaner image at build time
|
|
74
81
|
# with: docker build --build-arg OTEL_ENABLED=false
|
|
82
|
+
# Each package is requested at the range the installed framework declares in
|
|
83
|
+
# `peerDependencies`, so the resolution stays inside the framework's tested
|
|
84
|
+
# peer range; a name with no declared range fails the build.
|
|
75
85
|
ARG OTEL_ENABLED=true
|
|
76
86
|
RUN --mount=type=cache,target=/root/.bun/install/cache \
|
|
77
87
|
if [ "$OTEL_ENABLED" = "true" ]; then \
|
|
78
|
-
bun
|
|
79
|
-
|
|
88
|
+
specs=$(bun -e ' \
|
|
89
|
+
const { peerDependencies: peers } = await Bun.file("node_modules/@cyanheads/mcp-ts-core/package.json").json(); \
|
|
90
|
+
const names = process.argv.slice(1); \
|
|
91
|
+
const missing = names.filter((name) => !peers?.[name]); \
|
|
92
|
+
if (missing.length > 0) throw new Error(`no peerDependencies range for ${missing.join(", ")}`); \
|
|
93
|
+
console.log(names.map((name) => `${name}@${peers[name]}`).join(" ")); \
|
|
94
|
+
' \
|
|
95
|
+
@hono/otel \
|
|
96
|
+
@opentelemetry/api-logs \
|
|
97
|
+
@opentelemetry/exporter-logs-otlp-http \
|
|
80
98
|
@opentelemetry/exporter-metrics-otlp-http \
|
|
81
99
|
@opentelemetry/exporter-trace-otlp-http \
|
|
100
|
+
@opentelemetry/instrumentation-http \
|
|
82
101
|
@opentelemetry/instrumentation-pino \
|
|
83
102
|
@opentelemetry/resources \
|
|
103
|
+
@opentelemetry/sdk-logs \
|
|
84
104
|
@opentelemetry/sdk-metrics \
|
|
85
105
|
@opentelemetry/sdk-node \
|
|
86
106
|
@opentelemetry/sdk-trace-node \
|
|
87
|
-
@opentelemetry/semantic-conventions
|
|
107
|
+
@opentelemetry/semantic-conventions) \
|
|
108
|
+
&& bun add --omit=dev --omit=peer --ignore-scripts $specs; \
|
|
88
109
|
fi
|
|
89
110
|
|
|
90
111
|
# Copy the compiled application code from the build stage
|
|
@@ -128,7 +149,6 @@ ENV MCP_TRANSPORT_TYPE="http"
|
|
|
128
149
|
ENV MCP_SESSION_MODE="stateless"
|
|
129
150
|
ENV MCP_LOG_LEVEL="info"
|
|
130
151
|
ENV LOGS_DIR="/var/log/browser-compat-mcp-server"
|
|
131
|
-
ENV MCP_FORCE_CONSOLE_LOGGING="true"
|
|
132
152
|
|
|
133
153
|
# Expose the port the server listens on
|
|
134
154
|
EXPOSE ${MCP_HTTP_PORT}
|
package/README.md
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
|
|
8
8
|
<div align="center">
|
|
9
9
|
|
|
10
|
-
[](https://www.npmjs.com/package/@cyanheads/browser-compat-mcp-server) [](./LICENSE) [](https://www.npmjs.com/package/@cyanheads/browser-compat-mcp-server) [](./LICENSE) [](https://modelcontextprotocol.io/) [](https://bun.sh/)
|
|
11
11
|
|
|
12
12
|
</div>
|
|
13
13
|
|
|
@@ -47,53 +47,40 @@ Web platform compatibility for frontend work: per-browser support from MDN's `@m
|
|
|
47
47
|
|
|
48
48
|
### `browsercompat_list_reference` <sub>tool</sub>
|
|
49
49
|
|
|
50
|
-
-
|
|
51
|
-
- Entries carry `id`, `label`, and `detail`, plus `count`, `reported`, `bcd_browser`, `usage_percent`, `maps_from`, or `spec_url` where
|
|
52
|
-
- `groups` and `snapshots` ids are the values `browsercompat_search_features` takes as `group` and `snapshot`
|
|
53
|
-
- `browserslist_agents` gives each agent's browser-compat-data counterpart or `null` — the `null` ones can never be evaluated and always land in `unchecked_targets`
|
|
50
|
+
- Required `topic`: `bcd_namespaces` (12), `bcd_browsers` (17), `browserslist_agents` (19), `baseline_states` (4), `groups` (104), or `snapshots` (11). Group and snapshot ids feed the search filters.
|
|
51
|
+
- Entries carry `id`, `label`, and `detail`, plus `count`, `reported`, `bcd_browser`, `usage_percent`, `maps_from`, or `spec_url` where applicable. An agent's `bcd_browser: null` means support comparisons cannot evaluate it and report it in `unchecked_targets`.
|
|
54
52
|
|
|
55
53
|
---
|
|
56
54
|
|
|
57
55
|
### `browsercompat_get_feature` <sub>tool</sub>
|
|
58
56
|
|
|
59
|
-
- One `feature
|
|
60
|
-
- `
|
|
61
|
-
- `include_runtimes: true` adds `bun`, `deno`, `nodejs`, and `oculus`
|
|
62
|
-
- `outcome` is `found` | `no_compat_data` | `miss` — a miss is `found: false` with `guidance`, never an error
|
|
63
|
-
- A web-features id spanning more than one BCD key omits the per-key fields (`support`, `status`, `limiting_browser`, `mdn_url`, `spec_urls`) and returns `compat_keys` to re-call with
|
|
64
|
-
- Typed failure: `invalid_feature_input` (whitespace-only `feature`)
|
|
57
|
+
- One `feature`, 1–200 characters: a BCD key (`css.selectors.has`) or web-features id (`has`). `resolve: true` accepts a name or notation only when the best exact matches name one feature: one key resolves directly, several keys of one feature return `compat_keys`, and two features are a miss. Off by default.
|
|
58
|
+
- `outcome` is `found`, `no_compat_data`, or `miss`; `resolved_as` records the match. A miss returns `found: false` with `guidance`. A multi-key id omits `support`, `status`, `limiting_browser`, `mdn_url`, and `spec_urls`; use `compat_keys` for a specific call. Whitespace-only input returns `invalid_feature_input`.
|
|
59
|
+
- `include_runtimes: true` adds `bun`, `deno`, `nodejs`, and `oculus` support to the 13 desktop and mobile browser rows.
|
|
65
60
|
|
|
66
61
|
---
|
|
67
62
|
|
|
68
63
|
### `browsercompat_check_baseline` <sub>tool</sub>
|
|
69
64
|
|
|
70
|
-
- Up to 20 BCD keys or web-features ids
|
|
71
|
-
-
|
|
72
|
-
- `
|
|
73
|
-
- `all_widely_available` answers the Baseline question alone: every entry resolved at `widely`, one miss forces it false, and deprecation does not enter it
|
|
74
|
-
- Typed failure: `invalid_feature_input` (a whitespace-only entry)
|
|
65
|
+
- Up to 20 BCD keys or web-features ids, 1–200 characters each, with one result per entry in input order. A whitespace-only entry returns `invalid_feature_input`.
|
|
66
|
+
- Results carry Baseline state and dates, `limiting_browser`, `deprecated`, `experimental`, `discouraged`, and `usage_percent_excluded` with its `usage_source`. Usage is absent, never zero, when no caniuse id exists.
|
|
67
|
+
- `all_widely_available` requires every entry to resolve at `widely`; one miss makes it false, and it does not assess deprecation.
|
|
75
68
|
|
|
76
69
|
---
|
|
77
70
|
|
|
78
71
|
### `browsercompat_search_features` <sub>tool</sub>
|
|
79
72
|
|
|
80
|
-
- `query
|
|
81
|
-
-
|
|
82
|
-
- `limit` 1–50, default 10
|
|
83
|
-
- Every hit carries `matched_on`, the field that matched, so the six-tier ranking is inspectable rather than a score; `path_suffix` marks a key whose trailing segments match the dotted or property-value notation typed
|
|
84
|
-
- `support_summary` is one line across the seven Baseline core browsers, with `—` for unsupported and `?` for unknown
|
|
85
|
-
- Zero hits are a successful empty result plus a notice naming which filter to drop; `totalCount` counts every match, and an `offset` past it returns an empty page with a notice
|
|
86
|
-
- Typed failures: `invalid_query` (a query that normalizes to zero tokens), `unknown_group`, `unknown_snapshot`
|
|
73
|
+
- `query`, 1–100 characters, accepts names, keywords, or notation such as `Array.prototype.at`, `display: grid`, or `<dialog>`. Combine `namespace` (12 BCD namespaces), `baseline` (`widely`, `newly`, `limited`, `not_mapped`), `group` (including nested groups), and `snapshot` (such as `ecmascript-2023`).
|
|
74
|
+
- `matched_on` explains the six-tier ranking; `path_suffix` marks trailing key segments matching the supplied notation. `support_summary` covers the seven Baseline core browsers (`—` unsupported, `?` unknown). Typed failures: `invalid_query` (zero searchable tokens), `unknown_group`, `unknown_snapshot`.
|
|
75
|
+
- Page with `limit` (1–50, default 10) and `offset` (default 0); `totalCount` counts all matches and `nextOffset` appears while more remain. Zero hits succeed with a notice naming which filter to drop; an offset past the matches returns an empty page with a notice.
|
|
87
76
|
|
|
88
77
|
---
|
|
89
78
|
|
|
90
79
|
### `browsercompat_compare_support` <sub>tool</sub>
|
|
91
80
|
|
|
92
|
-
- Up to 20 features against a required `targets` browserslist query
|
|
93
|
-
- `verdict`
|
|
94
|
-
- `unchecked_targets`
|
|
95
|
-
- `target_coverage_percent` and `unchecked_coverage_percent` give the caniuse-derived traffic share of the evaluated and unevaluated tokens
|
|
96
|
-
- Typed failures: `invalid_target_query`, `no_targets_resolved`, `invalid_feature_input`
|
|
81
|
+
- Up to 20 features against a required `targets` browserslist query, such as `defaults` or `> 0.5%, last 2 versions`; local browserslist config is never used. Typed failures: `invalid_target_query`, `no_targets_resolved`, `invalid_feature_input`.
|
|
82
|
+
- Each `verdict` is `clears`, `fails`, `inconclusive`, `miss`, or `ambiguous`. `failing_targets` names targets with `partial`, `prefixed`, `flagged`, `removed`, `unsupported`, or `preview_only` support.
|
|
83
|
+
- `unchecked_targets` carries `no_bcd_browser`, `unknown_version`, or `no_bcd_data`; `all_clear` requires it to be empty. The response also includes caniuse-derived `target_coverage_percent` and `unchecked_coverage_percent`.
|
|
97
84
|
|
|
98
85
|
---
|
|
99
86
|
|
|
@@ -246,12 +233,18 @@ cp .env.example .env
|
|
|
246
233
|
|
|
247
234
|
## Configuration
|
|
248
235
|
|
|
249
|
-
There are no server-specific environment variables: no API keys, no base URLs, and deliberately no browserslist configuration variable — the target query is always a tool input rather than ambient state.
|
|
236
|
+
There are no server-specific environment variables: no API keys, no base URLs, and deliberately no browserslist configuration variable — the target query is always a tool input rather than ambient state. Framework transport, logging, and telemetry settings remain configurable.
|
|
250
237
|
|
|
251
238
|
| Variable | Description | Default |
|
|
252
239
|
|:---------|:------------|:--------|
|
|
253
240
|
| `MCP_TRANSPORT_TYPE` | Transport: `stdio` or `http`. | `stdio` |
|
|
254
241
|
| `MCP_HTTP_PORT` | Port for the HTTP server. | `3010` |
|
|
242
|
+
| `MCP_SESSION_MODE` | HTTP session mode, explicitly set by `.env.example` and Docker. When unset, the framework's `auto` fallback resolves to `stateful`. | `stateless` |
|
|
243
|
+
| `OTEL_ENABLED` | Enable OpenTelemetry; local installs need the framework's optional telemetry peers. Docker includes them by default. | `false` |
|
|
244
|
+
| `OTEL_EXPORTER_OTLP_ENDPOINT` | Base URL for traces (`/v1/traces`) and metrics (`/v1/metrics`); signal-specific endpoints override it. | Unset |
|
|
245
|
+
| `OTEL_EXPORTER_OTLP_LOGS_ENDPOINT` | Explicit OTLP log endpoint, used as-is; the base endpoint never enables log export. | Unset |
|
|
246
|
+
| `LOG_TOOL_FAILURE_PAYLOADS` | Log failed-call arguments and results. Redaction matches key names only; free-form values can retain secrets. | `false` |
|
|
247
|
+
| `LOG_TOOL_FAILURE_PAYLOAD_MAX_BYTES` | UTF-8 byte cap per logged payload. | `16384` |
|
|
255
248
|
|
|
256
249
|
See [`.env.example`](./.env.example) for the full list of optional framework overrides.
|
|
257
250
|
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
---
|
|
2
|
+
summary: "Framework 0.13.9 adoption with clearer argument recovery and guarded Docker telemetry installs."
|
|
3
|
+
breaking: false
|
|
4
|
+
security: false
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# 0.1.5 — 2026-09-26
|
|
8
|
+
|
|
9
|
+
## Changed
|
|
10
|
+
|
|
11
|
+
- **Argument recovery** inherits mcp-ts-core 0.13.9's safe-integer-to-string repair, field-path hints, and rejected-call key-rewrite details.
|
|
12
|
+
- **HTTP transport** inherits MCP SDK 2.1.0 through framework 0.13.9: modern requests missing `MCP-Protocol-Version` return 400/-32020, batches over 100 messages return 400/-32600, and admitted-origin CORS preflights allow modern request headers.
|
|
13
|
+
- **Telemetry** adopts framework 0.13.7's OTLP base endpoint handling and 0.13.8's opt-in `OTEL_EXPORTER_OTLP_LOGS_ENDPOINT` and `LOG_TOOL_FAILURE_PAYLOADS`, documented with their endpoint and redaction constraints.
|
|
14
|
+
- **Framework errors** omit stack traces and cause chains since 0.13.7 and request context since 0.13.8; output-contract failures use -32603, while domain validation remains -32007.
|
|
15
|
+
- **Docker** installs telemetry peers within the framework's declared ranges under the existing release-age and Socket scanner guards, including OTLP log peers; removes the unused `MCP_FORCE_CONSOLE_LOGGING` setting.
|
|
16
|
+
- **Packaging and tooling** exclude built bundles from npm and scratch logs/design notes from MCPB, sync framework skills and maintenance scripts, and clarify tool contracts and existing session defaults in the documentation.
|
|
17
|
+
|
|
18
|
+
## Fixed
|
|
19
|
+
|
|
20
|
+
- **Clean-checkout smoke tests** check for resource and prompt definitions without requiring empty directories that Git does not preserve ([#20](https://github.com/cyanheads/browser-compat-mcp-server/issues/20)).
|
|
21
|
+
|
|
22
|
+
## Dependencies
|
|
23
|
+
|
|
24
|
+
- `@cyanheads/mcp-ts-core` ^0.13.6 → ^0.13.9.
|
|
25
|
+
- `@socketsecurity/bun-security-scanner` ^1.1.2 → ^1.1.3.
|
|
26
|
+
- `ignore` ^7.0.9 → ^7.0.10.
|
|
27
|
+
- **Bun** 1.4.0 → 1.4.2 in the package-manager pin, Docker base images, and README badge.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cyanheads/browser-compat-mcp-server",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.5",
|
|
4
4
|
"mcpName": "io.github.cyanheads/browser-compat-mcp-server",
|
|
5
5
|
"description": "Browser compatibility and Baseline status for any web feature — offline, from MDN's browser-compat-data, web-features, and caniuse. STDIO or Streamable HTTP.",
|
|
6
6
|
"type": "module",
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
"files": [
|
|
13
13
|
"changelog/",
|
|
14
14
|
"dist/",
|
|
15
|
+
"!dist/*.mcpb",
|
|
15
16
|
"README.md",
|
|
16
17
|
"LICENSE",
|
|
17
18
|
"THIRD_PARTY_NOTICES.md",
|
|
@@ -71,7 +72,7 @@
|
|
|
71
72
|
"url": "git+https://github.com/cyanheads/browser-compat-mcp-server.git"
|
|
72
73
|
},
|
|
73
74
|
"license": "Apache-2.0",
|
|
74
|
-
"packageManager": "bun@1.4.
|
|
75
|
+
"packageManager": "bun@1.4.2",
|
|
75
76
|
"engines": {
|
|
76
77
|
"bun": ">=1.4.0",
|
|
77
78
|
"node": ">=24.0.0"
|
|
@@ -80,7 +81,7 @@
|
|
|
80
81
|
"access": "public"
|
|
81
82
|
},
|
|
82
83
|
"dependencies": {
|
|
83
|
-
"@cyanheads/mcp-ts-core": "^0.13.
|
|
84
|
+
"@cyanheads/mcp-ts-core": "^0.13.9",
|
|
84
85
|
"@mdn/browser-compat-data": "^8.1.2",
|
|
85
86
|
"browserslist": "^4.29.0",
|
|
86
87
|
"caniuse-lite": "^1.0.30001810",
|
|
@@ -90,12 +91,12 @@
|
|
|
90
91
|
},
|
|
91
92
|
"devDependencies": {
|
|
92
93
|
"@biomejs/biome": "2.5.14",
|
|
93
|
-
"@socketsecurity/bun-security-scanner": "^1.1.
|
|
94
|
+
"@socketsecurity/bun-security-scanner": "^1.1.3",
|
|
94
95
|
"@types/node": "26.6.2",
|
|
95
96
|
"@vitest/coverage-istanbul": "5.0.1",
|
|
96
97
|
"depcheck": "^1.4.7",
|
|
97
98
|
"fast-check": "^4.10.2",
|
|
98
|
-
"ignore": "^7.0.
|
|
99
|
+
"ignore": "^7.0.10",
|
|
99
100
|
"tsc-alias": "^1.9.5",
|
|
100
101
|
"typescript": "^7.0.2",
|
|
101
102
|
"vitest": "^5.0.1"
|
package/server.json
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"url": "https://github.com/cyanheads/browser-compat-mcp-server.git",
|
|
7
7
|
"source": "github"
|
|
8
8
|
},
|
|
9
|
-
"version": "0.1.
|
|
9
|
+
"version": "0.1.5",
|
|
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/browser-compat-mcp-server",
|
|
21
21
|
"runtimeHint": "node",
|
|
22
|
-
"version": "0.1.
|
|
22
|
+
"version": "0.1.5",
|
|
23
23
|
"packageArguments": [
|
|
24
24
|
{
|
|
25
25
|
"type": "positional",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"registryBaseUrl": "https://registry.npmjs.org",
|
|
49
49
|
"identifier": "@cyanheads/browser-compat-mcp-server",
|
|
50
50
|
"runtimeHint": "node",
|
|
51
|
-
"version": "0.1.
|
|
51
|
+
"version": "0.1.5",
|
|
52
52
|
"packageArguments": [
|
|
53
53
|
{
|
|
54
54
|
"type": "positional",
|