feature/streamable-http-transport #1

Merged
torjus merged 8 commits from feature/streamable-http-transport into master 2026-02-03 21:23:39 +00:00
Showing only changes of commit e6315eb94b - Show all commits

View File

@@ -20,10 +20,10 @@ Search and query NixOS configuration options across multiple nixpkgs revisions.
```bash
# Build the package
nix build github:torjus/labmcp
nix build git+https://git.t-juice.club/torjus/labmcp
# Or run directly
nix run github:torjus/labmcp -- --help
nix run git+https://git.t-juice.club/torjus/labmcp -- --help
```
### From Source
@@ -52,6 +52,22 @@ Configure in your MCP client (e.g., Claude Desktop):
}
```
Alternatively, if you have Nix installed, you can use the flake directly without installing the package:
```json
{
"mcpServers": {
"nixos-options": {
"command": "nix",
"args": ["run", "git+https://git.t-juice.club/torjus/labmcp", "--", "serve"],
"env": {
"NIXOS_OPTIONS_DATABASE": "sqlite:///path/to/nixos-options.db"
}
}
}
}
```
Then start the server:
```bash
@@ -178,7 +194,7 @@ A NixOS module is provided for running the MCP server as a systemd service.
```nix
{
inputs.labmcp.url = "github:torjus/labmcp";
inputs.labmcp.url = "git+https://git.t-juice.club/torjus/labmcp";
outputs = { self, nixpkgs, labmcp }: {
nixosConfigurations.myhost = nixpkgs.lib.nixosSystem {