canli-validation-mcp 0.8.1 → 0.8.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.
Files changed (2) hide show
  1. package/package.json +16 -1
  2. package/src/server.mjs +13 -1
package/package.json CHANGED
@@ -1,7 +1,22 @@
1
1
  {
2
2
  "name": "canli-validation-mcp",
3
- "version": "0.8.1",
3
+ "version": "0.8.2",
4
4
  "description": "Check whether a backtest is real: deflated Sharpe, CSCV probability of backtest overfitting, minimum track record and backtest length, haircut Sharpe and luck-equivalent trials, as an MCP server. Local mode, hosted endpoint, signed receipts.",
5
+ "keywords": [
6
+ "mcp",
7
+ "mcp-server",
8
+ "model-context-protocol",
9
+ "backtesting",
10
+ "backtest",
11
+ "deflated-sharpe-ratio",
12
+ "probability-of-backtest-overfitting",
13
+ "cscv",
14
+ "sharpe-ratio",
15
+ "overfitting",
16
+ "quantitative-finance",
17
+ "quant",
18
+ "trading"
19
+ ],
5
20
  "private": false,
6
21
  "type": "module",
7
22
  "license": "MIT",
package/src/server.mjs CHANGED
@@ -19,6 +19,18 @@ import { breadthInput, trackRecordInput, auditBacktestInput, verifyReceiptToolSh
19
19
  export const DEFAULT_BASE = "https://canlicapital.com";
20
20
  export const SERVER_NAME = "canlicapital-validation-mcp";
21
21
  export const SERVER_VERSION = JSON.parse(readFileSync(new URL("../package.json", import.meta.url), "utf8")).version;
22
+ // How the server introduces itself in initialize: a readable title, the page that documents it
23
+ // and its icon, so clients and directories that read serverInfo show more than a package name.
24
+ export const SERVER_INFO = Object.freeze({
25
+ name: SERVER_NAME,
26
+ version: SERVER_VERSION,
27
+ title: "Canli Validation",
28
+ websiteUrl: "https://canlicapital.com/developers#ai-assistant",
29
+ icons: [
30
+ { src: "https://canlicapital.com/icon-512.png", mimeType: "image/png", sizes: ["512x512"] },
31
+ { src: "https://canlicapital.com/favicon.svg", mimeType: "image/svg+xml", sizes: ["any"] },
32
+ ],
33
+ });
22
34
  export const REQUEST_TIMEOUT_MS = 30_000;
23
35
 
24
36
  // One place a value fails a zod schema turns into a short, readable message instead of a raw
@@ -693,7 +705,7 @@ export function registerAll(server, session) {
693
705
  }
694
706
 
695
707
  export function createServer(session = createSession()) {
696
- const server = new McpServer({ name: SERVER_NAME, version: SERVER_VERSION });
708
+ const server = new McpServer(SERVER_INFO);
697
709
  registerAll(server, session);
698
710
  return server;
699
711
  }