@boomstream/mcp 0.2.2 → 0.2.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/CHANGELOG.md +9 -0
- package/dist/core/server.js +3 -1
- package/dist/core/server.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,15 @@ The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and
|
|
|
6
6
|
|
|
7
7
|
## [Unreleased]
|
|
8
8
|
|
|
9
|
+
## [0.2.3] - 2026-06-01
|
|
10
|
+
|
|
11
|
+
### Fixed
|
|
12
|
+
|
|
13
|
+
- **`serverInfo.version` now reflects the actual package version.** Previously
|
|
14
|
+
hardcoded to `"1.0.0"`; now read from `package.json` at startup so the MCP
|
|
15
|
+
`initialize` handshake (visible in Claude Desktop's «about this server» panel
|
|
16
|
+
and MCP inspector) always matches the published npm version.
|
|
17
|
+
|
|
9
18
|
## [0.2.2] - 2026-06-01
|
|
10
19
|
|
|
11
20
|
### Fixed
|
package/dist/core/server.js
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
|
+
import { readFileSync } from 'node:fs';
|
|
1
2
|
import { Server } from '@modelcontextprotocol/sdk/server/index.js';
|
|
2
3
|
import { ListToolsRequestSchema, CallToolRequestSchema } from '@modelcontextprotocol/sdk/types.js';
|
|
3
4
|
import { loadSchemas } from './schema.js';
|
|
4
5
|
import { handleToolCall } from '../tools/registry.js';
|
|
5
6
|
import { defaultAuth } from './auth.js';
|
|
7
|
+
const { version } = JSON.parse(readFileSync(new URL('../../package.json', import.meta.url), 'utf-8'));
|
|
6
8
|
export function createServer(auth = defaultAuth) {
|
|
7
|
-
const server = new Server({ name: 'boomstream-mcp', version
|
|
9
|
+
const server = new Server({ name: 'boomstream-mcp', version }, { capabilities: { tools: {} } });
|
|
8
10
|
server.setRequestHandler(ListToolsRequestSchema, async () => {
|
|
9
11
|
const schemas = loadSchemas();
|
|
10
12
|
return {
|
package/dist/core/server.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"server.js","sourceRoot":"","sources":["../../src/core/server.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,2CAA2C,CAAC;AACnE,OAAO,EAAE,sBAAsB,EAAE,qBAAqB,EAAE,MAAM,oCAAoC,CAAC;AACnG,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AACtD,OAAO,EAAE,WAAW,EAAoB,MAAM,WAAW,CAAC;AAE1D,MAAM,UAAU,YAAY,CAAC,OAAoB,WAAW;IAC1D,MAAM,MAAM,GAAG,IAAI,MAAM,CACvB,EAAE,IAAI,EAAE,gBAAgB,EAAE,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"server.js","sourceRoot":"","sources":["../../src/core/server.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,2CAA2C,CAAC;AACnE,OAAO,EAAE,sBAAsB,EAAE,qBAAqB,EAAE,MAAM,oCAAoC,CAAC;AACnG,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AACtD,OAAO,EAAE,WAAW,EAAoB,MAAM,WAAW,CAAC;AAE1D,MAAM,EAAE,OAAO,EAAE,GAAG,IAAI,CAAC,KAAK,CAAC,YAAY,CAAC,IAAI,GAAG,CAAC,oBAAoB,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,OAAO,CAAC,CAEnG,CAAC;AAEF,MAAM,UAAU,YAAY,CAAC,OAAoB,WAAW;IAC1D,MAAM,MAAM,GAAG,IAAI,MAAM,CACvB,EAAE,IAAI,EAAE,gBAAgB,EAAE,OAAO,EAAE,EACnC,EAAE,YAAY,E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