feat: add host environment variable support

This commit is contained in:
Felipe Meres
2025-04-10 08:24:44 -04:00
parent 51398322bf
commit 44c8d1540f
2 changed files with 19 additions and 17 deletions

View File

@@ -43,7 +43,8 @@ There are two ways to configure the environment with the Obsidian REST API Key.
"mcp-obsidian"
],
"env": {
"OBSIDIAN_API_KEY":"<your_api_key_here>"
"OBSIDIAN_API_KEY": "<your_api_key_here>",
"OBSIDIAN_HOST": "<your_obsidian_host>"
}
}
}
@@ -53,6 +54,7 @@ There are two ways to configure the environment with the Obsidian REST API Key.
```
OBSIDIAN_API_KEY=your_api_key_here
OBSIDIAN_HOST=your_obsidian_host
```
Note: You can find the key in the Obsidian plugin config.