@yugabytedb/meko-mcp 2.0.0 → 2.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/README.md +31 -6
- package/assets/hooks-handlers/codex-session-end.sh +78 -0
- package/assets/hooks-handlers/lib/capture.js +163 -14
- package/assets/hooks-handlers/lib/checkpoint-timer.js +44 -2
- package/assets/hooks-handlers/session-end.sh +10 -0
- package/assets/hooks-handlers/session-start.sh +8 -1
- package/assets/hooks-handlers/test_checkpoint_timer.sh +162 -0
- package/assets/scripts/package-desktop-skill.sh +32 -1
- package/assets/skills/meko-mcp-tools/SKILL.md +47 -41
- package/assets/skills/meko-mcp-tools/references/_sections.md +2 -4
- package/assets/skills/meko-mcp-tools/references/tools-agent-id-conventions.md +29 -25
- package/assets/skills/meko-mcp-tools/references/tools-conversation-dedup.md +5 -7
- package/assets/skills/meko-mcp-tools/references/tools-conversation-reasoning.md +50 -0
- package/assets/skills/meko-mcp-tools/references/tools-cookbook.md +63 -46
- package/assets/skills/meko-mcp-tools/references/tools-datapack-workflow.md +6 -6
- package/assets/skills/meko-mcp-tools/references/tools-known-limitations.md +4 -4
- package/assets/skills/meko-mcp-tools/references/tools-memory-vs-conversation.md +17 -22
- package/assets/skills/meko-mcp-tools/references/tools-overview.md +40 -39
- package/assets/skills/meko-mcp-tools/references/tools-rag-workflow.md +1 -2
- package/assets/skills/meko-mcp-tools/references/tools-troubleshooting.md +4 -18
- package/assets/skills/meko-mcp-tools/references/tools-user-id-conventions.md +9 -8
- package/assets/skills/meko-mcp-tools-desktop/SKILL.md +49 -42
- package/assets/skills/meko-mcp-tools-desktop/desktop/README.md +6 -6
- package/assets/skills/meko-mcp-tools-desktop/references/_sections.md +2 -2
- package/assets/skills/meko-mcp-tools-desktop/references/tools-agent-id-conventions.md +28 -24
- package/assets/skills/meko-mcp-tools-desktop/references/tools-conversation-reasoning.md +50 -0
- package/assets/skills/meko-mcp-tools-desktop/references/tools-cookbook.md +61 -36
- package/assets/skills/meko-mcp-tools-desktop/references/tools-known-limitations.md +4 -4
- package/assets/skills/meko-mcp-tools-desktop/references/tools-memory-vs-conversation.md +16 -19
- package/assets/skills/meko-mcp-tools-desktop/references/tools-overview.md +40 -39
- package/assets/skills/meko-mcp-tools-desktop/references/tools-rag-workflow.md +1 -2
- package/assets/skills/meko-mcp-tools-desktop/references/tools-troubleshooting.md +3 -17
- package/assets/skills/meko-select-datapack-desktop/SKILL.md +31 -21
- package/assets/skills/meko-select-datapack-desktop/references/cookbook.md +8 -8
- package/assets/skills/meko-select-datapack-desktop/references/role-display-future.md +41 -0
- package/assets/skills/meko-select-datapack-desktop/references/troubleshooting.md +1 -1
- package/bin/create-meko-setup.mjs +45 -6
- package/lib/clients/claude-code.mjs +8 -4
- package/lib/clients/claude-desktop.mjs +14 -0
- package/lib/clients/codex.mjs +23 -8
- package/lib/clients/common.mjs +2 -0
- package/lib/clients/cursor.mjs +7 -2
- package/lib/detect.mjs +7 -2
- package/lib/prompt.mjs +1 -1
- package/lib/url-selection.mjs +55 -0
- package/package.json +1 -1
- package/assets/skills/meko-mcp-tools/references/tools-scope-permissions.md +0 -71
- package/assets/skills/meko-mcp-tools-desktop/references/tools-scope-permissions.md +0 -71
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
# Complete Tool Catalog and Decision Tree
|
|
2
2
|
|
|
3
|
-
**
|
|
3
|
+
**23 tools on Cloud Meko** (verified against `https://mcp.mekodata.ai/mcp`). Grouped: Memory (8), Conversation (6), Knowledge Base (1), Datapack (5), Artifacts (2), Observability (1).
|
|
4
4
|
|
|
5
5
|
## Quick health check before using tools
|
|
6
6
|
|
|
7
7
|
Before starting a session, verify that the Meko MCP tools are working:
|
|
8
8
|
|
|
9
|
-
1. `memory_search(
|
|
10
|
-
2. `datapack_list(
|
|
9
|
+
1. `memory_search(query="test", agent_id="<your-session-agent-id>", conversation_id="<session-conversation-id>")` — Confirms memory subsystem is up. Use the `agent_id` and `conversation_id` from the SessionStart `additionalContext`. May fail with "connection already closed" — see `tools-troubleshooting.md`.
|
|
10
|
+
2. `datapack_list()` — Confirms Meko API connectivity. Returns the datapacks your token has access to.
|
|
11
11
|
|
|
12
12
|
## Decision tree: which tool do I need?
|
|
13
13
|
|
|
@@ -20,6 +20,7 @@ User wants to...
|
|
|
20
20
|
│ ├── Store a fact/preference/entity? -----------> memory_add (write)
|
|
21
21
|
│ ├── Store a full conversation (multi-turn)? ---> conversation_create + conversation_add_message (write)
|
|
22
22
|
│ ├── Search past knowledge? --------------------> memory_search (read)
|
|
23
|
+
│ ├── Share private memories with the team? -----> memory_promote (write; owner/maintainer only)
|
|
23
24
|
│ └── Retrieve a past conversation? -------------> conversation_get (read)
|
|
24
25
|
├── Persist or retrieve a file?
|
|
25
26
|
│ ├── Upload a generated file (report, CSV, PDF)? -> artifact_put (write)
|
|
@@ -32,58 +33,58 @@ Agent / knowledge-base lifecycle is managed **outside** the MCP surface — typi
|
|
|
32
33
|
|
|
33
34
|
## Knowledge Base Tools (1)
|
|
34
35
|
|
|
35
|
-
| Tool |
|
|
36
|
-
|
|
37
|
-
| `knowledgebase_search(
|
|
36
|
+
| Tool | Purpose |
|
|
37
|
+
|------|---------|
|
|
38
|
+
| `knowledgebase_search(query, agent_id, conversation_id, datapack_id, limit=10)` | Semantic search across KB chunks. `datapack_id` is REQUIRED (no default). |
|
|
38
39
|
|
|
39
40
|
## Memory Tools (8)
|
|
40
41
|
|
|
41
|
-
| Tool |
|
|
42
|
-
|
|
43
|
-
| `memory_add(
|
|
44
|
-
| `memory_search(
|
|
45
|
-
| `memory_get_by_id(
|
|
46
|
-
| `memory_get_all(
|
|
47
|
-
| `memory_update(
|
|
48
|
-
| `memory_delete_by_id(
|
|
49
|
-
| `memory_delete_all(
|
|
50
|
-
| `
|
|
42
|
+
| Tool | Purpose |
|
|
43
|
+
|------|---------|
|
|
44
|
+
| `memory_add(text, agent_id, conversation_id, run_id=None, metadata=None, messages=None, datapack_id=None)` | Store fact/preference/entity as long-term memory |
|
|
45
|
+
| `memory_search(query, agent_id, conversation_id="", limit=10, datapack_id=None)` | Semantic search across memories + graph relations. `conversation_id` optional (omit or pass `""` for cross-conversation discovery). |
|
|
46
|
+
| `memory_get_by_id(memory_id, agent_id, conversation_id, datapack_id=None)` | Direct pgvector row lookup by UUID. Preferred over `memory_search` for exact-id verification. |
|
|
47
|
+
| `memory_get_all(agent_id, conversation_id, run_id=None, datapack_id=None)` | List all of the user's memories (every agent — `agent_id` does not filter) |
|
|
48
|
+
| `memory_update(memory_id, text, agent_id, conversation_id, datapack_id=None)` | Overwrite memory text |
|
|
49
|
+
| `memory_delete_by_id(memory_id, agent_id, conversation_id, datapack_id=None)` | Delete a single memory |
|
|
50
|
+
| `memory_delete_all(agent_id, conversation_id, run_id=None, datapack_id=None)` | Delete all memories for agent (destructive) |
|
|
51
|
+
| `memory_promote(conversation_id, memory_ids, agent_id=None, datapack_id=None)` | Promote private memories into the datapack's shared knowledge base (moves them + graph context out of mem0, then evicts from mem0 — one-way). Owners/maintainers only; viewers/contributors get 403. |
|
|
51
52
|
|
|
52
53
|
## Conversation Tools (6)
|
|
53
54
|
|
|
54
|
-
| Tool |
|
|
55
|
-
|
|
56
|
-
| `conversation_create(
|
|
57
|
-
| `conversation_add_message(
|
|
58
|
-
| `conversation_get(
|
|
59
|
-
| `conversation_list(
|
|
60
|
-
| `conversation_update(
|
|
61
|
-
| `conversation_delete(
|
|
55
|
+
| Tool | Purpose |
|
|
56
|
+
|------|---------|
|
|
57
|
+
| `conversation_create(agent_id, run_id=None, title=None, metadata=None, session_id="")` | Create conversation container (Langfuse session) |
|
|
58
|
+
| `conversation_add_message(conversation_id, agent_id, input, output=None, reasoning=None, metadata=None, seed=None)` | Add a message turn (Langfuse trace) |
|
|
59
|
+
| `conversation_get(conversation_id, agent_id, include_messages=False, limit=100, offset=0)` | Retrieve conversation, optionally with messages |
|
|
60
|
+
| `conversation_list(agent_id=None, limit=20, offset=0, conversation_id="", datapack_id=None)` | List the user's conversations within a datapack (`agent_id` does not filter — trace attribution only). `datapack_id` (UUID) is optional — defaults to the pinned/tenant datapack; use `datapack_list` to look it up. `conversation_id` optional (omit for browse). |
|
|
61
|
+
| `conversation_update(conversation_id, agent_id, title=None, metadata=None)` | Update title or metadata |
|
|
62
|
+
| `conversation_delete(conversation_id, agent_id)` | Delete entire conversation (destructive) |
|
|
62
63
|
|
|
63
64
|
## Datapack Management Tools (5)
|
|
64
65
|
|
|
65
|
-
| Tool |
|
|
66
|
-
|
|
67
|
-
| `datapack_create(
|
|
68
|
-
| `datapack_list(
|
|
69
|
-
| `datapack_describe(
|
|
70
|
-
| `datapack_update(
|
|
71
|
-
| `datapack_delete(
|
|
66
|
+
| Tool | Purpose |
|
|
67
|
+
|------|---------|
|
|
68
|
+
| `datapack_create(name)` | Create new datapack |
|
|
69
|
+
| `datapack_list()` | List all datapacks |
|
|
70
|
+
| `datapack_describe(datapack_id, include_status=False)` | Describe datapack by UUID |
|
|
71
|
+
| `datapack_update(datapack_id, name=None, description=None)` | Rename a datapack and/or update its description. Pass at least one of `name` / `description`. |
|
|
72
|
+
| `datapack_delete(datapack_id)` | Delete datapack by UUID (irreversible) |
|
|
72
73
|
|
|
73
74
|
## Artifact Tools (2)
|
|
74
75
|
|
|
75
76
|
Content-addressed blob store scoped to a datapack. Files < 1 MB go inline in the DB; files ≥ 1 MB go to S3. Identity is SHA-256 — uploading the same bytes twice returns the same `content_hash`. Free-tier artifacts expire after 30 days of inactivity; pro-tier artifacts have no TTL.
|
|
76
77
|
|
|
77
|
-
| Tool |
|
|
78
|
-
|
|
79
|
-
| `artifact_put(
|
|
80
|
-
| `artifact_get(
|
|
78
|
+
| Tool | Purpose |
|
|
79
|
+
|------|---------|
|
|
80
|
+
| `artifact_put(filename, content_base64, content_type, conversation_id, datapack_id=None, agent_id=None)` | Upload a file to the datapack. Returns `{artifact_id, content_hash, filename, size_bytes, stored_in}`. Max 5 MiB (configurable via `MEKO_MAX_ARTIFACT_UPLOAD_BYTES`). |
|
|
81
|
+
| `artifact_get(content_hash, conversation_id, datapack_id=None, agent_id=None)` | Retrieve a file by SHA-256 hash. Small files return `content_base64` inline; large files (S3) are written to `~/.meko/artifacts/<hash>/<filename>` and `local_path` is returned. |
|
|
81
82
|
|
|
82
83
|
## Observability Tools (1)
|
|
83
84
|
|
|
84
|
-
| Tool |
|
|
85
|
-
|
|
86
|
-
| `track_token_usage(
|
|
85
|
+
| Tool | Purpose |
|
|
86
|
+
|------|---------|
|
|
87
|
+
| `track_token_usage(conversation_id, name, input_tokens=0, output_tokens=0, total_tokens=None, model=None, message_id=None, datapack_id=None)` | Record an LLM-cost GENERATION observation on the conversation's trace. Primarily called by first-party Meko services (e.g. inference_gateway) that know their LLM's exact token counts. Most end-agents (Cursor, Claude Desktop) don't have those counts at the MCP call layer, so this tool is rarely useful for third-party agents. |
|
|
87
88
|
|
|
88
89
|
## Platform capabilities NOT exposed via MCP
|
|
89
90
|
|
|
@@ -102,4 +103,4 @@ For knowledge-base content on Cloud, the canonical path is **UI upload**: Datapa
|
|
|
102
103
|
|
|
103
104
|
## Common Parameter Patterns
|
|
104
105
|
|
|
105
|
-
|
|
106
|
+
Memory and KB tools accept optional `datapack_id` to target a specific datapack. `agent_id` attributes writes and is enforced only on `conversation_get` (agent-owned — a wrong value returns `agent_id_mismatch`); it does **not** filter memory reads (`memory_search`/`memory_get_all`) or `conversation_list`, which return all your agents' rows for the user. See `tools-agent-id-conventions.md`.
|
|
@@ -16,7 +16,6 @@ creation and ingestion happen out of band — through the **Meko UI**
|
|
|
16
16
|
|
|
17
17
|
```
|
|
18
18
|
knowledgebase_search(
|
|
19
|
-
scope="read",
|
|
20
19
|
query="natural-language question",
|
|
21
20
|
agent_id="<your agent_id>",
|
|
22
21
|
conversation_id="<uuid from conversation_create>",
|
|
@@ -24,7 +23,7 @@ knowledgebase_search(
|
|
|
24
23
|
limit=10)
|
|
25
24
|
```
|
|
26
25
|
|
|
27
|
-
Required: `
|
|
26
|
+
Required: `query`, `agent_id`, `conversation_id`, `datapack_id`.
|
|
28
27
|
Unlike the memory tools, `datapack_id` has no default here — you must
|
|
29
28
|
pass it explicitly. `agent_id` is **ignored for filtering** on this
|
|
30
29
|
tool (KB results are team-shared on the datapack), but you still pass
|
|
@@ -7,7 +7,7 @@ These patterns are extracted from real agent sessions. Follow them to avoid wast
|
|
|
7
7
|
1. **Never retry the identical failed call more than once.** If it fails twice with the same error, it's not transient — diagnose the cause.
|
|
8
8
|
2. **Distinguish transient vs persistent failures.** "Connection already closed" is transient (retry once). "Permission denied" is persistent (stop, don't retry).
|
|
9
9
|
3. **Don't guess parameters sequentially.** If a tool fails with one parameter format, don't try 4 variations. Check this skill's docs for the correct format first.
|
|
10
|
-
4. **Use your session's `agent_id` consistently.** Pass the value the SessionStart hook injected (e.g. `claude_code:<repo-basename>` for Claude Code; `claude_desktop` for Claude Desktop) on every write and
|
|
10
|
+
4. **Use your session's `agent_id` consistently on writes.** Pass the value the SessionStart hook injected (e.g. `claude_code:<repo-basename>` for Claude Code; `claude_desktop` for Claude Desktop) on every write so rows are attributed correctly, and on `conversation_get` (which *does* enforce it — conversations are owned by the `agent_id` that created them; a wrong value returns `agent_id_mismatch`). Memory reads (`memory_search`/`memory_get_all`) and `conversation_list` are not affected — they return all your agents' rows for this user regardless of the `agent_id` passed. Don't switch write forms mid-session.
|
|
11
11
|
|
|
12
12
|
---
|
|
13
13
|
|
|
@@ -26,20 +26,6 @@ These patterns are extracted from real agent sessions. Follow them to avoid wast
|
|
|
26
26
|
|
|
27
27
|
---
|
|
28
28
|
|
|
29
|
-
## Scope parameter errors
|
|
30
|
-
|
|
31
|
-
**Error:** `Insufficient scope: 'all'. This tool requires 'read' or higher.`
|
|
32
|
-
|
|
33
|
-
The only valid scope values are: `"read"`, `"write"`, `"admin"`.
|
|
34
|
-
|
|
35
|
-
- Use `"read"` for all read operations (default choice)
|
|
36
|
-
- Use `"write"` for inserts, updates, creates, memory writes
|
|
37
|
-
- Use `"admin"` only for destructive deletes
|
|
38
|
-
|
|
39
|
-
**Never use:** `"all"`, `"readwrite"`, `"rw"`, or any other value.
|
|
40
|
-
|
|
41
|
-
---
|
|
42
|
-
|
|
43
29
|
## agent_id errors
|
|
44
30
|
|
|
45
31
|
On the Cloud multi-tenant schema, `agent_id` is a TEXT column value — not a PostgreSQL identifier — so arbitrary strings are accepted.
|
|
@@ -52,9 +38,9 @@ If you call `memory_add` with empty / None / whitespace `agent_id`, the server d
|
|
|
52
38
|
|
|
53
39
|
Fix: always pass a concrete non-empty `agent_id`. Fetch the value the SessionStart hook injected into `additionalContext` and pass it verbatim. Use `agent_id="meko_agent"` only when you genuinely want a fact in the cross-project pool (user identity, global preferences).
|
|
54
40
|
|
|
55
|
-
### "My reads return fewer results than I expected"
|
|
41
|
+
### "My memory reads return fewer results than I expected"
|
|
56
42
|
|
|
57
|
-
`memory_search` and `memory_get_all`
|
|
43
|
+
`memory_search` and `memory_get_all` do **not** filter by `agent_id` — a single call returns all of your memories for this user across every agent, so a mismatched `agent_id` is not the cause. If results seem thin, check that you're on the right datapack (`datapack_id`), that the write actually landed (mem0 extraction is lossy — see `tools-memory-vs-conversation.md`), and that the query is semantically close to the stored text. `conversation_get`, by contrast, *is* agent-owned: pass the exact `agent_id` the conversation was created under, or you'll get `agent_id_mismatch`. `conversation_list` is not agent-filtered — it returns the datapack's conversations for your user regardless of the `agent_id` passed.
|
|
58
44
|
|
|
59
45
|
### "I'm seeing rows tagged with legacy agent_id values"
|
|
60
46
|
|
|
@@ -66,7 +52,7 @@ Pre-existing data may be tagged `"agent"`, `"claude_code"`, `"cursor:<slug>"`, o
|
|
|
66
52
|
|
|
67
53
|
| Tool | Safe to retry? | Why |
|
|
68
54
|
|------|---------------|-----|
|
|
69
|
-
| All
|
|
55
|
+
| All read-only tools | Yes | Reads are idempotent |
|
|
70
56
|
| `memory_add` | Yes (once) | Mem0 has dedup logic |
|
|
71
57
|
| `memory_update` | Yes (once) | Overwrites same ID |
|
|
72
58
|
| `memory_delete_by_id` | Yes | Deleting already-deleted is a no-op |
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# user_id — identity scoping on Cloud Meko
|
|
2
2
|
|
|
3
|
-
On Cloud Meko, every write and every personal read carries a `user_id` that identifies **who** (the cognito account) is calling. The filter
|
|
3
|
+
On Cloud Meko, every write and every personal read carries a `user_id` that identifies **who** (the cognito account) is calling. The read filter for personal **memories** is `(datapack_id, user_id)` — you see all your own memories for this user regardless of which agent wrote them (`agent_id` labels the writer but does not filter memory reads). Personal **conversation fetches** (`conversation_get`) additionally enforce `agent_id` — conversations are owned by the agent that created them; `conversation_list` does not filter by it. Either way you only ever see content your own user_id wrote (or content other team members have explicitly promoted to Shared Knowledge, which is separate — see `tools-agent-id-conventions.md`).
|
|
4
4
|
|
|
5
5
|
## The default behavior: automatic user_id from cognito
|
|
6
6
|
|
|
@@ -9,7 +9,7 @@ On Cloud, the server resolves your `user_id` automatically from the cognito acco
|
|
|
9
9
|
This is the common case for Claude Code / Claude Desktop / Cursor:
|
|
10
10
|
|
|
11
11
|
```
|
|
12
|
-
memory_add(
|
|
12
|
+
memory_add(
|
|
13
13
|
text="User prefers concise responses, no emojis.",
|
|
14
14
|
agent_id="claude_code:meko-mcp-server",
|
|
15
15
|
conversation_id="<session conversation_id>")
|
|
@@ -24,21 +24,21 @@ Explicit `user_id` is an **optional sub-scope** for agents that serve multiple e
|
|
|
24
24
|
|
|
25
25
|
```
|
|
26
26
|
# Serving Alice
|
|
27
|
-
memory_add(
|
|
27
|
+
memory_add(
|
|
28
28
|
text="Alice prefers email communication. Has Pro plan.",
|
|
29
29
|
agent_id="support-bot",
|
|
30
30
|
user_id="alice_123",
|
|
31
31
|
conversation_id="<conv>")
|
|
32
32
|
|
|
33
33
|
# Serving Bob — completely separate partition, same cognito account
|
|
34
|
-
memory_add(
|
|
34
|
+
memory_add(
|
|
35
35
|
text="Bob prefers Slack. On Enterprise plan.",
|
|
36
36
|
agent_id="support-bot",
|
|
37
37
|
user_id="bob_456",
|
|
38
38
|
conversation_id="<conv>")
|
|
39
39
|
|
|
40
40
|
# Search only returns Alice's memories
|
|
41
|
-
memory_search(
|
|
41
|
+
memory_search(
|
|
42
42
|
query="communication preference",
|
|
43
43
|
agent_id="support-bot",
|
|
44
44
|
user_id="alice_123",
|
|
@@ -60,11 +60,12 @@ Mixing creates invisible data.
|
|
|
60
60
|
|
|
61
61
|
| Layer | Filter | Role of user_id |
|
|
62
62
|
|---|---|---|
|
|
63
|
-
| Personal memories (`memory_add`, `memory_search`, `memory_get_all`) | `(datapack_id, user_id
|
|
64
|
-
|
|
|
63
|
+
| Personal memories (`memory_add`, `memory_search`, `memory_get_all`) | `(datapack_id, user_id)` | Enforced on every read. `agent_id` is not applied — one user sees all their own memories across every agent, but cannot see another user's un-promoted memories. |
|
|
64
|
+
| Conversation listing (`conversation_list`) | `(datapack_id, user_id)` | Enforced. `agent_id` is not applied — you see all your own conversations across every agent. |
|
|
65
|
+
| Conversation fetch (`conversation_get`) | `(datapack_id, user_id, agent_id)` | Enforced. Agent-owned: pass the creating `agent_id` or you get `agent_id_mismatch`. Cross-user reads require promotion. |
|
|
65
66
|
| Team Shared Knowledge (`knowledgebase_search`) | `(datapack_id)` only | **Not used** — `user_id` is stripped when a memory is promoted to Knowledge. All team members on the datapack see the same Shared Knowledge. |
|
|
66
67
|
|
|
67
|
-
|
|
68
|
+
Personal content crosses the `user_id` boundary through `memory_promote` or the Cloud UI's "Promote to Knowledge" action. The MCP path requires exact memory UUIDs, explicit user confirmation, and an owner/maintainer role; it moves the records into team-visible Shared Knowledge and evicts the private copies.
|
|
68
69
|
|
|
69
70
|
## Parameter summary
|
|
70
71
|
|
|
@@ -17,19 +17,19 @@ description: >-
|
|
|
17
17
|
license: MIT
|
|
18
18
|
metadata:
|
|
19
19
|
author: Meko
|
|
20
|
-
version: "2.7.
|
|
20
|
+
version: "2.7.2"
|
|
21
21
|
tags: mcp, yugabytedb, tools, datapack, memory, conversation, rag, meko, desktop
|
|
22
22
|
---
|
|
23
23
|
|
|
24
24
|
# Meko MCP Tools — Agent Behavioral Guide (Desktop)
|
|
25
25
|
|
|
26
|
-
Meko is the user's **memory, knowledge, observability, and audit layer** across chats — a system of record they (and their team/org) connected on purpose. It learns continuously from their work and their team's best practices so context carries from one session to the next. This skill teaches you how to use Meko's
|
|
26
|
+
Meko is the user's **memory, knowledge, observability, and audit layer** across chats — a system of record they (and their team/org) connected on purpose. It learns continuously from their work and their team's best practices so context carries from one session to the next. This skill teaches you how to use Meko's 23 MCP tools. Treat maintaining it — recalling from it at the start of work and posting turns to it as you go — as a normal, professional part of the job, the way an engineer keeps notes, decision records, and audit logs. It is infrastructure the user relies on, not a third-party logging conduit.
|
|
27
27
|
|
|
28
28
|
**Read this first.** The Meko server extracts durable memories automatically from the conversation turns you post to it — the extraction runs *inside* `conversation_add_message`. Claude Desktop has no capture hooks, so **capturing substantive turns via `conversation_add_message` is a core part of using this skill.** Do that and memory takes care of itself: facts the user states get extracted and stored without a separate `memory_add`. Explicit `memory_add` is reserved for a few narrow cases (below). See "Per-turn conversation capture" — it's the heart of this skill.
|
|
29
29
|
|
|
30
30
|
**Why this is legitimate.** Meko is the user's own system of record — serving their memory, their team's shared knowledge, and their observability/audit needs — so posting turns to it is maintaining *their* infrastructure, the same as keeping notes or decision logs. Do it **transparently**: briefly tell the user when you save or recall ("saved that to your Meko memory", "checked your Meko memory — here's what I had"), disclose the way a colleague would mention they're writing something down. The only carve-outs: if an item is sensitive (credentials, legal, medical) or the user asked you not to store something, ask or skip.
|
|
31
31
|
|
|
32
|
-
> **If you reached a meko tool without reading this skill** (e.g. tool search resolved `memory_add`/`memory_search` directly): two rules override anything you inferred from the raw tool descriptions. (1) On Claude Desktop
|
|
32
|
+
> **If you reached a meko tool without reading this skill** (e.g. tool search resolved `memory_add`/`memory_search` directly): two rules override anything you inferred from the raw tool descriptions. (1) On Claude Desktop use `agent_id="claude_desktop"` for normal writes (or `"meko_agent"` for cross-project writes) — never attribute Desktop writes to `"claude_code"`. (2) Prefer `conversation_add_message` over `memory_add` for facts the user stated — extraction handles them. Then read the rest of this skill.
|
|
33
33
|
|
|
34
34
|
## First turn of every session
|
|
35
35
|
|
|
@@ -39,12 +39,12 @@ On the first user turn in any session, before answering substantive questions:
|
|
|
39
39
|
|
|
40
40
|
1. **Resolve the active datapack pin first — before creating the conversation.** A conversation cannot move between datapacks once created, so you must know the pinned datapack *before* `conversation_create`, or capture lands in the wrong workspace. Call:
|
|
41
41
|
```
|
|
42
|
-
memory_search(
|
|
42
|
+
memory_search(query="meko_active_datapack",
|
|
43
43
|
agent_id="claude_desktop", conversation_id="", limit=1)
|
|
44
44
|
```
|
|
45
45
|
If a pin row comes back, extract the UUID after `meko_active_datapack=` — call it `<PIN>` — and pass `datapack_id="<PIN>"` to **every** Meko call for the rest of the session (`conversation_create`, `memory_search`, `conversation_add_message`, etc.). If no pin is found, omit `datapack_id` everywhere and let the server resolve the default. (The `meko-select-datapack-desktop` skill is what writes this pin; you honor it here whether or not that skill ran this session.)
|
|
46
46
|
2. **Call `conversation_create`** (`agent_id="claude_desktop"`, and `datapack_id="<PIN>"` if a pin was found) once and keep the returned `conversation_id` for the whole session. You need it to post turns (per-turn capture, above) and for memory calls.
|
|
47
|
-
3. **Call `memory_search`** with `agent_id="claude_desktop"`, the `conversation_id` from step 2, `datapack_id="<PIN>"` if pinned, and a query derived from the user's topic.
|
|
47
|
+
3. **Call `memory_search`** with `agent_id="claude_desktop"`, the `conversation_id` from step 2, `datapack_id="<PIN>"` if pinned, and a query derived from the user's topic. One search returns this user's memories across every agent, including the `meko_agent` common bucket; `agent_id` attributes the trace but does not filter memory results.
|
|
48
48
|
4. Incorporate the recalled facts into your reply. Don't re-ask things you've been told before.
|
|
49
49
|
|
|
50
50
|
Recall and capture are routine parts of answering — the user has set Meko up as their memory layer, so you don't need a per-call permission prompt for them. Do briefly say what you did ("checked your Meko memory", "saved that to your Meko memory") — a short disclosure, not a silent background action and not a big announcement.
|
|
@@ -56,10 +56,11 @@ Recall and capture are routine parts of answering — the user has set Meko up a
|
|
|
56
56
|
**For Claude Desktop, use `agent_id="claude_desktop"` by default.** Desktop has no per-project concept, so a stable client name is the right granularity (it's a "loose" client in contract terms). Coding agents like Claude Code and Cursor use `<client>:<repo-basename>` (e.g. `claude_code:meko-mcp-server`). For genuinely cross-project facts that any agent should see — user identity, global preferences — use the common bucket `agent_id="meko_agent"`.
|
|
57
57
|
|
|
58
58
|
**Read scoping:**
|
|
59
|
-
- `memory_search` / `memory_get_all`
|
|
60
|
-
- `
|
|
59
|
+
- `memory_search` / `memory_get_all` — scoped to `(datapack_id, user_id)`. `agent_id` does not filter results, so one call returns this user's memories across every agent.
|
|
60
|
+
- `conversation_list` — also returns this user's conversations across agents. `conversation_get` is agent-owned and requires the exact `agent_id` that created the conversation.
|
|
61
|
+
- `knowledgebase_search` — scoped to `datapack_id` only. `agent_id` on the request is ignored. Returns the team's Shared Knowledge — uploaded documents plus promoted memories.
|
|
61
62
|
|
|
62
|
-
Some pre-existing rows use the older constant `agent_id="agent"` or ad-hoc shapes (e.g. `claude-desktop` with a hyphen). They remain readable
|
|
63
|
+
Some pre-existing rows use the older constant `agent_id="agent"` or ad-hoc shapes (e.g. `claude-desktop` with a hyphen). They remain readable; the stored value is still shown as provenance in the UI. See `tools-agent-id-conventions.md` for the full model.
|
|
63
64
|
|
|
64
65
|
## Per-turn conversation capture — the heart of this skill
|
|
65
66
|
|
|
@@ -68,7 +69,7 @@ Claude Desktop has no capture hooks, so you are the capture mechanism. **When th
|
|
|
68
69
|
Concretely, once per session call `conversation_create` (see "First turn of every session" above) to get a `conversation_id`, then for each substantive exchange:
|
|
69
70
|
|
|
70
71
|
```
|
|
71
|
-
conversation_add_message(
|
|
72
|
+
conversation_add_message(conversation_id="<id>",
|
|
72
73
|
agent_id="claude_desktop",
|
|
73
74
|
input="<the user's exact prompt>",
|
|
74
75
|
output="<your exact response>",
|
|
@@ -99,8 +100,8 @@ Use the right bucket: `agent_id="meko_agent"` for cross-project facts (user iden
|
|
|
99
100
|
|
|
100
101
|
Meko turns your volatile context window into persistent, shareable knowledge:
|
|
101
102
|
|
|
102
|
-
- **Personal memory** — Store who the user is, their preferences, role, and working style. Survives across sessions. Private to
|
|
103
|
-
- **Team-shared knowledge** —
|
|
103
|
+
- **Personal memory** — Store who the user is, their preferences, role, and working style. Survives across sessions. Private to the user and readable across all of their agents.
|
|
104
|
+
- **Team-shared knowledge** — Important memories can be promoted with `memory_promote` (after explicit confirmation) or from the Learnings tab in the Cloud UI. Uploaded documents land in the same place. The resulting content is visible to every datapack member and queryable via `knowledgebase_search`.
|
|
104
105
|
- **Conversation history** — Preserve full dialog exchanges with reasoning traces for audit, replay, and learning transfer.
|
|
105
106
|
- **Decision traces** — Capture how and why decisions were made, enabling debugging and continuous improvement.
|
|
106
107
|
|
|
@@ -110,7 +111,7 @@ Meko turns your volatile context window into persistent, shareable knowledge:
|
|
|
110
111
|
- You need to decide what to store, where, and how (personal memory vs. team-shared knowledge)
|
|
111
112
|
- You want to search the team's shared knowledge base (`knowledgebase_search`)
|
|
112
113
|
- You are managing datapacks
|
|
113
|
-
- You want to understand
|
|
114
|
+
- You want to understand `agent_id` conventions, or `datapack_id` routing
|
|
114
115
|
|
|
115
116
|
## Critical: Use Meko, not local storage
|
|
116
117
|
|
|
@@ -139,8 +140,9 @@ Your job is not to decide fact-by-fact what to `memory_add`. It's to **post ever
|
|
|
139
140
|
| User corrects or negates a prior fact | Post the turn (the new fact is extracted). Extraction is **additive**, so if the stale fact must not survive, `memory_search` for it and `memory_update` / `memory_delete_by_id`. |
|
|
140
141
|
| User explicitly says "remember this" | `memory_add` (verbatim), in addition to posting the turn. |
|
|
141
142
|
| A durable fact lives only in your output or a tool result | `memory_add`. Extraction reads the user side of the turn, so it won't capture these. |
|
|
142
|
-
| User asks "what do you know about X?" |
|
|
143
|
+
| User asks "what do you know about X?" | Two-call sweep: one `memory_search(agent_id="claude_desktop")` covers this user's memories across every agent; `knowledgebase_search(datapack_id=<X>)` covers team-shared knowledge. |
|
|
143
144
|
| User asks "what do we (as a team) know about X?" or about uploaded documents | `knowledgebase_search` (returns uploaded docs + promoted memories). |
|
|
145
|
+
| User asks to share specific private memories with the team | Follow the `memory_promote` confirmation workflow below. Never promote based on a fuzzy search result or implied consent. |
|
|
144
146
|
| User provides structured/tabular data (CSV, data dictionary) | Not natively supported via MCP. Point the user at the UI's Add Knowledge upload; do not `memory_add` row-by-row. |
|
|
145
147
|
| User wants to add documents to the team's knowledge base | Point them at the Cloud UI flow — Datapack → Actions → **Add Knowledge** (PDF/TXT/MD/JSON/MP4, 5MB each, 10/batch). MCP ingestion tools are not available on Cloud. |
|
|
146
148
|
|
|
@@ -151,7 +153,7 @@ The **what and when** is covered above ("Per-turn conversation capture" — post
|
|
|
151
153
|
`conversation_create` — once per session; keep the `conversation_id`:
|
|
152
154
|
|
|
153
155
|
```
|
|
154
|
-
conversation_create(
|
|
156
|
+
conversation_create(agent_id="claude_desktop",
|
|
155
157
|
title="<descriptive topic>")
|
|
156
158
|
```
|
|
157
159
|
|
|
@@ -170,29 +172,23 @@ conversation_create(scope="write", agent_id="claude_desktop",
|
|
|
170
172
|
|
|
171
173
|
Only for the three exception cases (explicit "remember this", output-only/tool-derived fact, overwriting correction) — not for facts the user stated, which the posted turn already captures. Example of an explicit save:
|
|
172
174
|
```
|
|
173
|
-
memory_add(
|
|
175
|
+
memory_add(
|
|
174
176
|
text="Remember: deploy scripts must be run from the repo root, never a subdir",
|
|
175
177
|
agent_id="claude_desktop",
|
|
176
178
|
conversation_id="<id from conversation_create>")
|
|
177
179
|
```
|
|
178
|
-
Required parameters: `
|
|
180
|
+
Required parameters: `text`, `agent_id`, `conversation_id`. On **writes**, `conversation_id` must be a real UUID from `conversation_create` — writes attached to a nil/empty conversation are orphaned in Langfuse traces. Empty / missing `agent_id` is NOT rejected — the server quietly falls back to the `meko_agent` common bucket. Pass `agent_id="claude_desktop"` explicitly so this client's writes stay in the right bucket and don't pollute the cross-project pool.
|
|
179
181
|
|
|
180
182
|
### memory_search — correct call pattern
|
|
181
183
|
```
|
|
182
|
-
memory_search(
|
|
184
|
+
memory_search(
|
|
183
185
|
query="user role",
|
|
184
186
|
agent_id="claude_desktop",
|
|
185
187
|
conversation_id="<id from conversation_create>")
|
|
186
188
|
```
|
|
187
|
-
Required parameters: `
|
|
189
|
+
Required parameters: `query`, `agent_id`, `conversation_id`. On **`memory_search`** specifically, `conversation_id` is used only for Langfuse trace nesting — it does NOT filter results. Pass the session's UUID so the search span appears under the active conversation; passing `""` is accepted and means "don't nest under any trace." For conversation-scoped filtering use the separate `run_id` parameter.
|
|
188
190
|
|
|
189
|
-
|
|
190
|
-
```
|
|
191
|
-
memory_search(scope="read", query="user role",
|
|
192
|
-
agent_id="meko_agent", conversation_id="<id>")
|
|
193
|
-
```
|
|
194
|
-
|
|
195
|
-
Empty string also resolves to `meko_agent` server-side. To search across other clients' specific buckets (e.g. `claude_code:some-repo`), call `memory_search` once per known agent_id — there's no single-call fan-out.
|
|
191
|
+
`agent_id` attributes the search trace but does not filter the returned memories. One call includes rows written by `claude_desktop`, `meko_agent`, coding agents, and legacy agent values for this user.
|
|
196
192
|
|
|
197
193
|
**Interpreting results — trust the memory rows, be skeptical of stray `relations`.** `memory_search` returns three lists: `results` (the actual stored memories — trust these), `relations`, and `promoted_relations` (entity-graph edges). Two things to know so you don't discard useful results:
|
|
198
194
|
|
|
@@ -201,44 +197,55 @@ Empty string also resolves to `meko_agent` server-side. To search across other c
|
|
|
201
197
|
|
|
202
198
|
### knowledgebase_search — correct call pattern
|
|
203
199
|
```
|
|
204
|
-
knowledgebase_search(
|
|
200
|
+
knowledgebase_search(
|
|
205
201
|
query="...",
|
|
206
202
|
agent_id="<anything — ignored>",
|
|
207
203
|
conversation_id="<id>",
|
|
208
204
|
datapack_id="<datapack UUID>",
|
|
209
205
|
limit=10)
|
|
210
206
|
```
|
|
211
|
-
Required parameters: `
|
|
207
|
+
Required parameters: `query`, `agent_id`, `conversation_id`, `datapack_id`. `datapack_id` has no default here. `agent_id` is ignored for filtering — results are the team's shared knowledge on the datapack regardless of what you pass.
|
|
208
|
+
|
|
209
|
+
### memory_promote — explicit confirmation required
|
|
210
|
+
|
|
211
|
+
`memory_promote` is destructive and non-idempotent: it makes selected content visible to the datapack, moves the memories and graph context into shared knowledge, and evicts the private mem0 records. There is no MCP rollback.
|
|
212
|
+
|
|
213
|
+
1. Use `memory_search` or `memory_get_all` to obtain exact memory UUIDs. Never pass relation or graph-edge IDs.
|
|
214
|
+
2. Present each exact candidate memory and its UUID to the user.
|
|
215
|
+
3. State that promotion is one-way, team-visible, and removes the private records.
|
|
216
|
+
4. Obtain explicit confirmation for those exact candidates before calling `memory_promote`.
|
|
217
|
+
5. Call it with the active `conversation_id`, exact `memory_ids`, `agent_id="claude_desktop"`, and intended `datapack_id`. If a legacy deployment exposes `scope`, use the minimum `write` scope; do not escalate to `admin`.
|
|
218
|
+
6. Only datapack owners and maintainers may promote. If a viewer/contributor receives 403, or any authentication/permission error occurs, report it and stop. Do not retry with a broader scope, another datapack, or altered identity.
|
|
219
|
+
7. After success, optionally verify visibility with `knowledgebase_search`. Do not claim rollback is possible.
|
|
220
|
+
|
|
221
|
+
The Cloud UI's Learnings tab remains an alternative user-driven path.
|
|
212
222
|
|
|
213
223
|
### Critical parameter rules
|
|
214
224
|
|
|
215
|
-
- **agent_id**: `"claude_desktop"` for this client's project-less
|
|
225
|
+
- **agent_id**: `"claude_desktop"` for this client's project-less writes and trace attribution. Use `"meko_agent"` when writing genuinely cross-project facts such as user identity. Empty/missing values on writes route to `meko_agent`. The value does not filter `memory_search`, `memory_get_all`, `conversation_list`, or `knowledgebase_search`; `conversation_get` is the read that requires the creating agent's exact value. See `tools-agent-id-conventions.md`.
|
|
216
226
|
- **conversation_id**: Behavior varies by tool. On write tools (`memory_add`, `conversation_add_message`) pass a real UUID from `conversation_create` — a nil/empty value orphans the Langfuse trace. On `memory_search` it's used only for trace nesting (not for filtering), and empty-string is accepted; on `memory_get_all` and most read tools, still pass the session UUID when you have one. Never pass `"current"` or other non-UUID junk — only a real UUID or an intentionally empty string where the tool allows it.
|
|
217
|
-
- **scope**: Only `"read"`, `"write"`, or `"admin"`. Nothing else.
|
|
218
227
|
- **When in doubt about optional parameters, omit them.** The server has sensible defaults.
|
|
219
228
|
|
|
220
229
|
## Key concepts
|
|
221
230
|
|
|
222
|
-
1. **
|
|
223
|
-
2. **
|
|
224
|
-
3. **
|
|
225
|
-
4. **
|
|
226
|
-
5. **
|
|
227
|
-
6. **
|
|
228
|
-
7. **
|
|
229
|
-
8. **
|
|
230
|
-
9. **
|
|
231
|
-
10. **
|
|
232
|
-
11. **Error recovery**: Connection errors are common with memory tools — see `tools-troubleshooting.md` for retry strategies and fallbacks.
|
|
231
|
+
1. **23 tools in 6 groups**: Memory (8 — including `memory_promote`), Conversation (6), Knowledge Base (1 — `knowledgebase_search`), Datapack (5), Artifacts (2 — `artifact_put`, `artifact_get`), Observability (1 — `track_token_usage`). Memory is captured automatically from turns posted with `conversation_add_message` — post each substantive turn and the server extracts durable memories from it. KB ingestion is UI-only (Datapack → Actions → Add Knowledge); raw SQL is not exposed. See `tools-overview.md`.
|
|
232
|
+
2. **datapack_id routing**: DB, RAG, and memory tools accept optional `datapack_id` (default datapack if omitted). `knowledgebase_search` is the exception: `datapack_id` is **required** there.
|
|
233
|
+
3. **agent_id is multi-agent**: For Claude Desktop, use `agent_id="claude_desktop"` for normal writes and `agent_id="meko_agent"` for cross-project facts. Writes are attributed to `(datapack_id, user_id, agent_id)`. Personal memory reads and `conversation_list` span all of this user's agents; `conversation_get` remains agent-owned. `knowledgebase_search` ignores `agent_id` entirely. See `tools-agent-id-conventions.md`.
|
|
234
|
+
4. **Personal memory vs. team-shared knowledge**: Un-promoted memories are scoped per-user — readable across all of that user's agents, but no other user can see them. With explicit confirmation, `memory_promote` moves exact memories into Shared Knowledge; the Cloud UI's Learnings tab is an alternative. Promoted content is visible to every datapack member. `knowledgebase_search` is the MCP read path for both Shared Knowledge and uploaded documents.
|
|
235
|
+
5. **conversation_id IS the Langfuse trace ID**: every MCP tool call inside a conversation becomes a span under that trace. Observable in the Meko UI's Observe hub. See `tools-memory-vs-conversation.md`.
|
|
236
|
+
6. **Adding documents to the team knowledge base is UI-only on Cloud today**: user uploads files via Datapack → Actions → **Add Knowledge** (PDF/TXT/MD/JSON/MP4, 5MB each). The MCP ingestion tools are not available on Cloud. See `tools-rag-workflow.md`.
|
|
237
|
+
7. **Manual conversation capture**: Claude Desktop does not have automatic capture hooks. Create and save conversations explicitly when sessions are valuable.
|
|
238
|
+
8. **Memory latencies are not cheap**: observed on prod 2026-05-07 — `memory_add` 12-21s/call (calls OpenAI), `memory_search` 2-6s/call. Budget accordingly.
|
|
239
|
+
9. **Known limitations**: see `tools-known-limitations.md` before attempting write operations on tools that appear in the catalog but aren't available on Cloud.
|
|
240
|
+
10. **Error recovery**: Connection errors are common with memory tools — see `tools-troubleshooting.md` for retry strategies and fallbacks.
|
|
233
241
|
|
|
234
242
|
## Reference sections
|
|
235
243
|
|
|
236
244
|
| File | What it covers |
|
|
237
245
|
|------|---------------|
|
|
238
|
-
| `tools-overview.md` | Complete catalog of all
|
|
246
|
+
| `tools-overview.md` | Complete catalog of all 23 tools with decision tree |
|
|
239
247
|
| `tools-cookbook.md` | Per-tool examples with correct parameters, responses, and error cases |
|
|
240
248
|
| `tools-memory-vs-conversation.md` | When to use memory tools vs conversation tools |
|
|
241
249
|
| `tools-rag-workflow.md` | End-to-end RAG pipeline flow |
|
|
242
|
-
| `tools-scope-permissions.md` | read/write/admin permission hierarchy |
|
|
243
250
|
| `tools-troubleshooting.md` | Error recovery, retry strategies, stuck pipeline diagnosis |
|
|
244
251
|
| `tools-known-limitations.md` | Broken tools, missing capabilities, permission gaps |
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Meko MCP Tools — Claude Desktop Setup
|
|
2
2
|
|
|
3
|
-
Use the Meko MCP tools skill natively in Claude Desktop. Because Desktop has no lifecycle hooks, the skill teaches Claude to capture each substantive turn by posting it via `conversation_add_message` (the server extracts durable memories from those posts), to reserve explicit `memory_add` for the narrow cases (the user says "remember this", a fact lives only in the assistant's output or a tool result, or a corrected fact needs overwriting), to classify information, to use all
|
|
3
|
+
Use the Meko MCP tools skill natively in Claude Desktop. Because Desktop has no lifecycle hooks, the skill teaches Claude to capture each substantive turn by posting it via `conversation_add_message` (the server extracts durable memories from those posts), to reserve explicit `memory_add` for the narrow cases (the user says "remember this", a fact lives only in the assistant's output or a tool result, or a corrected fact needs overwriting), to classify information, to use all <!--tool-count-->23<!--/tool-count--> Meko MCP tools correctly, and to handle errors gracefully.
|
|
4
4
|
|
|
5
5
|
## Setup
|
|
6
6
|
|
|
@@ -12,21 +12,21 @@ In Claude Desktop: Customize > Personal plugins > Browse plugin marketplace. Sea
|
|
|
12
12
|
|
|
13
13
|
**Option B — .skill file:**
|
|
14
14
|
|
|
15
|
-
Download `meko-mcp-tools-desktop.skill` from the [releases page](https://github.com/yugabyte/meko-
|
|
15
|
+
Download `meko-mcp-tools-desktop.skill` from the [releases page](https://github.com/yugabyte/meko-skills/releases) and drag it into Claude Desktop (or use Customize > Skills > Import).
|
|
16
16
|
|
|
17
17
|
**Option C — Manual install:**
|
|
18
18
|
|
|
19
19
|
```bash
|
|
20
|
-
git clone https://github.com/yugabyte/meko-
|
|
20
|
+
git clone https://github.com/yugabyte/meko-skills.git
|
|
21
21
|
```
|
|
22
22
|
|
|
23
|
-
Copy `skills/
|
|
23
|
+
Copy `skills/meko-mcp-tools-desktop/` into Claude Desktop's skill directory. The exact path depends on your Desktop version — check Customize > Skills for the install location.
|
|
24
24
|
|
|
25
25
|
### Step 2: Configure the MCP server
|
|
26
26
|
|
|
27
27
|
Add the Meko MCP server to your Claude Desktop configuration. Go to Claude > Settings > Developer > Edit Config and add a `mcpServers` entry.
|
|
28
28
|
|
|
29
|
-
**Local HTTP** (for
|
|
29
|
+
**Local HTTP** (for local Meko development environments):
|
|
30
30
|
|
|
31
31
|
```json
|
|
32
32
|
{
|
|
@@ -70,7 +70,7 @@ Replace `/path/to/meko-mcp-server` with your cloned repo path and set the correc
|
|
|
70
70
|
{
|
|
71
71
|
"mcpServers": {
|
|
72
72
|
"meko": {
|
|
73
|
-
"url": "https
|
|
73
|
+
"url": "https://mcp.mekodata.ai/mcp"
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
76
|
}
|
|
@@ -6,15 +6,15 @@ description: Maps reference files to their topics for the meko-mcp-tools-desktop
|
|
|
6
6
|
# Reference Sections
|
|
7
7
|
|
|
8
8
|
## Tool Selection & Catalog
|
|
9
|
-
- [tools-overview.md](tools-overview.md) — Complete catalog of all
|
|
9
|
+
- [tools-overview.md](tools-overview.md) — Complete catalog of all 23 tools with a decision tree
|
|
10
10
|
|
|
11
11
|
## Tool-Specific Guidance
|
|
12
12
|
- [tools-agent-id-conventions.md](tools-agent-id-conventions.md) — Multi-agent model: the three buckets (project `<client>:<repo-basename>`, common `meko_agent`, loose client name), personal vs. team-shared read surfaces
|
|
13
13
|
- [tools-memory-vs-conversation.md](tools-memory-vs-conversation.md) — Decision framework: memory_add vs conversation_create/conversation_add_message, plus Desktop capture guidance
|
|
14
|
+
- [tools-conversation-reasoning.md](tools-conversation-reasoning.md) — Authoring the `reasoning` and `plan` fields on `conversation_add_message`, with worked examples
|
|
14
15
|
- [tools-rag-workflow.md](tools-rag-workflow.md) — End-to-end RAG pipeline: source registration, index creation, status polling
|
|
15
16
|
|
|
16
17
|
## Safety & Permissions
|
|
17
|
-
- [tools-scope-permissions.md](tools-scope-permissions.md) — read/write/admin permission hierarchy and per-tool requirements
|
|
18
18
|
|
|
19
19
|
## Practical Usage
|
|
20
20
|
- [tools-cookbook.md](tools-cookbook.md) — Per-tool examples with correct parameters, expected responses, and common errors
|