Skip to content

Conversation

@javadbayazi
Copy link

@javadbayazi javadbayazi commented Dec 18, 2025

Thank you for this fantastic initiative!

These changes enable running a PowerMCP server directly on Hugging Face Spaces (see it in action here: javadbayazi-grid-mcp.hf.space.

Now, anyone can add PowerMCP to their AI assistant (chatGPT, VScode copilot, Cluad ...) and start working with power grid. Basically no environment setup or coding experience required.

To add PowerMCP to your AI assistant, simply click the link below and follow the instructions on Hugging Face:

👉 Add PowerMCP to your assistant

- Add pyproject.toml with modern Python packaging config
- Add setup.py for backward compatibility
- Add MANIFEST.in to include data files in distributions
- Add requirements.txt for core dependencies
- Update .gitignore with comprehensive Python project patterns
- Enable installation via: pip install git+https://github.com/javadbayazi/PowerMCP.git
…avoid shadowing

- Renamed modules to prevent conflicts with actual pandapower/pypsa libraries
- Added tools.py for implementations, clean __init__.py for exports
- Added root __init__.py for package-level imports
- Updated pyproject.toml with new package names
- Updated .gitignore with Cursor, Gradio, and output file patterns
- Replace hardcoded network list with dynamic discovery using inspect
- Add get_available_networks() function to list all available networks
- Support 79+ networks including IEEE, PEGASE, RTE, CIGRE and others
- Add case-insensitive matching for network names
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant