"""
Main Entry Point for MCP Odoo Shell Server
==========================================
Command-line interface for running the MCP Odoo Shell server.
"""
from .server import mcp
def main() -> None:
"""
Main entry point.
Starts the MCP server when the script is run directly.
The server will listen for MCP protocol messages and handle
tool calls through the defined functions.
"""
# Import tools to register them with the MCP server
from . import tools # noqa: F401
# Run the MCP server
mcp.run()
if __name__ == "__main__":
main()