home: add labmcp service, remove zls, add .mcp.json
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
33
.mcp.json
Normal file
33
.mcp.json
Normal file
@@ -0,0 +1,33 @@
|
|||||||
|
{
|
||||||
|
"mcpServers": {
|
||||||
|
"nixpkgs-options": {
|
||||||
|
"command": "nix",
|
||||||
|
"args": ["run", "git+https://git.t-juice.club/torjus/labmcp#nixpkgs-search", "--", "options", "serve"],
|
||||||
|
"env": {
|
||||||
|
"NIXPKGS_SEARCH_DATABASE": "sqlite:///run/user/1000/labmcp/nixpkgs-search.db"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"nixpkgs-packages": {
|
||||||
|
"command": "nix",
|
||||||
|
"args": ["run", "git+https://git.t-juice.club/torjus/labmcp#nixpkgs-search", "--", "packages", "serve"],
|
||||||
|
"env": {
|
||||||
|
"NIXPKGS_SEARCH_DATABASE": "sqlite:///run/user/1000/labmcp/nixpkgs-search.db"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"hm-options": {
|
||||||
|
"command": "nix",
|
||||||
|
"args": ["run", "git+https://git.t-juice.club/torjus/labmcp#hm-options", "--", "serve"],
|
||||||
|
"env": {
|
||||||
|
"HM_OPTIONS_DATABASE": "sqlite:///run/user/1000/labmcp/hm-options.db"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"git-explorer": {
|
||||||
|
"command": "nix",
|
||||||
|
"args": ["run", "git+https://git.t-juice.club/torjus/labmcp#git-explorer", "--", "serve"],
|
||||||
|
"env": {
|
||||||
|
"GIT_REPO_PATH": "/home/torjus/git/nixos-servers"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@@ -64,7 +64,6 @@
|
|||||||
yaml-language-server
|
yaml-language-server
|
||||||
lua-language-server
|
lua-language-server
|
||||||
clang-tools
|
clang-tools
|
||||||
zls
|
|
||||||
ruff
|
ruff
|
||||||
];
|
];
|
||||||
home.sessionVariables.EDITOR = "nvim";
|
home.sessionVariables.EDITOR = "nvim";
|
||||||
|
|||||||
@@ -33,6 +33,7 @@
|
|||||||
../../services/backup-home.nix
|
../../services/backup-home.nix
|
||||||
../../services/ghettoptt.nix
|
../../services/ghettoptt.nix
|
||||||
../../services/natstonotify.nix
|
../../services/natstonotify.nix
|
||||||
|
../../services/labmcp.nix
|
||||||
../../sops
|
../../sops
|
||||||
../../ssh
|
../../ssh
|
||||||
../../zsh
|
../../zsh
|
||||||
|
|||||||
@@ -18,6 +18,7 @@
|
|||||||
imports = [
|
imports = [
|
||||||
inputs.sops-nix.homeManagerModules.sops
|
inputs.sops-nix.homeManagerModules.sops
|
||||||
../../sops
|
../../sops
|
||||||
|
../../services/labmcp.nix
|
||||||
../../editor/neovim
|
../../editor/neovim
|
||||||
../../programs/firefox
|
../../programs/firefox
|
||||||
../../programs/tmux
|
../../programs/tmux
|
||||||
|
|||||||
6
home/services/labmcp.nix
Normal file
6
home/services/labmcp.nix
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
# Ensure runtime directory exists for labmcp MCP servers
|
||||||
|
systemd.user.tmpfiles.rules = [
|
||||||
|
"d %t/labmcp 0755 - - -"
|
||||||
|
];
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user