Skip to main content
Glama
xgq18237

SiYuan MCP Server

by xgq18237

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
SIYUAN_URLNoFull SiYuan URL, overrides HOST and PORT if set.
SIYUAN_HOSTNoSiYuan host, default 127.0.0.1, ignored if SIYUAN_URL is set.127.0.0.1
SIYUAN_PORTNoSiYuan port, default 6806, ignored if SIYUAN_URL is set.6806
SIYUAN_TOKENYesSiYuan API Token, required for authentication.
SIYUAN_MCP_DEBUGNoSet to '1' to output debug info to stderr.0
SIYUAN_MCP_TIMEOUT_MSNoTimeout per API request in milliseconds.120000
SIYUAN_MCP_UPLOAD_ROOTSNoColon/semicolon-separated list of allowed upload directories for local files.current working directory
SIYUAN_MCP_MAX_TEXT_CHARSNoMaximum text preview length for MCP.30000
SIYUAN_MCP_MAX_RESPONSE_BYTESNoMaximum response byte size.10485760
SIYUAN_MCP_PROTECT_DESTRUCTIVENoExplicitly set to 'true' or '1' to block destructive operations.false
SIYUAN_MCP_WRITE_PATH_PREFIXESNoComma-separated allowed write path prefixes in workspace./data/assets,/temp

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

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/xgq18237/siyuan_mcp_server'

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