Logseq MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| LOGSEQ_API_URL | No | URL of your Logseq instance | http://127.0.0.1:12315 |
| LOGSEQ_API_TOKEN | Yes | Your Logseq API token generated from Logseq: API → Authorization tokens |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| logseq_insert_blockA | Insert a new block into Logseq. Can create: - Page-level blocks (use is_page_block=true with page name as parent_block) - Nested blocks under existing blocks - Blocks with custom UUIDs for precise reference Supports before/after positioning and property management. |
| logseq_create_pageB | Create a new page in Logseq with optional properties. Features: - Journal page creation with date formatting - Custom page properties (tags, status, etc.) - Format selection (Markdown/Org-mode) - Automatic first block creation Perfect for template-based page creation and knowledge management. |
| logseq_get_current_pageB | Retrieves the currently active page or block in the user's workspace |
| logseq_get_pageC | Retrieve detailed information about a specific page including metadata and content |
| logseq_get_all_pagesC | List all pages in the graph with basic metadata |
| logseq_edit_blockC | Enter editing mode for a specific block |
| logseq_exit_editing_modeC | Exit current editing mode |
| logseq_get_current_page_contentB | Get hierarchical block structure of current page |
| logseq_get_editing_block_contentB | Get content of currently edited block |
| logseq_get_page_contentC | Get block hierarchy for specific page |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| logseq_insert_block | Create a new block in Logseq |
| logseq_create_page | Create a new Logseq page |
| logseq_get_current_page | Get the currently active page or block |
| logseq_get_page | Retrieve information about a specific page |
| logseq_get_all_pages | List all pages in the graph |
| logseq_edit_block | Edit specific block content |
| logseq_exit_editing_mode | Exit block editing mode |
| logseq_get_current_page_content | Get current page's content by each block |
| logseq_get_editing_block_content | Get content of active editing block |
| logseq_get_page_content | Get block page content by each block |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/dailydaniel/logseq-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server