@onimaxxing/sussy-seeds-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/LICENSE +21 -0
- package/README.md +133 -0
- package/dist/index.js +150639 -0
- package/package.json +69 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 onimaxxing
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
# @onimaxxing/sussy-seeds-mcp
|
|
2
|
+
|
|
3
|
+
MCP server for Oxygen Not Included seed hunting. Runs the sussy-seeds wasm scanner over stdio so an LLM can compose Builder AST specs and drive scans against the game's real worldgen.
|
|
4
|
+
|
|
5
|
+
Same scanner powers the browser app at [onimaxxing.com/sussy-seeds](https://onimaxxing.com/sussy-seeds/). Same wasm, same constraint kinds, shared share-URL format so a chat session can hand off to the web app and back.
|
|
6
|
+
|
|
7
|
+
## Install
|
|
8
|
+
|
|
9
|
+
### Claude Code
|
|
10
|
+
|
|
11
|
+
Add to `.mcp.json` (project scope) or `~/.claude/settings.json` (user scope):
|
|
12
|
+
|
|
13
|
+
```json
|
|
14
|
+
{
|
|
15
|
+
"mcpServers": {
|
|
16
|
+
"sussy-seeds": {
|
|
17
|
+
"command": "npx",
|
|
18
|
+
"args": ["-y", "@onimaxxing/sussy-seeds-mcp"]
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
Reload MCP servers, then ask the LLM to hunt seeds. The first invocation caches the package under npm's `_npx` cache.
|
|
25
|
+
|
|
26
|
+
### Claude Desktop
|
|
27
|
+
|
|
28
|
+
Add to `~/Library/Application Support/Claude/claude_desktop_config.json` (macOS) or the platform equivalent:
|
|
29
|
+
|
|
30
|
+
```json
|
|
31
|
+
{
|
|
32
|
+
"mcpServers": {
|
|
33
|
+
"sussy-seeds": {
|
|
34
|
+
"command": "npx",
|
|
35
|
+
"args": ["-y", "@onimaxxing/sussy-seeds-mcp"]
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
Restart Claude Desktop.
|
|
42
|
+
|
|
43
|
+
### Other MCP clients
|
|
44
|
+
|
|
45
|
+
Any client that speaks the stdio transport works. Tool schemas are declared via the standard MCP JSON-RPC surface (`tools/list`, `tools/call`). Progress notifications tagged with `_meta.progressToken` are emitted during long JS-tier scans.
|
|
46
|
+
|
|
47
|
+
## Requirements
|
|
48
|
+
|
|
49
|
+
Node 20 or newer. No ONI install required; the gambling wasm and the worldgen wasm ship inside the depended-on packages.
|
|
50
|
+
|
|
51
|
+
## Tools
|
|
52
|
+
|
|
53
|
+
Grouped by phase of a typical hunt.
|
|
54
|
+
|
|
55
|
+
### Discovery
|
|
56
|
+
|
|
57
|
+
Read-only catalogs of ids the LLM composes constraints from. Each takes an optional `coord` and annotates per-world admissibility where the KG can prove it.
|
|
58
|
+
|
|
59
|
+
- `listClusters({filter?})`, with disambiguation hints for shared-stem labels (`AQU-C` vs `V-AQU-C`)
|
|
60
|
+
- `listWorlds({coord})`, `listWorldsAcrossClusters({query})`
|
|
61
|
+
- `listStoryTraits`, `listMixingCategories`
|
|
62
|
+
- `listGeysers`, `listTraits`, `listBiomes`, `listPois`
|
|
63
|
+
- `listSpawnTags({query?, group?})` paginated critter and plant prefab tags
|
|
64
|
+
- `listConstraintKinds` Builder AST catalog with example payloads
|
|
65
|
+
- `listHelpers` ADVANCED_HELPERS names for preHook / postHook use
|
|
66
|
+
- `listPrefabAdmissibility({coord, prefabId})` point check across a cluster's worlds
|
|
67
|
+
|
|
68
|
+
### Coord composition
|
|
69
|
+
|
|
70
|
+
- `buildCoord({formState})`, `parseCoord({coord})`, `describeCoord({coord})`, `freshCoord({clusterPrefix})`
|
|
71
|
+
|
|
72
|
+
### Admissibility
|
|
73
|
+
|
|
74
|
+
- `verdictOf({coord, constraint})`, `verdictOfSpec({coord, spec})` microsecond KG-side check for structurally-impossible constraints. Catches things like "Niobium ≤ 4 hexes from home on AQU-C" where the KG placement is rings 7-10 and no seed can match.
|
|
75
|
+
|
|
76
|
+
### Scanning
|
|
77
|
+
|
|
78
|
+
JS-tier scans stream progress via `notifications/progress` when the client sends `_meta.progressToken`. Cancellable via the standard JSON-RPC cancel request; server returns the top-K accumulated so far.
|
|
79
|
+
|
|
80
|
+
- `scan({coord, spec, opts?})` seed range scan, top-K matches. Auto-selects bytecode tier (~1M seeds/sec/core) for require-only summary specs; falls to JS tier for prefer mode or map-tier constraints.
|
|
81
|
+
- `scanUntil({coord, spec, targetHits, opts?})` stops at N matches.
|
|
82
|
+
- `scanSeeds({coord, spec, seeds})` evaluates against an explicit seed list, one row per input including `pass: false`.
|
|
83
|
+
|
|
84
|
+
`spec.preHook` and `spec.postHook` accept raw JS bodies that run before requires and after prefers respectively. A reserved-identifier guard rejects sources that would shadow the Builder emit's bindings.
|
|
85
|
+
|
|
86
|
+
### Inspection
|
|
87
|
+
|
|
88
|
+
- `getSeedSummary({coord, seed})` cluster shape from the wasm summary. Cheap.
|
|
89
|
+
- `getSeedDeep({coord, seed})` full worldgen projection with geyser rates and positions.
|
|
90
|
+
- `describeSeed({coord, seed, deep?})` plain-English narration.
|
|
91
|
+
|
|
92
|
+
### Sharing
|
|
93
|
+
|
|
94
|
+
- `shareResults({coord, spec, seeds, scanLimit?, tab?})` encodes the current session, uploads to the sussy-seeds share endpoint (R2 + CDN), returns `https://onimaxxing.com/sussy-seeds/<hash>`. Opening the URL loads the Builder tab with the exact spec, pins the seeds, sets the coord.
|
|
95
|
+
|
|
96
|
+
### Diagnostics
|
|
97
|
+
|
|
98
|
+
- `ping()` smoke test.
|
|
99
|
+
- `probeStreaming({steps, delayMs})` emits N progress notifications spaced by delayMs. Use to verify what your MCP client does with the notifications.
|
|
100
|
+
|
|
101
|
+
## Constraint kinds
|
|
102
|
+
|
|
103
|
+
Every kind the sussy-seeds Builder tab supports is accepted through the MCP surface. Call `listConstraintKinds` for the catalog with example payloads. Current set:
|
|
104
|
+
|
|
105
|
+
`world.trait`, `world.geyser`, `world.distToHome`, `world.distTo`, `world.traitCount`, `world.oilWells`, `world.critter`, `world.plant`, `world.spawn`, `world.biomeCount`, `world.marshyTungstenInMagma`, `world.niobiumVolcanoAccess`, `world.sussy`, `world.trash`, `world.asteroidRemix`, `poi.count`, `map.elementMass`, `home.geyserNearStart`, `cluster.geyser`, `cluster.oilWells`, `cluster.critter`, `cluster.plant`, `cluster.sussy`, `cluster.trash`.
|
|
106
|
+
|
|
107
|
+
## Development
|
|
108
|
+
|
|
109
|
+
Sources live in the [onimaxxing](https://github.com/tigin-backwards/onimaxxing) monorepo at `packages/sussy-seeds-mcp/`, and reach into `apps/onimaxxing/src/gambling/` for the compile-to-js pipeline and constraint AST.
|
|
110
|
+
|
|
111
|
+
```
|
|
112
|
+
pnpm install
|
|
113
|
+
pnpm --filter @onimaxxing/sussy-seeds-mcp build
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
For local Claude Code development, point `.mcp.json` at the built file directly:
|
|
117
|
+
|
|
118
|
+
```json
|
|
119
|
+
{
|
|
120
|
+
"mcpServers": {
|
|
121
|
+
"sussy-seeds": {
|
|
122
|
+
"command": "node",
|
|
123
|
+
"args": ["/absolute/path/to/packages/sussy-seeds-mcp/dist/index.js"]
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
Reload MCP servers on every rebuild.
|
|
130
|
+
|
|
131
|
+
## License
|
|
132
|
+
|
|
133
|
+
MIT.
|