MCP Servers / development / mcp-pystub

mcp-pystub

JSON →
nonedevelopment

Auto-detect stubbable packages for Python exe builds (PyInstaller/Nuitka) and generate minimal stub code to reduce executable size

Install
How to run this server
[ { "cmd": "pip install mcp-pystub", "imports": [] } ]
server path: mcp-pystub
Tools
What this server exposes
analyze
Analyze import graph to auto-detect stubbable packages and output submodule stub hints for C-extension elimination
graph
Visualize import graph as nodes and edges
check
Deep analysis of a specific package's usage
generate
Generate minimal stub code for a package and output build instructions
generate_submodule
Generate submodule stubs to indirectly eliminate C-extension packages
Configuration
Environment & auth
authnone
Resources
mcp-pystub — MCP Server · libregistry