V1.6.2
Stata-MCP v1.6.2 Release Notes
Release Date: August 15, 2025
Version: 1.6.2
License: Apache License 2.0
π― Overview
Stata-MCP v1.6.2 is a maintenance release focused on improving code architecture and maintainability. This release introduces a significant refactoring of the CLI entry point, separating it from the main module initialization to enhance modularity and follow Python best practices.
π§ Code Architecture Improvements
CLI Refactoring
- Refactored: Moved CLI entry point from
__init__.pyto dedicated CLI module - Added: New dedicated CLI module at
stata_mcp/cli/_cli.py - Improved: Better separation of concerns between module initialization and CLI functionality
- Enhanced: Cleaner code organization following Python packaging standards
Module Structure
- Changed: CLI functionality now resides in dedicated module instead of
__init__.py - Added: Proper CLI argument parsing and handling in separate module
- Improved: Reduced complexity in main module initialization
π¦ Technical Improvements
Entry Point Configuration
- Updated:
pyproject.tomlnow points to the new CLI entry point - Fixed: Entry point configuration to use dedicated CLI module
- Improved: Better compatibility with packaging standards
Code Organization
- Refactored: Removed CLI-related code from
__init__.py - Added: Clean separation between package initialization and CLI execution
- Enhanced: More maintainable code structure for future development
π Installation & Upgrade
Fresh Installation
pip install stata-mcp==1.6.2Upgrade from Previous Version
pip install --upgrade stata-mcpUsing uv
uvx stata-mcp --version
# Should show: stata-mcp 1.6.2π Breaking Changes
None - This is a backward-compatible maintenance release. All existing functionality remains the same.
π§ͺ Testing
Tested Features
- β CLI argument parsing and execution
- β All existing MCP tools and prompts
- β Cross-platform compatibility (macOS, Windows, Linux)
- β Package installation and entry point functionality
- β Web UI launching via CLI
π Known Issues
None - All functionality from previous versions remains intact.
π Community
Contributors
- Sepine Tam - Code architecture refactoring and CLI module separation
Reporting Issues
Found a bug or have a feature request? Open an issue on GitHub
π Documentation
π Technical Details
Code Structure Changes
stata_mcp/
βββ __init__.py # Cleaned - CLI code removed
βββ cli/
β βββ __init__.py
β βββ _cli.py # New dedicated CLI module
βββ ... (rest unchanged)
Entry Point Update
The entry point configuration in pyproject.toml has been updated to:
[project.scripts]
stata-mcp = "stata_mcp.cli._cli:main"Download: stata-mcp v1.6.2
PyPI: stata-mcp on PyPI