add nixos mcp server
This commit is contained in:
parent
c31744739f
commit
9360ae4543
2 changed files with 34 additions and 5 deletions
|
|
@ -2,12 +2,19 @@
|
|||
inputs,
|
||||
constants,
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
|
||||
let
|
||||
inherit (lib) getExe;
|
||||
in
|
||||
{
|
||||
imports = [ inputs.synix.nixosModules.open-webui-oci ];
|
||||
imports = [
|
||||
inputs.synix.nixosModules.open-webui-oci
|
||||
inputs.synix.nixosModules.mcpo
|
||||
];
|
||||
|
||||
services.open-webui-oci = {
|
||||
enable = true;
|
||||
|
|
@ -21,6 +28,28 @@
|
|||
};
|
||||
};
|
||||
|
||||
services.mcpo = {
|
||||
enable = true;
|
||||
package = pkgs.synix.mcpo;
|
||||
port = 8765;
|
||||
settings = {
|
||||
mcpServers = {
|
||||
# fetcher-mcp = {
|
||||
# command = getExe pkgs.synix.fetcher-mcp;
|
||||
# url = "http://127.0.0.1:8001/fetcher-mcp";
|
||||
# };
|
||||
nixos = {
|
||||
command = getExe pkgs.nix;
|
||||
args = [
|
||||
"run"
|
||||
"github:utensils/mcp-nixos"
|
||||
"--"
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
# sops = {
|
||||
# secrets."open-webui-oci/stt-api-key" = { };
|
||||
# secrets."open-webui-oci/tts-api-key" = { };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue