@cyanheads/pubchem-mcp-server 0.1.4 → 0.1.6

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/Dockerfile CHANGED
@@ -52,6 +52,23 @@ COPY package.json bun.lock ./
52
52
  RUN bun install --production --frozen-lockfile --ignore-scripts \
53
53
  && rm -rf node_modules/@oven node_modules/@rollup
54
54
 
55
+ # Conditionally install OpenTelemetry optional peer dependencies (Tier 3).
56
+ # These are not bundled by default to keep the base image lean. Enable at build time
57
+ # with: docker build --build-arg OTEL_ENABLED=true
58
+ ARG OTEL_ENABLED=true
59
+ RUN if [ "$OTEL_ENABLED" = "true" ]; then \
60
+ bun add @hono/otel \
61
+ @opentelemetry/instrumentation-http \
62
+ @opentelemetry/exporter-metrics-otlp-http \
63
+ @opentelemetry/exporter-trace-otlp-http \
64
+ @opentelemetry/instrumentation-pino \
65
+ @opentelemetry/resources \
66
+ @opentelemetry/sdk-metrics \
67
+ @opentelemetry/sdk-node \
68
+ @opentelemetry/sdk-trace-node \
69
+ @opentelemetry/semantic-conventions; \
70
+ fi
71
+
55
72
  # Copy the compiled application code from the build stage
56
73
  COPY --from=build /usr/src/app/dist ./dist
57
74
 
package/README.md CHANGED
@@ -6,7 +6,7 @@
6
6
 
7
7
  <div align="center">
8
8
 
9
- [![Version](https://img.shields.io/badge/Version-0.1.4-blue.svg?style=flat-square)](./CHANGELOG.md) [![Framework](https://img.shields.io/badge/Built%20on-@cyanheads/mcp--ts--core-259?style=flat-square)](https://www.npmjs.com/package/@cyanheads/mcp-ts-core) [![MCP SDK](https://img.shields.io/badge/MCP%20SDK-^1.27.1-green.svg?style=flat-square)](https://modelcontextprotocol.io/) [![License](https://img.shields.io/badge/License-Apache%202.0-orange.svg?style=flat-square)](./LICENSE) [![TypeScript](https://img.shields.io/badge/TypeScript-^5.9.3-3178C6.svg?style=flat-square)](https://www.typescriptlang.org/) [![Bun](https://img.shields.io/badge/Bun-^1.2.0-f472b6.svg?style=flat-square)](https://bun.sh/)
9
+ [![Version](https://img.shields.io/badge/Version-0.1.6-blue.svg?style=flat-square)](./CHANGELOG.md) [![Framework](https://img.shields.io/badge/Built%20on-@cyanheads/mcp--ts--core-259?style=flat-square)](https://www.npmjs.com/package/@cyanheads/mcp-ts-core) [![MCP SDK](https://img.shields.io/badge/MCP%20SDK-^1.27.1-green.svg?style=flat-square)](https://modelcontextprotocol.io/) [![License](https://img.shields.io/badge/License-Apache%202.0-orange.svg?style=flat-square)](./LICENSE) [![TypeScript](https://img.shields.io/badge/TypeScript-^5.9.3-3178C6.svg?style=flat-square)](https://www.typescriptlang.org/) [![Bun](https://img.shields.io/badge/Bun-^1.2.0-f472b6.svg?style=flat-square)](https://bun.sh/)
10
10
 
11
11
  </div>
12
12
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cyanheads/pubchem-mcp-server",
3
- "version": "0.1.4",
3
+ "version": "0.1.6",
4
4
  "description": "MCP server for the PubChem chemical database. Search compounds, fetch properties, safety data, bioactivity, cross-references, and entity summaries. STDIO & Streamable HTTP.",
5
5
  "mcpName": "io.github.cyanheads/pubchem-mcp-server",
6
6
  "type": "module",
@@ -62,7 +62,7 @@
62
62
  "access": "public"
63
63
  },
64
64
  "dependencies": {
65
- "@cyanheads/mcp-ts-core": "^0.1.21",
65
+ "@cyanheads/mcp-ts-core": "^0.1.24",
66
66
  "pino-pretty": "^13.1.3"
67
67
  },
68
68
  "devDependencies": {
package/server.json CHANGED
@@ -6,14 +6,14 @@
6
6
  "url": "https://github.com/cyanheads/pubchem-mcp-server",
7
7
  "source": "github"
8
8
  },
9
- "version": "0.1.4",
9
+ "version": "0.1.6",
10
10
  "packages": [
11
11
  {
12
12
  "registryType": "npm",
13
13
  "registryBaseUrl": "https://registry.npmjs.org",
14
14
  "identifier": "@cyanheads/pubchem-mcp-server",
15
15
  "runtimeHint": "bun",
16
- "version": "0.1.4",
16
+ "version": "0.1.6",
17
17
  "packageArguments": [
18
18
  { "type": "positional", "value": "run" },
19
19
  { "type": "positional", "value": "start:stdio" }
@@ -36,7 +36,7 @@
36
36
  "registryBaseUrl": "https://registry.npmjs.org",
37
37
  "identifier": "@cyanheads/pubchem-mcp-server",
38
38
  "runtimeHint": "bun",
39
- "version": "0.1.4",
39
+ "version": "0.1.6",
40
40
  "packageArguments": [
41
41
  { "type": "positional", "value": "run" },
42
42
  { "type": "positional", "value": "start:http" }