Lightning-fast MCP server for Trilium Notes
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add trilium-bolt --env TRILIUM_TOKEN='<TRILIUM_TOKEN>' -- npx -y trilium-bolt~/.codex/config.toml
[mcp_servers.trilium-bolt]
command = "npx"
args = ["-y", "trilium-bolt"]
env = { TRILIUM_TOKEN = "<TRILIUM_TOKEN>" }
# codex mcp add trilium-bolt --env TRILIUM_TOKEN='<TRILIUM_TOKEN>' -- npx -y trilium-bolt~/.cursor/mcp.json
{
"mcpServers": {
"trilium-bolt": {
"command": "npx",
"args": [
"-y",
"trilium-bolt"
],
"env": {
"TRILIUM_TOKEN": "<TRILIUM_TOKEN>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"trilium-bolt": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"trilium-bolt"
],
"env": {
"TRILIUM_TOKEN": "<TRILIUM_TOKEN>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"trilium-bolt": {
"command": "npx",
"args": [
"-y",
"trilium-bolt"
],
"env": {
"TRILIUM_TOKEN": "<TRILIUM_TOKEN>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"trilium-bolt": {
"command": "npx",
"args": [
"-y",
"trilium-bolt"
],
"env": {
"TRILIUM_TOKEN": "<TRILIUM_TOKEN>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"trilium-bolt": {
"command": "npx",
"args": [
"-y",
"trilium-bolt"
],
"env": {
"TRILIUM_TOKEN": "<TRILIUM_TOKEN>"
}
}
}
}Environment variables
TRILIUM_TOKEN
Replace the placeholders with your own credentials and keep them out of version control.