@debian777/kairos-mcp 3.2.0-pre.1 → 3.2.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 +28 -26
- package/dist/.tsbuildinfo +1 -1
- package/dist/embed-docs/mem/00000000-0000-0000-0000-000000002001.md +1 -1
- package/dist/embed-docs/mem/00000000-0000-0000-0000-000000002002.md +1 -1
- package/dist/ui/assets/{KairosPage-DmLqoGH6.js → KairosPage-DMaiwD74.js} +1 -1
- package/dist/ui/assets/index-Bqb33fIp.css +2 -0
- package/dist/ui/assets/{index-CEw29yv9.js → index-C2YLy1em.js} +3 -3
- package/dist/ui/index.html +2 -2
- package/dist/utils/structured-logger.d.ts +1 -1
- package/dist/utils/structured-logger.js +1 -1
- package/package.json +1 -1
- package/dist/ui/assets/index-BKt9Ajxh.css +0 -2
package/README.md
CHANGED
|
@@ -27,54 +27,66 @@ KAIROS runs as a Docker stack. Docker and Docker Compose are required.
|
|
|
27
27
|
|
|
28
28
|
**Minimal (default):** Qdrant + app only. No Redis or auth.
|
|
29
29
|
|
|
30
|
-
1. Download the Compose file and minimal env example:
|
|
30
|
+
1. Download the Compose file and minimal env example (or from a clone: `cp docs/install/env.example.minimal.txt .env` from repo root):
|
|
31
31
|
```bash
|
|
32
32
|
curl -LO https://raw.githubusercontent.com/debian777/kairos-mcp/main/compose.yaml
|
|
33
33
|
curl -LO https://raw.githubusercontent.com/debian777/kairos-mcp/main/docs/install/env.example.minimal.txt
|
|
34
34
|
cp env.example.minimal.txt .env
|
|
35
35
|
```
|
|
36
|
-
2. Set your embedding provider in `.env
|
|
37
|
-
3. Start the stack:
|
|
36
|
+
2. Set your embedding provider in `.env`: `OPENAI_API_KEY=sk-proj-...` (OpenAI), or [Ollama](docs/install/README.md#optional--ollama-local-embeddings) (local), or TEI — see [docs/install/README.md](docs/install/README.md).
|
|
37
|
+
3. Start the stack (from the directory that has `compose.yaml` and `.env`):
|
|
38
38
|
```bash
|
|
39
39
|
docker compose -p kairos-mcp up -d
|
|
40
40
|
```
|
|
41
|
+
For a separate minimal deployment (e.g. your own mini directory with its own compose and `.env`): `docker compose -p kairos-mini up -d` from that directory.
|
|
41
42
|
4. Confirm the server is healthy:
|
|
42
43
|
```bash
|
|
43
44
|
curl http://localhost:3000/health
|
|
44
45
|
```
|
|
45
46
|
|
|
46
|
-
**Full stack (Redis, Postgres, Keycloak):** Use [docs/install/env.example.fullstack.txt](docs/install/env.example.fullstack.txt) as `.env`, set `REDIS_URL=redis://redis:6379` and your secrets
|
|
47
|
-
|
|
48
|
-
See [docs/install/README.md](docs/install/README.md) for env variants. Full developer workflow is in [CONTRIBUTING.md](CONTRIBUTING.md).
|
|
47
|
+
**Full stack (Redis, Postgres, Keycloak):** Use [docs/install/env.example.fullstack.txt](docs/install/env.example.fullstack.txt) as `.env`, set `REDIS_URL=redis://redis:6379` and your secrets. See [docs/install/README.md](docs/install/README.md) for env variants and full stack setup. Full developer workflow is in [CONTRIBUTING.md](CONTRIBUTING.md).
|
|
49
48
|
|
|
50
49
|
## Installation
|
|
51
50
|
|
|
52
51
|
- **Docker Compose (recommended)** — minimal (Qdrant + app) by default, or
|
|
53
52
|
full stack with Redis and Keycloak; see the quick start above.
|
|
54
|
-
- **npm (CLI only)** —
|
|
53
|
+
- **npm (CLI only)** — run the `kairos` CLI without installing, or install globally.
|
|
55
54
|
Node.js 25 or later is required.
|
|
56
55
|
```bash
|
|
57
|
-
|
|
56
|
+
npx @debian777/kairos-mcp
|
|
58
57
|
```
|
|
58
|
+
Or install globally: `npm install -g @debian777/kairos-mcp` then run `kairos`.
|
|
59
|
+
Pre-release: `npm install -g @debian777/kairos-mcp@3.2.0-pre.2` (or latest `*-pre.*` on [npm](https://www.npmjs.com/package/@debian777/kairos-mcp?activeTab=versions)). Use `--install-links` to install link dependencies as real packages.
|
|
59
60
|
See [KAIROS CLI](docs/CLI.md) for usage.
|
|
61
|
+
- **Update your agent instructions (recommended):** Add the KAIROS intro to your project’s **AGENTS.md** (or your IDE’s rules) so agents follow the protocol. Example to copy or adapt:
|
|
62
|
+
|
|
63
|
+
> KAIROS MCP is a Model Context Protocol server for persistent memory and
|
|
64
|
+
> deterministic protocol-chain execution. It stores workflows as linked
|
|
65
|
+
> memory chains where each step carries a proof-of-work challenge. You
|
|
66
|
+
> execute a protocol by searching for a match, beginning the run, solving
|
|
67
|
+
> each challenge via `kairos_next`, and attesting completion. Every hash,
|
|
68
|
+
> nonce, and identifier is server-generated; echo them verbatim — never
|
|
69
|
+
> compute them.
|
|
70
|
+
|
|
71
|
+
|
|
60
72
|
|
|
61
73
|
For development setup, all `npm run` commands, and **how we do releases**, see
|
|
62
74
|
[CONTRIBUTING.md](CONTRIBUTING.md).
|
|
63
75
|
|
|
64
76
|
### Agent skills
|
|
65
77
|
|
|
66
|
-
This repo ships **
|
|
78
|
+
This repo ships the **kairos** skill (run protocols: /k, /apply, /search). Use `--list` to see what the skills registry reports for this repo.
|
|
67
79
|
|
|
68
|
-
**Install
|
|
80
|
+
**Install from this repo:**
|
|
69
81
|
|
|
70
82
|
```bash
|
|
71
83
|
npx skills add debian777/kairos-mcp
|
|
72
84
|
```
|
|
73
85
|
|
|
74
|
-
**Install only
|
|
86
|
+
**Install only the kairos skill:**
|
|
75
87
|
|
|
76
88
|
```bash
|
|
77
|
-
npx skills add debian777/kairos-mcp --skill kairos
|
|
89
|
+
npx skills add debian777/kairos-mcp --skill kairos
|
|
78
90
|
```
|
|
79
91
|
|
|
80
92
|
List what’s available: `npx skills add debian777/kairos-mcp --list`
|
|
@@ -82,14 +94,6 @@ List what’s available: `npx skills add debian777/kairos-mcp --list`
|
|
|
82
94
|
| Skill | Purpose |
|
|
83
95
|
|-------|---------|
|
|
84
96
|
| `kairos` | Run protocols (/k, /apply, /search). |
|
|
85
|
-
| `kairos-code` | ELITE AI CODING STANDARDS — /code, full protocol (branch, tests, deploy, promote). |
|
|
86
|
-
| `kairos-ai-docs` | Zero-drift AI instructions template — /ai-docs, write/update AI instructions. |
|
|
87
|
-
| `kairos-create-protocol` | Create and mint new KAIROS protocol chains. |
|
|
88
|
-
| `kairos-create-skill` | Create Cursor/agent skills that ship protocols. |
|
|
89
|
-
| `kairos-refine-search` | Refine a weak or empty search (step-by-step better query). |
|
|
90
|
-
| `kairos-development` | Agent instructions for kairos-dev (workflow-test, ai-mcp-integration). |
|
|
91
|
-
|
|
92
|
-
The **kairos** skill is the one that enables running protocols (/k, /apply, /search). The table above lists all skills in this repo.
|
|
93
97
|
|
|
94
98
|
**Popular agents (global install, non-interactive):**
|
|
95
99
|
|
|
@@ -100,9 +104,9 @@ The **kairos** skill is the one that enables running protocols (/k, /apply, /sea
|
|
|
100
104
|
| Cursor + Claude Code | `npx skills add debian777/kairos-mcp -y -g -a cursor -a claude-code` |
|
|
101
105
|
| All detected agents | `npx skills add debian777/kairos-mcp -y -g` (omit `-a` to install to all) |
|
|
102
106
|
|
|
103
|
-
Optionally add `--skill kairos
|
|
107
|
+
Optionally add `--skill kairos` to install only that skill.
|
|
104
108
|
|
|
105
|
-
**Remove a skill** (use the skill name, e.g. `kairos
|
|
109
|
+
**Remove a skill** (use the skill name, e.g. `kairos`):
|
|
106
110
|
|
|
107
111
|
```bash
|
|
108
112
|
npx skills remove kairos -g
|
|
@@ -114,7 +118,7 @@ Run without `-y` to choose agents interactively. Full list and install details:
|
|
|
114
118
|
|
|
115
119
|
- [Install KAIROS MCP in Cursor](docs/INSTALL-MCP.md)
|
|
116
120
|
- [KAIROS CLI reference](docs/CLI.md)
|
|
117
|
-
- [Architecture and protocol workflows](docs/architecture/README.md)
|
|
121
|
+
- [Architecture and protocol workflows](docs/architecture/README.md) — tool workflows, infrastructure, [auth overview](docs/architecture/auth-overview.md), [logging](docs/architecture/logging.md)
|
|
118
122
|
- [Protocol examples and challenge types](docs/examples/README.md)
|
|
119
123
|
- [All documentation](docs/README.md)
|
|
120
124
|
|
|
@@ -122,9 +126,7 @@ Run without `-y` to choose agents interactively. Full list and install details:
|
|
|
122
126
|
|
|
123
127
|
**The server does not start.** Check that ports 3000 and 6333 (Qdrant) are free (6379 only if using fullstack). Run `docker compose -p kairos-mcp logs` to inspect errors.
|
|
124
128
|
|
|
125
|
-
**Embeddings fail on startup.**
|
|
126
|
-
`.env`, or configure a TEI (Text Embeddings Inference) endpoint with
|
|
127
|
-
`TEI_BASE_URL`.
|
|
129
|
+
**Embeddings fail on startup.** Set an embedding provider in `.env`: `OPENAI_API_KEY` (OpenAI), or [Ollama](docs/install/README.md#optional--ollama-local-embeddings) (`OPENAI_API_URL` base URL + `OPENAI_EMBEDDING_MODEL` + `OPENAI_API_KEY=ollama`; use `http://host.docker.internal:11434` if the app runs in Docker), or TEI (`TEI_BASE_URL` + `TEI_MODEL`). See [docs/install/README.md](docs/install/README.md).
|
|
128
130
|
|
|
129
131
|
**Health check returns 503.** Qdrant (and Redis if fullstack) may still be initializing. Wait 10–15 seconds, then retry.
|
|
130
132
|
|