bharatstock-mcp 0.2.1 → 0.2.2

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 CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  All notable changes to `bharatstock-mcp` are documented here (newest first).
4
4
 
5
+ ## 0.2.2 (2026-11-15)
6
+ - Security maintenance: updated `@modelcontextprotocol/sdk` to ^1.32.2 (fixes the OAuth credential-binding, cross-session task access and request-size/DoS advisories), `zod` to ^4.6.7, and refreshed transitive dependencies (hono, body-parser, qs, fast-uri, ip-address). `npm audit` reports 0 vulnerabilities. No change to the tool surface or behaviour.
5
7
  ## 0.2.1 (2026-11-06)
6
8
  - Maintenance release. No change to the tool surface or behaviour.
7
9
 
package/README.md CHANGED
@@ -127,6 +127,7 @@ This server is a thin layer over the official [`bharatstock`](https://www.npmjs.
127
127
  MIT
128
128
 
129
129
  ## Changelog
130
+ - **0.2.2** (2026-11-15): security maintenance: updated `@modelcontextprotocol/sdk` to ^1.32.2 (fixes the OAuth credential-binding, cross-session task access and request-size/DoS advisories), `zod` to ^4.6.7, and refreshed transitive dependencies (hono, body-parser, qs, fast-uri, ip-address). `npm audit` reports 0 vulnerabilities. No change to the tool surface or behaviour.
130
131
 
131
132
  - **0.2.1** (2026-11-06): maintenance release. No change to the tool surface or behaviour.
132
133
  - **0.1.5** (2026-11-03): broadened the registry/npm listing metadata — a keyword-rich `description` and expanded `keywords` (NSE, BSE, NIFTY, SENSEX, mutual funds, shareholding, FII/DII, corporate actions, screener, Indian equities) so the server is easier to find. No tool/schema change.
@@ -43,7 +43,7 @@ import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
43
43
  import { BharatStock } from "bharatstock";
44
44
  import { z } from "zod";
45
45
  var SERVER_NAME = "bharatstock";
46
- var SERVER_VERSION = "0.2.1";
46
+ var SERVER_VERSION = "0.2.2";
47
47
  async function run(fn) {
48
48
  try {
49
49
  const data = await fn();
package/dist/http.js CHANGED
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  buildServer,
4
4
  checkAuthorization
5
- } from "./chunk-AQVPTO4U.js";
5
+ } from "./chunk-PWPXQCNU.js";
6
6
 
7
7
  // src/http.ts
8
8
  import { randomUUID } from "crypto";
package/dist/index.d.ts CHANGED
@@ -14,7 +14,7 @@ import { BharatStockOptions } from 'bharatstock';
14
14
  */
15
15
 
16
16
  declare const SERVER_NAME = "bharatstock";
17
- declare const SERVER_VERSION = "0.2.1";
17
+ declare const SERVER_VERSION = "0.2.2";
18
18
  /**
19
19
  * Construct the MCP server and register all tools against a BharatStock
20
20
  * client. Exposed separately from the stdio wiring so tests can build a
package/dist/index.js CHANGED
@@ -4,7 +4,7 @@ import {
4
4
  SERVER_VERSION,
5
5
  buildServer,
6
6
  checkAuthorization
7
- } from "./chunk-AQVPTO4U.js";
7
+ } from "./chunk-PWPXQCNU.js";
8
8
 
9
9
  // src/index.ts
10
10
  import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bharatstock-mcp",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "mcpName": "com.bharatstockapi/bharatstock-mcp",
5
5
  "description": "Official Model Context Protocol (MCP) server for the BharatStock API - Indian stock market data (NSE/BSE) as AI-agent tools: real-time quotes, EOD prices, financial statements, ratios, shareholding patterns (FII/DII/promoter), corporate actions, NIFTY/SENSEX indices, mutual fund holdings and NAVs, FII/DII activity, bulk/block deals, insider trades, and a fundamentals stock screener for Indian equities.",
6
6
  "license": "MIT",
@@ -54,13 +54,13 @@
54
54
  "typecheck": "tsc --noEmit"
55
55
  },
56
56
  "dependencies": {
57
- "@modelcontextprotocol/sdk": "^1.12.0",
57
+ "@modelcontextprotocol/sdk": "^1.32.2",
58
58
  "bharatstock": "^0.1.12",
59
- "zod": "^3.23.8"
59
+ "zod": "^4.6.7"
60
60
  },
61
61
  "devDependencies": {
62
62
  "@types/node": "^22.0.0",
63
- "tsup": "^8.0.2",
63
+ "tsup": "^9.0.0",
64
64
  "typescript": "^5.5.4",
65
65
  "vitest": "^5.0.0"
66
66
  }