Skip to content

Commit 461c546

Browse files
authored
feat: remove mcp server (#7)
1 parent e63b4cf commit 461c546

File tree

11 files changed

+3
-1154
lines changed

11 files changed

+3
-1154
lines changed

dev_shells/default.nix

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@
4242

4343
justix = {
4444
enable = true;
45-
mcpServer.enable = true;
4645
justfile.config = {
4746
recipes = {
4847
default = {

devenv_modules/default.nix

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
{
1515
options.justix = {
1616
enable = lib.mkEnableOption "justix";
17-
mcpServer.enable = lib.mkEnableOption "a justfile MCP server";
1817

1918
just.package = lib.mkPackageOption pkgs "just" { };
2019

@@ -49,13 +48,6 @@
4948
enterShell = ''
5049
ln --force --symbolic ${cfg.justfile.finalPackage} ${config.devenv.root}/.justfile
5150
'';
52-
53-
claude.code.mcpServers = lib.mkIf cfg.mcpServer.enable {
54-
justix-mcp = {
55-
type = "stdio";
56-
command = lib.getExe (getSystem pkgs.stdenv.hostPlatform.system).packages.mcp;
57-
};
58-
};
5951
})
6052

6153
(lib.mkIf (!cfg.enable) {

packages/default.nix

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,13 @@
22
{
33
perSystem =
44
{
5-
inputs',
65
pkgs,
76
system,
87
...
98
}:
109
{
11-
packages =
12-
let
13-
inherit (inputs.nixpkgs-just.legacyPackages.${system}) just;
14-
in
15-
{
16-
justfile = pkgs.callPackage ./justfile.nix {
17-
inherit just;
18-
};
19-
mcp = pkgs.callPackage ./mcp {
20-
inherit (inputs'.bun2nix.packages) bun2nix;
21-
};
22-
};
10+
packages.justfile = pkgs.callPackage ./justfile.nix {
11+
inherit (inputs.nixpkgs-just.legacyPackages.${system}) just;
12+
};
2313
};
2414
}

packages/mcp/.gitignore

Lines changed: 0 additions & 34 deletions
This file was deleted.

packages/mcp/bun.lock

Lines changed: 0 additions & 322 deletions
This file was deleted.

packages/mcp/bun.nix

Lines changed: 0 additions & 617 deletions
This file was deleted.

packages/mcp/default.nix

Lines changed: 0 additions & 23 deletions
This file was deleted.

packages/mcp/index.ts

Lines changed: 0 additions & 73 deletions
This file was deleted.

packages/mcp/package.json

Lines changed: 0 additions & 20 deletions
This file was deleted.

packages/mcp/schema/justfile.ts

Lines changed: 0 additions & 18 deletions
This file was deleted.

0 commit comments

Comments
 (0)