
dailydaniel/logseq-mcp
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
dailydaniel/logseq-mcp は [https://github.com/dailydaniel/logseq-mcp.] からインポートされた MCP サーバーの候補です
概要
dailydaniel/logseq-mcp は [https://github.com/dailydaniel/logseq-mcp.] からインポートされた MCP サーバーの候補です
概要(AI 翻訳)
Logseq グラフを AI エージェントのメモリとワークスペースに入力 A
モデル コンテキスト プロトコル サーバー
安全スコープの書き込みとLogseq、あなたの監査コース
毎日のジャーナル、およびツールとして露出された確認されたクエリ。 FastMCPで構築
公式[mcpパッケージの高レベルAPI)。
Logseqのfile/Markdown(「OG」)バージョンとプレーンテキストファイルをターゲットに グラフが良好なエージェントメモリを作る理由の一部です: git-syncable, greppable, 耐久、ロックイン無し。 新しいDB(SQLite)バージョンがアンダーリングを変更 スキーマ; いくつかの方法は、そこに異なる動作する可能性があります。
なぜ
エージェントは、耐久性のあるメモリを必要とし、すでに1つを維持しています。 ザ・オブ・ザ・ 欠けている部分はあなたが信頼できるアクセスです: エージェントは広く読み、書きする必要があります 便利で、しかし、それが何をすべきかに触れることはありません — そして、あなたができないことを行うことはありません お問い合わせ 3つの設計選択は可能にします:
-名前空間スコープの書き込み。 エージェントは、独自のプレフィックスでのみ書き込み
([byAgent/]) をデフォルトで)、および 1 つの非適度に狭いクロスネームスペースチャネル
タスクの [TODO/DOING/DONE マーカーを変更できます。 ブラックリスト
このページはすべての読み込みから隠され、赤字化されています。
- **毎日のジャーナルの監査証跡.
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
Logseq MCP Server
Turn your Logseq graph into memory and workspace for AI agents. A
Model Context Protocol server for
Logseq with safety-scoped writes, an audit trail in your
daily journal, and verified queries exposed as tools. Built on FastMCP (the
high-level API of the official mcp package).
Targets the file/Markdown (“OG”) version of Logseq — and plain-text files are part of why a graph makes good agent memory: git-syncable, greppable, durable, no lock-in. The newer DB (SQLite) version changed the underlying schema; some methods may behave differently there.
Why
Agents need durable memory, and you already maintain one — your graph. The missing piece is access you can trust: an agent should read broadly and write usefully, but never touch what it shouldn’t — and never do anything you can’t see. Three design choices make that possible:
- Namespace-scoped writes. Agents write only under their own prefix
(
byAgent/by default), plus one deliberately narrow cross-namespace channel that can change nothing but a task’sTODO/DOING/DONEmarker. Blacklisted pages are hidden and redacted from every read. - An audit trail in your daily journal. Every successful write appends a
line like
22:30 [[byAgent]] wrote [[byAgent/readingList/...]]to today’s journal — reviewing your agents’ work becomes part of a morning routine you already have. - Verified queries as tools. Ship known-good Datalog from config as named
tools (
query_week_plan, …), so agents don’t compose datascript by hand and cheaper models stay reliable.
How I use it
I run a small fleet of Claude Code agents with this server on an always-on Mac mini, against my live personal graph:
- Nightly research. A link dropped into the reading list from the phone; at
night an agent claims it (
status:: researching), reads the article — or shallow-clones and reads the repo — writes a structured summary onto the page and flips it toread. - Morning brief. At 08:30 a small model assembles a one-page dashboard — what was read overnight, week-plan progress, current NOW/DOING tasks — and sends a single push notification.
- One journal for everyone. The human’s tasks and the agents’ audit lines interleave in the same daily note:
インストール
uvx mcp-server-logseq設定
{
"mcpServers": {
"logseq": {
"command": "uvx",
"args": ["mcp-server-logseq"],
"env": {
"LOGSEQ_API_TOKEN": "<YOUR_TOKEN>",
"LOGSEQ_API_URL": "http://127.0.0.1:12315"
}
}
}
}