mcp-logseq-server
70
This project is an MCP server designed to interact with LogSeq through its API, offering capabilities to list, search, create, update, and delete pages and graphs within LogSeq. It provides tools for seamless integration and command execution.
MCP server for LogSeq
MCP server to interact with LogSeq via its API.
Components
Tools
The server implements multiple tools to interact with LogSeq:
- list_graphs: Lists all available graphs
- list_pages: Lists all pages in the current graph
- get_page_content: Return the content of a single page
- search: Search for content across all pages
- create_page: Create a new page
- update_page: Update content of an existing page
- delete_page: Delete a page
Example prompts
It's good to first instruct Claude to use LogSeq. Then it will always call the tool.
Configuration
LogSeq API Configuration
You can configure the environment with LogSeq API settings in two ways:
- Add to server config (preferred)
- Create a .env file in the working directory with the required variables.