Home/Nixinator: Configure context7, zotero and obsidian MCP servers

This commit is contained in:
2026-09-14 23:19:04 +02:00
parent 5fe5c81916
commit 5d1791914e
+25 -5
View File
@@ -142,21 +142,37 @@
mcp = { mcp = {
enable = true; enable = true;
servers = { servers = {
deepwiki = { context7 = {
# https://mcpservers.org/servers/devin/deepwiki command = "npx";
url = "https://mcp.deepwiki.com/mcp"; args = ["-y" "@upstash/context7-mcp"];
env = {
CONTEXT7_API_KEY.file = nixosConfig.sops.secrets.context7-api-key.path;
};
}; };
# deepwiki = {
# # https://mcpservers.org/servers/devin/deepwiki
# url = "https://mcp.deepwiki.com/mcp";
# };
# github = { # github = {
# # https://mcpservers.org/servers/github-mcp-server # # https://mcpservers.org/servers/github-mcp-server
# url = "https://api.githubcopilot.com/mcp/"; # url = "https://api.githubcopilot.com/mcp/";
# headers = { # headers = {
# Authorization = "Bearer ${input:github_mcp_pat}"; # TODO: How to get the token from sops-nix into here? # Authorization = "Bearer ${input:github_mcp_pat}";
# }; # };
# }; # };
nixos = { nixos = {
command = "uvx"; command = "uvx";
args = ["mcp-nixos"]; args = ["mcp-nixos"];
}; };
obsidian = {
command = "uvx";
args = ["mcp-obsidian"];
env = {
OBSIDIAN_API_KEY.file = nixosConfig.sops.secrets.obsidian-rest-api-key.path;
OBSIDIAN_HOST = "127.0.0.1";
OBSIDIAN_PORT = "27124";
};
};
svelte = { svelte = {
# claude mcp add -t stdio -s [scope] svelte -- npx -y @sveltejs/mcp # claude mcp add -t stdio -s [scope] svelte -- npx -y @sveltejs/mcp
command = "npx"; command = "npx";
@@ -168,6 +184,10 @@
command = "npx"; command = "npx";
args = ["-y" "shadcn@latest" "mcp"]; args = ["-y" "shadcn@latest" "mcp"];
}; };
zotero = {
command = "uvx";
args = ["zotero-mcp-server"];
};
}; };
}; };
@@ -316,7 +336,7 @@
"question" = "allow"; "question" = "allow";
}; };
plugin = [ plugin = [
"opencode-claude-auth@latest" # https://github.com/griffinmartin/opencode-claude-auth # "opencode-claude-auth@latest" # https://github.com/griffinmartin/opencode-claude-auth
"@tarquinen/opencode-dcp@latest" # better compacting "@tarquinen/opencode-dcp@latest" # better compacting
# "opencode-lmstudio@0.3.1" # "opencode-lmstudio@0.3.1"
# "@slkiser/opencode-quota" # "@slkiser/opencode-quota"