Skip to main content
Glama

MCP server for LogSeq

by ergut

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 つの方法があります。

  1. サーバー設定に追加(推奨)
{ "mcp-logseq": { "command": "uvx", "args": [ "mcp-logseq" ], "env": { "LOGSEQ_API_TOKEN": "<your_api_token_here>", "LOGSEQ_API_URL": "http://localhost:12315" } } }
  1. 必要な変数を含む.envファイルを作業ディレクトリに作成します。
LOGSEQ_API_TOKEN=your_token_here LOGSEQ_API_URL=http://localhost:12315

発達

建物

配布用のパッケージを準備するには:

  1. 依存関係を同期し、ロックファイルを更新します。
uv sync

デバッグ

MCPサーバーはstdio経由で実行されるため、デバッグが困難になる場合があります。最適なデバッグ環境を実現するには、 MCP Inspectorの使用をお勧めします。

MCP インスペクターは、次のようにnpm経由で起動できます。

npx @modelcontextprotocol/inspector uv --directory /path/to/mcp-logseq run mcp-logseq
Install Server
A
security – no known vulnerabilities
F
license - not found
A
quality - confirmed to work

local-only server

The server can only run on the client's local machine because it depends on local resources.

API を介してLogSeqと対話します。

  1. コンポーネント
    1. ツール
    2. プロンプトの例
  2. 構成
    1. LogSeq API 構成
  3. 発達
    1. 建物
    2. デバッグ

Related MCP Servers

  • A
    security
    A
    license
    A
    quality
    A server that enables LLMs to programmatically interact with Logseq knowledge graphs, allowing creation and management of pages and blocks.
    Last updated -
    10
    17
    Python
    MIT License
  • -
    security
    F
    license
    -
    quality
    Enables querying log data stored in SQLite databases through the Model Context Protocol, allowing natural language interactions with log analysis.
    Last updated -
    Python
  • -
    security
    F
    license
    -
    quality
    A 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 -
    19
    TypeScript
    • Apple
  • A
    security
    A
    license
    A
    quality
    Enables interaction with Datadog's monitoring platform to search logs, search trace spans, and perform trace span aggregation for analysis.
    Last updated -
    3
    TypeScript
    MIT License

View all related MCP servers

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ergut/mcp-logseq-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server