feat: print remote config on MCP service start
Make scripts/mcp_service.sh start create the token env file when missing, then start the user service and print the remote MCP URL, Authorization header, and client JSON. Document the one-command startup flow and cover automatic token creation with tests.
This commit is contained in:
+2
-1
@@ -41,8 +41,9 @@ OBSIDIAN_MCP_EXPOSE_PATHS=false
|
||||
# Run locally:
|
||||
# OBSIDIAN_MCP_TOKEN='<long-random-token>' obsidian-wiki-mcp --transport streamable-http
|
||||
# Or manage a user-level service:
|
||||
# bash scripts/mcp_service.sh new-token
|
||||
# bash scripts/mcp_service.sh start
|
||||
# Rotate token later with:
|
||||
# bash scripts/mcp_service.sh new-token
|
||||
OBSIDIAN_MCP_TOKEN=
|
||||
OBSIDIAN_MCP_HOST=127.0.0.1
|
||||
OBSIDIAN_MCP_PORT=8765
|
||||
|
||||
Reference in New Issue
Block a user