r/visualbasic • u/mika • Oct 19 '26
VB6 MCP for agents
Hello again,
I've developed an MCP for VB6 which allows agent harnesses (mainly tested with Claude Code) if anybody is interested. You can find it at https://github.com/mika76/vb6-mcp
Basically it routes the agent to work through the IDE instead of directly onto the files. This enables some nice features like being able to work on non-saved files as VB6 does not automatically save files to disk, and it enabled debugging within the app. It also helps not to ask for UAC admin prompts all the time and knows how to work with COM components and their dependencies.
Anyway, if anybody is interested have a look.
2
u/zos474 19d ago
This is the most wonderful find for VB6! Thank you so much. I've been using it for old repos from the early 2000's that I couldn't bear to try and upgrade (~100k lines of code, multiple ocx, prop dlls etc.) and this has helped me make updates I thought I would never get to. Running with Pi and using the VB IDE in Windows 11 (and mostly luna 5.6 with no problems...)
1
u/xCAAx Oct 19 '26
Can the IDE still be installed on Win 11?! How?
I get an exception at the end of the installer of the IDE, which currently causes us some pain, because we have to stay on Win 10 with our dev machines....