Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
LOGSEQ_API_URLNoURL of your Logseq instancehttp://127.0.0.1:12315
LOGSEQ_API_TOKENYesYour Logseq API token generated from Logseq: API → Authorization tokens

Tools

Functions exposed to the LLM to take actions

NameDescription
logseq_insert_block

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_page

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_page

Retrieves the currently active page or block in the user's workspace

logseq_get_page

Retrieve detailed information about a specific page including metadata and content

logseq_get_all_pages

List all pages in the graph with basic metadata

logseq_edit_block

Enter editing mode for a specific block

logseq_exit_editing_mode

Exit current editing mode

logseq_get_current_page_content

Get hierarchical block structure of current page

logseq_get_editing_block_content

Get content of currently edited block

logseq_get_page_content

Get block hierarchy for specific page

Prompts

Interactive templates invoked by user choice

NameDescription
logseq_insert_blockCreate a new block in Logseq
logseq_create_pageCreate a new Logseq page
logseq_get_current_pageGet the currently active page or block
logseq_get_pageRetrieve information about a specific page
logseq_get_all_pagesList all pages in the graph
logseq_edit_blockEdit specific block content
logseq_exit_editing_modeExit block editing mode
logseq_get_current_page_contentGet current page's content by each block
logseq_get_editing_block_contentGet content of active editing block
logseq_get_page_contentGet block page content by each block

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

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