bharatstock-mcp 0.1.1 → 0.1.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 +8 -0
- package/README.md +1 -0
- package/dist/{chunk-4X3NFRD5.js → chunk-LW5UFTIW.js} +1 -1
- package/dist/http.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to `bharatstock-mcp` are documented here (newest first).
|
|
4
4
|
|
|
5
|
+
## 0.1.2 (2026-10-05)
|
|
6
|
+
|
|
7
|
+
- Bumped the `bharatstock` JS SDK dependency to ^0.1.11, which made paginated
|
|
8
|
+
responses forward-compatible: every top-level envelope field and every row
|
|
9
|
+
field the API returns now passes through unchanged. As a result the MCP
|
|
10
|
+
tools surface any new/modified API field (e.g. a scheme portfolio's
|
|
11
|
+
`coveragePct`) with no tool or schema change here.
|
|
12
|
+
|
|
5
13
|
## 0.1.1 (2026-09-20)
|
|
6
14
|
|
|
7
15
|
- Added two mutual-fund portfolio tools: `list_mutual_fund_portfolios`
|
package/README.md
CHANGED
|
@@ -128,5 +128,6 @@ MIT
|
|
|
128
128
|
|
|
129
129
|
## Changelog
|
|
130
130
|
|
|
131
|
+
- **0.1.2** (2026-10-05): picks up `bharatstock` JS SDK 0.1.11, whose paginated responses now pass through every API field (new or modified) with no SDK change — so every field the API returns (e.g. a scheme portfolio's `coveragePct`, and anything added later) now flows through to the MCP tool output. No tool/schema change.
|
|
131
132
|
- **0.1.1** (2026-09-20): added two mutual-fund portfolio tools — `list_mutual_fund_portfolios` (discover the schemes we hold monthly portfolio data for, by scheme name) and `get_mutual_fund_portfolio_holdings` (a scheme's equity portfolio for a month, with month-over-month quantity change). These are the inverse of `get_mutual_fund_holdings` and are keyed by the holdings scheme-name string, not the AMFI scheme_code.
|
|
132
133
|
- **0.1.0** (2026-09-22): initial release. Local stdio server (`bharatstock-mcp`) + remote Streamable HTTP server (`bharatstock-mcp-http`, multi-tenant, Bearer/X-API-Key auth). MCP is a Developer/Pro feature, gated via `/v1/mcp/authorize`. Tools for stocks (quote, profile, prices, financials, fundamentals, technicals, shareholding, corporate actions, deals, insider trades, peer compare), discovery (search, movers, price shockers, screener), indices, market-wide (FII/DII, deals, insider), and mutual funds (schemes, scheme, NAV, returns, holdings), plus data status.
|
|
@@ -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.1.
|
|
46
|
+
var SERVER_VERSION = "0.1.2";
|
|
47
47
|
async function run(fn) {
|
|
48
48
|
try {
|
|
49
49
|
const data = await fn();
|
package/dist/http.js
CHANGED
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.1.
|
|
17
|
+
declare const SERVER_VERSION = "0.1.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
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bharatstock-mcp",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "Official Model Context Protocol (MCP) server for the BharatStock API - reliable Indian stock market data (NSE/BSE) as AI-agent tools.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"@modelcontextprotocol/sdk": "^1.12.0",
|
|
38
|
-
"bharatstock": "^0.1.
|
|
38
|
+
"bharatstock": "^0.1.11",
|
|
39
39
|
"zod": "^3.23.8"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|