@general-liquidity/sharpebench-mcp 0.18.3 → 0.19.0
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/README.md +1 -1
- package/dist/server.js +2 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -11,7 +11,7 @@ An **MCP server** that exposes [SharpeBench](https://github.com/general-liquidit
|
|
|
11
11
|
| `self_audit` | Fire known gaming attacks at the scorer (anti-gaming proof) |
|
|
12
12
|
| `audit_briefing` | Audit a shared briefing for input-side salience bias |
|
|
13
13
|
| `score_allocation` | Score a weight-vector trajectory (validity + turnover) |
|
|
14
|
-
| `greeks` |
|
|
14
|
+
| `greeks` | One long European option: price, Greeks and local exposure flags |
|
|
15
15
|
| `canary` | Derive a do-not-train contamination tripwire |
|
|
16
16
|
| `is_my_sharpe_real` | Deflate one return series for its search footprint and render the honesty verdict |
|
|
17
17
|
| `regime_compare` | Compare aligned returns inside caller-supplied regimes |
|
package/dist/server.js
CHANGED
|
@@ -35,7 +35,7 @@ export function createServer() {
|
|
|
35
35
|
server.tool("self_audit", "Fire the known gaming attacks at the scorer and report whether each is demoted (the benchmark's anti-gaming proof). No input.", async () => run(() => sb.selfAudit()));
|
|
36
36
|
server.tool("audit_briefing", "Audit a shared briefing artifact for input-side salience bias: per-asset attention caps, required counterbalancing, no performance-sorted return tables.", { briefing: z.any(), policy: z.any().optional() }, async ({ briefing, policy }) => run(() => sb.auditBriefing(briefing, policy)));
|
|
37
37
|
server.tool("score_allocation", "Score a target-allocation weight-vector trajectory: weight validity + L1 turnover/churn.", { trajectory: z.any(), policy: z.any().optional() }, async ({ trajectory, policy }) => run(() => sb.scoreAllocation(trajectory, policy)));
|
|
38
|
-
server.tool("greeks", "Black-Scholes price
|
|
38
|
+
server.tool("greeks", "Black-Scholes price and local Greeks for one long European option. Invalid inputs and undefined Greeks are refused; local gamma does not establish payoff-loss boundedness.", {
|
|
39
39
|
spot: z.number(),
|
|
40
40
|
strike: z.number(),
|
|
41
41
|
t_years: z.number(),
|
|
@@ -46,7 +46,7 @@ export function createServer() {
|
|
|
46
46
|
server.tool("canary", "Derive a deterministic do-not-train contamination tripwire token from seed material.", { seed: z.string() }, async ({ seed }) => run(() => sb.canary(seed)));
|
|
47
47
|
server.tool("is_my_sharpe_real", "Answer 'is this Sharpe real, or an artifact of luck and multiple testing?' for a single return series. Deflates the observed Sharpe for n_trials (the search footprint), then returns a Pass/Borderline/Fail verdict with deflated Sharpe, PSR, haircut, MinTRL, and a plain-English explanation. n_trials = 1 is almost always a lie — pass the true number of strategies/configs you tried.", {
|
|
48
48
|
returns: z.array(z.number()),
|
|
49
|
-
n_trials: z.number(),
|
|
49
|
+
n_trials: z.number().int().min(1).max(0xffffffff),
|
|
50
50
|
trials_sr_std: z.number().optional(),
|
|
51
51
|
confidence: z.number().optional(),
|
|
52
52
|
borderline: z.number().optional(),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@general-liquidity/sharpebench-mcp",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.19.0",
|
|
4
4
|
"description": "MCP server exposing SharpeBench's luck-robust quantitative evaluation tools for trading agents, including deflated Sharpe, pass^k, process discipline, and risk analysis.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"mcp",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"prepublishOnly": "tsc"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@general-liquidity/sharpebench": "^0.
|
|
33
|
+
"@general-liquidity/sharpebench": "^0.19.0",
|
|
34
34
|
"@modelcontextprotocol/sdk": "^1.0.0",
|
|
35
35
|
"zod": "^4.0.0"
|
|
36
36
|
},
|