Skip to content

Commit fe71839

Browse files
andrewgazelkacodex
andauthored
mcp: manage python repl sessions (#123)
Co-authored-by: Codex <codex@openai.com>
1 parent be7beda commit fe71839

14 files changed

Lines changed: 1787 additions & 728 deletions

File tree

flake.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@
8585
minestom.servers.hello = ./packages/minestom/servers/hello;
8686
nixCargoUnit = ./packages/nix-cargo-unit;
8787
ociImageBuilder = ./packages/oci-image-builder;
88-
pythonMcpServer = ./packages/python-mcp-server;
88+
mcp = ./packages/mcp;
8989
tonboArtifacts = ./packages/tonbo-artifacts;
9090
vineflower = ./packages/vineflower;
9191
};

lib/default.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -694,7 +694,7 @@ let
694694
inherit pkgs;
695695
ix = ixForPackages;
696696
};
697-
python-mcp-server = pkgs.callPackage paths.packages.pythonMcpServer {
697+
mcp = pkgs.callPackage paths.packages.mcp {
698698
ix = ixForPackages;
699699
};
700700
tonbo-artifacts = pkgs.callPackage paths.packages.tonboArtifacts { };

lib/per-system.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ in
299299
llm-clippy
300300
nix-cargo-unit
301301
oci-image-builder
302-
python-mcp-server
302+
mcp
303303
;
304304
minestom-hello-server-jar = repoPackages.minestom.helloServerJar;
305305
}

modules/profiles/base/default.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -390,12 +390,12 @@ in
390390
;
391391
})
392392
++ [
393-
# Persistent Python session exposed over MCP. Lets an agent inside
393+
# Persistent Python sessions exposed over MCP. Lets an agent inside
394394
# the VM (or one shelling in via `ix shell`) hand structured Python
395395
# off to a client without round-tripping shell quoting, and keeps
396396
# the interpreter warm across calls so iterative debugging on a
397397
# live process or memfd doesn't re-import every step.
398-
ix.packages.python-mcp-server
398+
ix.packages.mcp
399399
];
400400

401401
# Pre-create the workspace at boot so login.nu can cd into it

0 commit comments

Comments
 (0)