@lancernix/siyuan-mcp
MCP server for SiYuan Note
Versions
1.4.0latest1.3.01.2.01.0.21.0.1+ show 1 moreshow less
1.0.0Tools 68
smart_create_note Smartly create a note (auto-match notebook and path)
upsert_note_content Update or create note content (clears old content first)
get_todos Get uncompleted todo items (- [ ] syntax), filterable by notebook or path
find_note Search document titles by keyword
smart_search Smart search across document titles and content
change_av_layout Change attribute view layout type
set_av_filters Set attribute view filter configuration
set_av_group Set attribute view group configuration
set_av_sorts Set attribute view sort configuration
sort_av_key Sort attribute view keys (columns) order
sort_av_view_key Sort attribute view keys within a specific view
insert_block Insert a block
prepend_block Prepend a child block to a parent block
append_block Append a child block to a parent block
update_block Update a block's content
delete_block Delete a block
move_block Move a block to a new position
get_block_kramdown Get block kramdown source
get_child_blocks Get child blocks of a parent block
fold_block Fold a block
unfold_block Unfold a block
transfer_block_ref Transfer block references from one block to another
create_doc Create a document in a notebook
rename_doc Rename a document by storage path
remove_doc Remove a document by storage path
move_docs Move documents
get_hpath_by_path Get human-readable path based on storage path
get_hpath_by_id Get human-readable path based on block ID
get_ids_by_hpath Get document IDs by human-readable path
get_path_by_id Get storage path and notebook by block ID
rename_doc_by_id Rename a document by ID
remove_doc_by_id Remove a document by ID
move_docs_by_id Move documents by ID
render_template Render a SiYuan template file
render_sprig Render a Sprig template string (e.g. date path templates)
sql_query Execute a SQL query
flush_transaction Flush all pending transactions
export_md_content Export document content as Markdown
export_resources Export files or directories as a zip archive
set_av_block_attr Set a single attribute view block cell value (field value for a row)
add_av_blocks Add one or more rows to an attribute view, binding existing blocks or creating detached rows
remove_av_blocks Remove one or more rows from an attribute view
add_av_key Add a new field (column) to an attribute view across all views
remove_av_key Remove a field (column) and all its values from an attribute view
list_notebooks List all notebooks
open_notebook Open a notebook
close_notebook Close a notebook
rename_notebook Rename a notebook
create_notebook Create a new notebook
remove_notebook Remove a notebook
get_notebook_conf Get notebook configuration
set_notebook_conf Save notebook configuration
get_block_attrs Get block attributes
set_block_attrs Set block attributes
render_attribute_view Render an attribute view (database) with rows and columns
get_attribute_view Get attribute view (database) definition without rendering rows
get_av_primary_key_values Get attribute view primary key values (lightweight row listing)
search_attribute_view Search attribute views (databases) by name
get_av_filter_sort Get attribute view filter and sort configuration
get_file Get file content
put_file Write file content
remove_file Remove a file
read_dir Read directory contents
rename_file Rename a file
system_status Check system status
system_version Check system version
workspace_info Get workspace information
get_current_time Get current system time
Permissions 3
network medium shell high env_vars low Scan Findings 0
No scan findings.