feat(config): enhance CrateDocs MCP server configuration
Some checks failed
Rust / build (push) Failing after 14s

- Changed `ExecStart` to bind the server to `127.0.0.1` and added explicit `http` scheme.
- Removed unnecessary trailing whitespace across the file for cleaner formatting.
This commit is contained in:
Harald Hoyer 2025-05-27 17:40:52 +02:00
parent 8440fc1c9a
commit 0de57e61eb

View file

@ -32,7 +32,7 @@ in
wantedBy = [ "multi-user.target" ];
serviceConfig = {
ExecStart = "${lib.getExe pkgs.cratedocs-mcp} --port ${toString cfg.port}";
ExecStart = "${lib.getExe pkgs.cratedocs-mcp} http -a 127.0.0.1:${toString cfg.port}";
Restart = "always";
User = cfg.user;
Group = cfg.group;