@ex7/mcp 0.1.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 +62 -0
- package/dist/index.js +2110 -0
- package/package.json +44 -0
package/README.md
ADDED
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
# @ex7/mcp
|
|
2
|
+
|
|
3
|
+
MCP server for [EX7 Capital](https://ex7capital.com). Drive the EX7 workflow
|
|
4
|
+
(create then validate then operate) from Claude Code, Cursor, or any MCP client.
|
|
5
|
+
Built on `@ex7/sdk`.
|
|
6
|
+
|
|
7
|
+
## Setup
|
|
8
|
+
|
|
9
|
+
Claude Code:
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
claude mcp add ex7 --env EX7_TOKEN=$EX7_TOKEN -- npx -y @ex7/mcp
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
Or `.mcp.json` (Claude Code / Cursor):
|
|
16
|
+
|
|
17
|
+
```json
|
|
18
|
+
{
|
|
19
|
+
"mcpServers": {
|
|
20
|
+
"ex7": {
|
|
21
|
+
"command": "npx",
|
|
22
|
+
"args": ["-y", "@ex7/mcp"],
|
|
23
|
+
"env": { "EX7_BASE_URL": "https://ex7capital.com", "EX7_TOKEN": "${EX7_TOKEN}" }
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
## Environment
|
|
30
|
+
|
|
31
|
+
| Var | Meaning |
|
|
32
|
+
|---|---|
|
|
33
|
+
| `EX7_TOKEN` | Supabase Bearer JWT (developer / human loop). |
|
|
34
|
+
| `EX7_AGENT_TOKEN` | Agent token. When set, `ex7_vix_generate` and `ex7_judge_run` route to the deterministic, $0 `/api/agent/*` endpoints, so an agent token can never reach create-live or deploy paths. |
|
|
35
|
+
| `EX7_BASE_URL` | API base. Default `https://ex7capital.com`. |
|
|
36
|
+
|
|
37
|
+
A `$0` agent variant:
|
|
38
|
+
|
|
39
|
+
```bash
|
|
40
|
+
claude mcp add ex7 --env EX7_AGENT_TOKEN=$EX7_AGENT_TOKEN -- npx -y @ex7/mcp
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
## Tools
|
|
44
|
+
|
|
45
|
+
| Tool | What it does |
|
|
46
|
+
|---|---|
|
|
47
|
+
| `ex7_status` | Readiness probe. |
|
|
48
|
+
| `ex7_vix_generate` | NL idea to a strategy-graph delta. |
|
|
49
|
+
| `ex7_strategy_validate` | Structural validation, offline (no network). |
|
|
50
|
+
| `ex7_strategy_create` | Persist a strategy (validated locally first). |
|
|
51
|
+
| `ex7_judge_run` | Run The Judge, return the terminal verdict. |
|
|
52
|
+
| `ex7_backtest_run` | Enqueue a backtest and wait for metrics. |
|
|
53
|
+
| `ex7_deploy_plan` | Compile a deploy plan for a PASS strategy. Webhook TEMPLATE only; EX7 never executes. |
|
|
54
|
+
| `ex7_strategy_publish` | Publish (or unpublish) a strategy. |
|
|
55
|
+
| `ex7_signals_list` | Recent live signals (one-shot). |
|
|
56
|
+
| `ex7_workflow_run` | The whole loop: generate, validate, create, judge, gate, and optionally backtest + deploy-plan. Operate steps run only on a real PASS. |
|
|
57
|
+
|
|
58
|
+
These supersede the older `ex7_orchestrate` / `ex7_recursive_search` tool set.
|
|
59
|
+
|
|
60
|
+
## License
|
|
61
|
+
|
|
62
|
+
SEE LICENSE IN LICENSE. EX7 Capital.
|