Skip to content

V1.6.2

Choose a tag to compare

@SepineTam SepineTam released this 15 Aug 07:03
· 728 commits to master since this release

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__.py to 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.toml now 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.2

Upgrade from Previous Version

pip install --upgrade stata-mcp

Using 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