MCP (Model Context Protocol) server for reading and writing an Obsidian vault, gated by OAuth-issued JWT bearer tokens. See README.md for setup.
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
{
|
||||
"Logging": {
|
||||
"LogLevel": {
|
||||
"Default": "Information",
|
||||
"Microsoft.AspNetCore": "Warning",
|
||||
"Microsoft.AspNetCore.Authentication": "Warning"
|
||||
}
|
||||
},
|
||||
"AllowedHosts": "*",
|
||||
|
||||
// Vault 路径配置(生产值通过 env 覆盖)
|
||||
"Vault": {
|
||||
"Root": "./test-vault",
|
||||
"Blacklist": [],
|
||||
"WriteWhitelist": []
|
||||
},
|
||||
|
||||
// JWT 验签配置(生产值必须通过 env 覆盖)
|
||||
"Jwt": {
|
||||
"Issuer": "",
|
||||
"Audience": "obsidian",
|
||||
"SigningKey": {
|
||||
"Current": "",
|
||||
"Previous": ""
|
||||
}
|
||||
},
|
||||
|
||||
// /.well-known/oauth-authorization-server 元数据(生产值必须通过 env 覆盖)
|
||||
"Mcp": {
|
||||
"OAuthDiscovery": {
|
||||
"Issuer": "",
|
||||
"AuthorizationEndpoint": "",
|
||||
"TokenEndpoint": "",
|
||||
"RegistrationEndpoint": ""
|
||||
}
|
||||
},
|
||||
|
||||
// 审计日志目录(容器内 /app/logs)
|
||||
"AuditLog": {
|
||||
"Directory": "/app/logs"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user