This commit is contained in:
2026-05-19 01:46:12 +03:00
parent a143d512ab
commit 5b67e23060
10 changed files with 912 additions and 30 deletions
+12
View File
@@ -27,6 +27,18 @@ The bot initializes and migrates its database schema automatically on startup.
`/exportdb` sends the SQLite file when available, plus a `.sql` dump and a JSON backup.
`/importdb` restores the database from the JSON backup format.
MCP tool servers can be configured through `MCP_SERVERS` in `.env`. Use a JSON array with `stdio` or `http` transports. Example:
```bash
MCP_SERVERS=[{"name":"local-tools","transport":"stdio","command":"node","args":["./mcp-server.js"]}]
```
If you want to disable all built-in local tools and use only MCP tools, set:
```bash
DISABLE_LOCAL_TOOLS=true
```
For local Ollama document RAG, install an embedding model locally and set it in `.env`:
```bash