Overview
The MCP server for LogSeq is a tool designed to interact with LogSeq via its API, allowing users to manage and manipulate their LogSeq data effectively.
To use the MCP server, configure it with your LogSeq API settings and utilize the provided tools to perform various operations such as listing graphs, creating pages, and updating content.
- List all available graphs and pages in LogSeq - Retrieve content from specific pages - Search for content across all pages - Create, update, and delete pages
- Summarizing meeting notes from LogSeq
- Searching for specific project mentions within LogSeq
- Creating new pages for daily notes or project updates
Add to your AI client
Use these steps to connect MCP server for LogSeq in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"ergut-mcp-logseq-server-mcp-mirror": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-ergut-mcp-logseq-server-mcp-mirror"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"ergut-mcp-logseq-server-mcp-mirror": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-ergut-mcp-logseq-server-mcp-mirror"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"ergut-mcp-logseq-server-mcp-mirror": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-ergut-mcp-logseq-server-mcp-mirror"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"ergut-mcp-logseq-server-mcp-mirror": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-ergut-mcp-logseq-server-mcp-mirror"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"ergut-mcp-logseq-server-mcp-mirror": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-ergut-mcp-logseq-server-mcp-mirror"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"ergut-mcp-logseq-server-mcp-mirror": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-ergut-mcp-logseq-server-mcp-mirror"
]
}
}
}FAQ
How do I configure the MCP server?
You can configure the server by adding your LogSeq API settings to the server config or by creating a `.env` file with the required variables.
What tools are available in the MCP server?
The server includes tools for listing graphs, pages, retrieving page content, searching, creating, updating, and deleting pages.
Is there a debugging tool available?
Yes, the MCP Inspector can be used for debugging the MCP server.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":1207,"uuid":"52fea27a-6ae0-4be9-b33c-7a2633b42f02","name":"ergut_mcp-logseq-server","title":"MCP server for LogSeq","description":"Mirror of","avatar_url":"https://avatars.githubusercontent.com/u/192820360?v=4","created_at":"$D2025-01-28T02:38:08.545Z","updated_at":"$D2025-02-23T07:20:27.492Z","status":"created","author_name":"MCP-Mirror","author_avatar_url":"https://avatars.githubusercontent.com/u/192820360?v=4","tags":"logseq,mcp-server,api-integration","category":"developer-tools","is_featured":false,"sort":1,"url":"https://github.com/MCP-Mirror/ergut_mcp-logseq-server","target":"_self","content":"$29","summary":"$2a","img_url":null,"type":null,"metadata":null,"user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]