mirror of
https://github.com/logseq/logseq.git
synced 2026-04-30 08:56:29 +00:00
enhance(cli): graph args+options can be local files or dirs
This affects all cli commands that take graph args. Also tweaked mcp-server host+port defaults to match the app
This commit is contained in:
7
deps/cli/README.md
vendored
7
deps/cli/README.md
vendored
@@ -125,6 +125,13 @@ Exported 16 properties, 16 classes and 36 pages
|
||||
# Append text to current page
|
||||
$ logseq append add this text -a my-token
|
||||
Success!
|
||||
|
||||
# Start mcp-server against a local desktop graph
|
||||
$ logseq mcp-server -g yep
|
||||
MCP Streamable HTTP Server started on 127.0.0.1:12315
|
||||
# Start mcp-server against a local graph file
|
||||
$ logseq mcp-server -g ~/Downloads/logseq_db_yep_1751032977.sqlite
|
||||
MCP Streamable HTTP Server started on 127.0.0.1:12315
|
||||
```
|
||||
|
||||
## API
|
||||
|
||||
Reference in New Issue
Block a user