feat: Add streamable-http transport, .env configuration, and enhanced logging #29
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds several key enhancements to the NetBox MCP Server to improve usability, configuration flexibility, and debugging capabilities.
Features Added
🌐 Dual Transport Support
⚙️ Flexible Configuration System
.env
file support: Easy configuration management withenv.sample
template🔍 Enhanced Logging & Debugging
📚 Documentation Updates
Configuration Options
CLI Usage Examples
Breaking Changes
python-dotenv
Testing
Files Changed
server.py
: Major enhancements with transport support, configuration, and loggingREADME.md
: Comprehensive documentation updatenetbox_client.py
: Enhanced debugging and error handling.gitignore
: Added to ignore.env
,__pycache__
, etc.env.sample
: Configuration templaterequirements.txt
&pyproject.toml
: Updated dependenciesStatistics: 7 files changed, 604 additions, 46 deletions
Related Issues
This addresses common user requests for:
Note: This maintains full backward compatibility while adding significant new functionality.