LogSeq用のMCPサーバー
API を介して LogSeq と対話するための MCP サーバー。
コンポーネント
ツール
サーバーは、LogSeq と対話するための複数のツールを実装しています。
list_graphs: 利用可能なすべてのグラフを一覧表示します
list_pages: 現在のグラフ内のすべてのページを一覧表示します
get_page_content: 1ページのコンテンツを返す
検索: すべてのページのコンテンツを検索
create_page: 新しいページを作成する
update_page: 既存のページのコンテンツを更新する
delete_page: ページを削除する
プロンプトの例
まずClaudeにLogSeqを使うように指示するのが良いでしょう。そうすれば、常にツールが呼び出されるようになります。
プロンプトの例:
最新の会議メモの内容を取得して要約する
プロジェクトXが言及されているすべてのページを検索し、その背景を説明します。
今日の会議メモを新しいページとして作成する
プロジェクトのステータスページを最新のアップデートで更新します
構成
LogSeq API 構成
LogSeq API 設定を使用して環境を構成するには、次の 2 つの方法があります。
サーバー設定に追加(推奨)
必要な変数を含む
.env
ファイルを作業ディレクトリに作成します。
発達
建物
配布用のパッケージを準備するには:
依存関係を同期し、ロックファイルを更新します。
デバッグ
MCPサーバーはstdio経由で実行されるため、デバッグが困難になる場合があります。最適なデバッグ環境を実現するには、 MCP Inspectorの使用をお勧めします。
MCP インスペクターは、次のようにnpm
経由で起動できます。
local-only server
The server can only run on the client's local machine because it depends on local resources.
API を介してLogSeqと対話します。
Related MCP Servers
- AsecurityAlicenseAqualityA server that enables LLMs to programmatically interact with Logseq knowledge graphs, allowing creation and management of pages and blocks.Last updated -1024MIT License
- -securityFlicense-qualityEnables querying log data stored in SQLite databases through the Model Context Protocol, allowing natural language interactions with log analysis.Last updated -
- -securityFlicense-qualityA Model Context Protocol server that provides AI assistants with structured access to your Logseq knowledge graph, enabling retrieval, searching, analysis, and creation of content within your personal knowledge base.Last updated -50
- AsecurityAlicenseAqualityEnables interaction with Datadog's monitoring platform to search logs, search trace spans, and perform trace span aggregation for analysis.Last updated -3MIT License