@chessceo/mcp 0.19.0 → 0.24.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.
@@ -25,40 +25,18 @@ Six tools:
25
25
 
26
26
  Duplicate files are the #1 way to lose your user's trust in this system.
27
27
 
28
- ## PGN structure
29
-
30
- Real chess prep files are PGN with parenthesised variations. Learn the shape:
31
-
32
- ```pgn
33
- [Event "Prep vs Firouzja (Black) — 2026-07-23"]
34
- [White "Firouzja, Alireza"]
35
- [Black "Van Foreest, Jorden"]
36
- [Date "2026.07.23"]
37
-
38
- 1. e4 c5 2. Nf3 d6 3. d4 cxd4 4. Nxd4 Nf6 5. Nc3 a6 6. Be3 e5 7. Nb3
39
- {Main line. Firouzja plays this in 68% of his English Attacks (32 games, 2023-2025).}
40
- 7... Be6 8. f3
41
- (8. Qd2 Nbd7 9. f3 h5 {Sideline he tried once and lost — probably patched.})
42
- 8... Nbd7 9. Qd2 h5
43
- {Critical position for us. Lc0 at multipv=3 gives:
44
- - h5: +0.12 (main line, active)
45
- - Be7: +0.08 (calm, more classical)
46
- - Rc8: 0.00 (Stockfish preferred)}
47
-
48
- *
49
- ```
28
+ ## PGN authoring — separate concern
29
+
30
+ Everything about **how to write good PGN** (structure, NAGs, arrows, coloured squares, variation discipline, common pitfalls) lives in `pgn-authoring.md` call `read_pgn_authoring_guide` for the full doc. That guide is universal to any chess file you might write; this guide is about the prep-files *feature* on top.
31
+
32
+ Minimum you should know before calling `save_prep_file`:
33
+
34
+ - Mainline = your top recommendation. Alternative candidates go in parenthesised variations at the branching move.
35
+ - **Variations are MOVES**, not prose describing moves. `7...Be6 (7...h5 8.Nd5)` — never `{if Black plays h5 White responds with Nd5}`.
36
+ - **Plans, prep-signal, and interpretation** go in `{curly-brace comments}`. Cite tool output; don't invent chess prose.
37
+ - `Event` tag is the file's user-facing name.
50
38
 
51
- The pieces:
52
-
53
- - **PGN tag pairs at the top** (`[Key "Value"]`) — `Event` is the name you show the user. `White` / `Black` set the game headers. `Date` is standard.
54
- - **Mainline** = your top recommendation. Numbered SAN moves separated by whitespace.
55
- - **Variations** in parentheses `(...)` at the branching move. Nesting is allowed but be conservative — three deep is a lot.
56
- - **Comments** in curly braces `{...}` between moves. This is where you cite tool output:
57
- - `{Lc0 says +0.15 in this line vs 0.00 for the alternative}`
58
- - `{Firouzja plays this in 32/47 games with Black. Scores 41%.}`
59
- - `{Stockfish sees h4 as a tactical shot; Lc0 disagrees. Deep look needed.}`
60
- - **NAG glyphs** for evaluations at a move (optional): `$1` (!), `$2` (?), `$3` (!!), `$4` (??), `$6` (=), `$10` (=), `$14` (+/=). Placed right after the SAN: `7. Nb3 $1`.
61
- - **Result marker** at the end: `*` for unfinished (prep files are always unfinished), `1-0`, `0-1`, `1/2-1/2`.
39
+ Full details, NAG table, arrow/highlight syntax, and worked example: `read_pgn_authoring_guide`.
62
40
 
63
41
  ## Editing without breaking the tree
64
42
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chessceo/mcp",
3
- "version": "0.19.0",
3
+ "version": "0.24.0",
4
4
  "description": "Model Context Protocol server for chess.ceo — 11.7M+ games, ~1.5M FIDE player profiles, opening preparation, live broadcasts.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -43,6 +43,7 @@
43
43
  "dependencies": {
44
44
  "@modelcontextprotocol/sdk": "^1.0.0",
45
45
  "chess.js": "^1.4.0",
46
+ "chessops": "^0.15.1",
46
47
  "zod": "^3.23.0"
47
48
  },
48
49
  "devDependencies": {