@aionis/mcp 0.1.6 → 0.1.8

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 CHANGED
@@ -5,12 +5,23 @@ MCP stdio bridge for Aionis execution memory.
5
5
  Docs: [https://docs.aionis.work/integrations/mcp](https://docs.aionis.work/integrations/mcp)
6
6
 
7
7
  Use this package when you want Claude Code, Cursor, or another MCP client to
8
- try Aionis without rewriting the host Agent loop first.
8
+ try Aionis without rewriting the host Agent loop first. MCP is the fastest
9
+ public trial path for Aionis Execution Memory: connect the bridge, call
10
+ `aionis_context`, and let the Agent continue from governed state instead of raw
11
+ chat history.
9
12
 
10
13
  ```bash
11
14
  npx @aionis/mcp@latest --base-url http://127.0.0.1:3001 --scope my-project
12
15
  ```
13
16
 
17
+ Start a local Runtime first:
18
+
19
+ ```bash
20
+ npx @aionis/create@latest
21
+ cd Aionis
22
+ npm run -s lite:start
23
+ ```
24
+
14
25
  Environment form:
15
26
 
16
27
  ```bash
@@ -27,7 +38,7 @@ The server exposes stable product tools, not internal Runtime packets:
27
38
  | Tool | Purpose |
28
39
  |---|---|
29
40
  | `aionis_context` | Compile governed Agent context for the current run. Optionally records a lightweight observation first. |
30
- | `aionis_record_step` | Record a planner/worker/verifier/reviewer step. Feedback attribution is optional. |
41
+ | `aionis_record_step` | Record a planner/worker/verifier/reviewer step, including planner plan assets and rejected branch evidence. Feedback attribution is optional. |
31
42
  | `aionis_handoff` | Record branch-aware multi-agent handoff state. |
32
43
  | `aionis_remember` | Store ordinary project memory through the governed observe path. |
33
44
  | `aionis_govern_memory` | Route external Mem0/Zep/vector/markdown candidates through Aionis Memory Firewall before prompt use. |
@@ -48,6 +59,26 @@ Runtime guide, and `budget_profile`, `max_prompt_chars`, `repo_state`, and
48
59
  For example, pass `repo_state.missing_files` so Aionis can tell the Agent that a
49
60
  missing active target is pending work rather than stale memory.
50
61
 
62
+ For Claude Code or Cursor demos, the recommended first loop is:
63
+
64
+ ```text
65
+ aionis_context -> Agent action -> aionis_record_step -> aionis_flight_recorder
66
+ ```
67
+
68
+ Use this flow:
69
+
70
+ 1. Use `aionis_record_step` as a planner to record the accepted plan,
71
+ active targets, acceptance checks, and execution boundary.
72
+ 2. Use `aionis_record_step` again for any rejected branch as `outcome:
73
+ "failed"` with the rejected target files.
74
+ 3. Ask `aionis_context` for the worker/reviewer context before implementation.
75
+ 4. Use `aionis_flight_recorder` after the run to replay which plan memories and
76
+ failed branches were visible at decision time.
77
+
78
+ This is the MCP shape of Aionis Plan as Memory Asset: the MCP client can use a
79
+ strong planner once, then let later workers continue from adjudicated execution
80
+ memory instead of raw chat history.
81
+
51
82
  The tool returns these structured fields in `structuredContent`:
52
83
 
53
84
  | Field | Meaning |
@@ -63,8 +94,10 @@ The tool returns these structured fields in `structuredContent`:
63
94
  | `inspect_first_memory_ids` | Candidate or contested memories that require inspection before action. |
64
95
  | `rehydrate_first_memory_ids` | Compact pointers that need raw payload recovery before exact use. |
65
96
 
66
- Use `aionis_govern_memory` when an MCP client already has memories from another
67
- backend and needs Aionis to decide which ones may direct the Agent:
97
+ Use `aionis_govern_memory` when an MCP client already has memories from Mem0,
98
+ Zep, Supermemory, Pinecone, pgvector, Chroma, Weaviate, LangGraph Store,
99
+ markdown, logs, or another backend and needs Aionis to decide which ones may
100
+ direct the Agent:
68
101
 
69
102
  ```json
70
103
  {
package/dist/server.js CHANGED
@@ -55,7 +55,7 @@ function register(server, client, name, config) {
55
55
  export function createAionisMcpServer(client) {
56
56
  const server = new McpServer({
57
57
  name: "aionis-mcp",
58
- version: "0.1.6",
58
+ version: "0.1.8",
59
59
  });
60
60
  register(server, client, "aionis_context", {
61
61
  title: "Get Aionis Agent Context",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aionis/mcp",
3
- "version": "0.1.6",
3
+ "version": "0.1.8",
4
4
  "description": "MCP stdio bridge for Aionis execution memory.",
5
5
  "license": "Apache-2.0",
6
6
  "homepage": "https://docs.aionis.work/integrations/mcp",
@@ -26,7 +26,7 @@
26
26
  "prepack": "npm run build"
27
27
  },
28
28
  "dependencies": {
29
- "@aionis/sdk": "^0.1.9",
29
+ "@aionis/sdk": "^0.1.10",
30
30
  "@modelcontextprotocol/sdk": "^1.29.0",
31
31
  "zod": "^3.25.76"
32
32
  },