Comment by jacob019
1 month ago
https://github.com/jacobsparts/agentlib
See CodeAgent or subrepl.py if you're just interested in the REPL orchestration. I also have a Python REPL MCP server that works with CC. It isn't published, but I could share it by request.
My favorite part of code agent is the /repl command. I can drop into the REPL mid session and load modules, poke around with APIs and data, or just point Claude in the right direction. Sometimes a snippet of code is worth 1000 words.
I request you to publish it! :-D
I haven't had time to make a repo, so I'll just drop this here for you: https://jacobstoner.com/subrepl_mcp.py
Just make sure you have the deps installed and add it to CC as a stdio mcp server. Tested on Linux only. I use it daily.
Okay, I will :)
I'll add a new repo for it, maybe this evening, and I'll reply here with a link.
^^
Thanks!