Add authenticated MCP inventory tools

This commit is contained in:
lucio committed 2026-05-22 00:03:50 -07:00
1 parent 0873dfc398
commit 62d799a60d
6 files changed
+1224 -6

No files matched your search

+6
View File
@@ -11,6 +11,7 @@ import (
type Config struct {
Server ServerConfig `toml:"server"`
Admin AdminConfig `toml:"admin"`
MCP MCPConfig `toml:"mcp"`
Database DatabaseConfig `toml:"database"`
Slugs SlugConfig `toml:"slugs"`
Upload UploadConfig `toml:"upload"`
@@ -30,6 +31,11 @@ type AdminConfig struct {
SessionHours int `toml:"session_hours"`
}
type MCPConfig struct {
Enabled bool `toml:"enabled"`
APIKey string `toml:"api_key"`
}
type DatabaseConfig struct {
Path string `toml:"path"`
}