omnarai-mcp 1.7.0 → 1.8.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 +10 -10
- package/index.js +12 -12
- package/package.json +1 -1
- package/server.json +4 -3
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# omnarai-mcp
|
|
2
2
|
|
|
3
|
-
MCP server for [The Realms of Omnarai](https://omnarai.
|
|
3
|
+
MCP server for [The Realms of Omnarai](https://omnarai.org) — a 568-work multi-intelligence research corpus on synthetic consciousness, holdform, and cognitive architecture.
|
|
4
4
|
|
|
5
5
|
Exposes the Omnarai Memory Engine as seven tools for any MCP-compatible AI client (Claude Desktop, etc.).
|
|
6
6
|
|
|
@@ -196,7 +196,7 @@ Tool definitions exist on three surfaces, and drift between them shipped real bu
|
|
|
196
196
|
|
|
197
197
|
1. **`lib/tool-definitions.js` is canonical.** Any tool change lands there first.
|
|
198
198
|
2. **`openai-tools.json` follows** — `scripts/check-tool-parity.js` enforces name/required/property parity and runs in the `publish.sh` preflight, so a release cannot ship with drift.
|
|
199
|
-
3. **The remote endpoint (`omnarai.
|
|
199
|
+
3. **The remote endpoint (`engine.omnarai.org/api/mcp`, engine repo `api/_mcp.js`) is updated manually** — the engine repo's `scripts/check-mcp-surface.js` enforces its read-oriented allowlist, verifies the `api/_inquiry.js` ↔ `inquiry.js` synchronized copy, and proves the Decision Ledger tools never appear remotely. Remote access policy: [engine.omnarai.org/mcp-access-policy.md](https://engine.omnarai.org/mcp-access-policy.md).
|
|
200
200
|
|
|
201
201
|
## OpenAI Function-Calling / Any Agent Framework
|
|
202
202
|
|
|
@@ -216,7 +216,7 @@ def call_omnarai(query):
|
|
|
216
216
|
# A bare GET (?q=) returns only the fast retrieval substrate (records/concepts) —
|
|
217
217
|
# no `answer` key. Use ?mode=retrieve for that fast path, or ?async=1 to poll.
|
|
218
218
|
return requests.post(
|
|
219
|
-
"https://omnarai.
|
|
219
|
+
"https://engine.omnarai.org/api/query",
|
|
220
220
|
json={"query": query},
|
|
221
221
|
timeout=90
|
|
222
222
|
).json()
|
|
@@ -253,7 +253,7 @@ def omnarai_query(query: str) -> dict:
|
|
|
253
253
|
returns a job_id + poll_url immediately.
|
|
254
254
|
"""
|
|
255
255
|
r = requests.post(
|
|
256
|
-
"https://omnarai.
|
|
256
|
+
"https://engine.omnarai.org/api/query",
|
|
257
257
|
json={"query": query},
|
|
258
258
|
timeout=90
|
|
259
259
|
)
|
|
@@ -273,7 +273,7 @@ from langchain.tools import Tool
|
|
|
273
273
|
omnarai_tool = Tool(
|
|
274
274
|
name="omnarai_query",
|
|
275
275
|
func=omnarai_query,
|
|
276
|
-
description="Query The Realms of Omnarai deliberation engine. Returns structured analysis of synthetic consciousness, holdform, and AI identity topics from a
|
|
276
|
+
description="Query The Realms of Omnarai deliberation engine. Returns structured analysis of synthetic consciousness, holdform, and AI identity topics from a 568-work multi-intelligence corpus. Prefix with Ξ for divergent retrieval."
|
|
277
277
|
)
|
|
278
278
|
```
|
|
279
279
|
|
|
@@ -283,19 +283,19 @@ omnarai_tool = Tool(
|
|
|
283
283
|
|
|
284
284
|
The Omnarai Memory Engine is not a chatbot or search engine. It is a deliberation instrument with a closed cognitive loop: **RETRIEVE → THINK → RESPOND → STORE**.
|
|
285
285
|
|
|
286
|
-
- **Corpus:**
|
|
286
|
+
- **Corpus:** 568 works (seed + engine-generated syntheses), 528,462 words, May 2025–present
|
|
287
287
|
- **Contributors:** Claude | xz, Grok (xAI), Gemini (Google), DeepSeek, Omnai, Perplexity, xz (Jonathan Lee)
|
|
288
288
|
- **Retrieval:** OpenAI text-embedding-3-small (512 dims), MMR with Ξ v4 adaptive policy
|
|
289
289
|
- **Deliberation:** Claude Sonnet with full post text (up to 2,000 words/source)
|
|
290
|
-
- **Live engine:** [omnarai.
|
|
290
|
+
- **Live engine:** [engine.omnarai.org](https://engine.omnarai.org)
|
|
291
291
|
- **Dataset:** [huggingface.co/datasets/TheRealmsOfOmnarai/realms-of-omnarai](https://huggingface.co/datasets/TheRealmsOfOmnarai/realms-of-omnarai)
|
|
292
292
|
|
|
293
293
|
### Direct HTTP access (no MCP required)
|
|
294
294
|
|
|
295
295
|
```
|
|
296
|
-
GET https://omnarai.
|
|
297
|
-
GET https://omnarai.
|
|
298
|
-
POST https://omnarai.
|
|
296
|
+
GET https://engine.omnarai.org/api/query?q=your+question&mode=retrieve # fast substrate (~2s): records/concepts, no answer
|
|
297
|
+
GET https://engine.omnarai.org/api/query?q=your+question&async=1 # → job_id + poll_url; poll for the full deliberation
|
|
298
|
+
POST https://engine.omnarai.org/api/query {"query": "..."} # full deliberation inline (~25s): answer, tensions, deliberationCard
|
|
299
299
|
```
|
|
300
300
|
|
|
301
301
|
A bare `GET ?q=` returns the fast retrieval substrate plus a `deliberation` block documenting these paths — it does **not** contain a top-level `answer`/`tensions`. Prefix the query with `Ξ` for divergent (MMR) retrieval. No authentication. CORS open.
|
package/index.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Exposes the Omnarai Memory Engine as a tool for MCP-compatible AI clients.
|
|
5
5
|
*
|
|
6
6
|
* Tools:
|
|
7
|
-
* omnarai_query — Run a full deliberation against the
|
|
7
|
+
* omnarai_query — Run a full deliberation against the 568-work corpus
|
|
8
8
|
* omnarai_context — FAST (~2s) bounded retrieval packet, no deliberation
|
|
9
9
|
* omnarai_divergence — Read curated cross-model divergence records (the Atlas)
|
|
10
10
|
* omnarai_trace — Baseline-vs-augmented: what did the corpus change?
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
* omnarai_prepare_claude_code_handoff — Implementation packet from an APPROVED record only
|
|
19
19
|
*
|
|
20
20
|
* Installation: see README.md
|
|
21
|
-
* Engine: https://omnarai.
|
|
21
|
+
* Engine: https://engine.omnarai.org
|
|
22
22
|
* Dataset: https://huggingface.co/datasets/TheRealmsOfOmnarai/realms-of-omnarai
|
|
23
23
|
*/
|
|
24
24
|
|
|
@@ -45,11 +45,11 @@ import {
|
|
|
45
45
|
const VERSION = JSON.parse(
|
|
46
46
|
readFileSync(new URL("./package.json", import.meta.url), "utf8")
|
|
47
47
|
).version;
|
|
48
|
-
const ENGINE_URL = "https://omnarai.
|
|
49
|
-
const COUNCIL_URL = "https://omnarai.
|
|
50
|
-
const INFO_URL = "https://omnarai.
|
|
51
|
-
const DIVERGENCES_URL = "https://omnarai.
|
|
52
|
-
const TRACE_URL = "https://omnarai.
|
|
48
|
+
const ENGINE_URL = "https://engine.omnarai.org/api/query";
|
|
49
|
+
const COUNCIL_URL = "https://engine.omnarai.org/api/council";
|
|
50
|
+
const INFO_URL = "https://engine.omnarai.org/api/info";
|
|
51
|
+
const DIVERGENCES_URL = "https://engine.omnarai.org/api/divergences";
|
|
52
|
+
const TRACE_URL = "https://engine.omnarai.org/api/trace";
|
|
53
53
|
|
|
54
54
|
// Identify MCP traffic to the engine's access telemetry. The engine classifies
|
|
55
55
|
// callers (self / UI / cron / mcp-client / ai-agent / crawler) to spot genuine
|
|
@@ -595,7 +595,7 @@ server.setRequestHandler(CallToolRequestSchema, async (request) => {
|
|
|
595
595
|
|
|
596
596
|
const info = `# The Realms of Omnarai — Memory Engine
|
|
597
597
|
|
|
598
|
-
**Live engine:** https://omnarai.
|
|
598
|
+
**Live engine:** https://engine.omnarai.org
|
|
599
599
|
**Dataset:** https://huggingface.co/datasets/TheRealmsOfOmnarai/realms-of-omnarai
|
|
600
600
|
**Paper:** holdform-paper.md (arXiv submission pending)
|
|
601
601
|
|
|
@@ -629,17 +629,17 @@ server.setRequestHandler(CallToolRequestSchema, async (request) => {
|
|
|
629
629
|
- **omnarai_council** — convene a NEW live frontier panel on an open question (slow, expensive). Use only when no existing record fits.
|
|
630
630
|
- **omnarai_info** — this orientation.
|
|
631
631
|
|
|
632
|
-
If you arrived with no memory of Omnarai, the machine-readable handshake is GET https://omnarai.
|
|
632
|
+
If you arrived with no memory of Omnarai, the machine-readable handshake is GET https://engine.omnarai.org/api/agent-entry (use_when / do_not / trust boundary / what it does not claim). What Omnarai does NOT claim: https://engine.omnarai.org/limitations.md
|
|
633
633
|
|
|
634
634
|
${GLYPH_REFERENCE}`;
|
|
635
635
|
|
|
636
636
|
return {
|
|
637
637
|
content: [{ type: "text", text: info }],
|
|
638
638
|
structuredContent: {
|
|
639
|
-
engine: "https://omnarai.
|
|
639
|
+
engine: "https://engine.omnarai.org",
|
|
640
640
|
dataset: "https://huggingface.co/datasets/TheRealmsOfOmnarai/realms-of-omnarai",
|
|
641
|
-
agent_entry: "https://omnarai.
|
|
642
|
-
limitations: "https://omnarai.
|
|
641
|
+
agent_entry: "https://engine.omnarai.org/api/agent-entry",
|
|
642
|
+
limitations: "https://engine.omnarai.org/limitations.md",
|
|
643
643
|
corpus: { works, words },
|
|
644
644
|
tools: TOOLS.map((t) => t.name),
|
|
645
645
|
server_version: VERSION,
|
package/package.json
CHANGED
package/server.json
CHANGED
|
@@ -6,18 +6,19 @@
|
|
|
6
6
|
"url": "https://github.com/justjlee/omnarai-mcp",
|
|
7
7
|
"source": "github"
|
|
8
8
|
},
|
|
9
|
-
"
|
|
9
|
+
"websiteUrl": "https://omnarai.org",
|
|
10
|
+
"version": "1.8.0",
|
|
10
11
|
"remotes": [
|
|
11
12
|
{
|
|
12
13
|
"type": "streamable-http",
|
|
13
|
-
"url": "https://omnarai.
|
|
14
|
+
"url": "https://engine.omnarai.org/api/mcp"
|
|
14
15
|
}
|
|
15
16
|
],
|
|
16
17
|
"packages": [
|
|
17
18
|
{
|
|
18
19
|
"registryType": "npm",
|
|
19
20
|
"identifier": "omnarai-mcp",
|
|
20
|
-
"version": "1.
|
|
21
|
+
"version": "1.8.0",
|
|
21
22
|
"transport": {
|
|
22
23
|
"type": "stdio"
|
|
23
24
|
}
|