-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathconfig.toml
More file actions
45 lines (35 loc) · 1.33 KB
/
Copy pathconfig.toml
File metadata and controls
45 lines (35 loc) · 1.33 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# Example logseq-mcp config.
# Copy to ~/.config/logseq-mcp/config.toml (or point LOGSEQ_MCP_CONFIG at it).
# Token and URL come from the environment (LOGSEQ_API_TOKEN / LOGSEQ_API_URL),
# never from this file. Every section is optional — with no config file at all
# the server runs on safe defaults.
[read]
resolve_depth = 2 # 0 = don't expand ((uuid)); page-refs always -> name
[write]
allow_agents_write_any = false
agent_write_prefix = "byAgent" # the agent may only write under byAgent/
[search]
files_path = "" # e.g. "/Users/you/LifeGraph"; empty = file-search off
[blacklist]
pages = ["apikey"] # page + its subpages hidden; [[apikey]] mentions redacted
[tasks]
allow_status_change = false
[audit_log]
enabled = false
# --- custom queries ---
# advanced query as a self-contained EDN map (its own :rules and :inputs)
[queries.week_plan]
description = "Latest week-plan items (blocks)"
file = "queries/week_plan.edn"
register_as_tool = true
resolve_block_refs = true
# advanced query that reuses a shared rules file
[queries.frisbee_tasks]
description = "Open tasks under #_work/frisbee"
file = "queries/frisbee_tasks.edn"
rules = "rules/common.edn"
register_as_tool = true
# short simple query inline (no file needed)
[queries.now]
description = "NOW priority-A tasks"
query = "(and (todo NOW) (priority A))"