Skip to content

armgit / ARES

Public Imported from GitHub
0

ARES - authorized red-team engagement automation with dashboard, campaign scope, module orchestration, OPSEC controls, encrypted vault, and reporting.

fix(mcp): add executable module entrypoints for direct terminal execution

Mafifriziaf6a2d21a15e
diff --git a/ares/cli/main.py b/ares/cli/main.py
index 5f3f474..832f4cf 100644
--- a/ares/cli/main.py
+++ b/ares/cli/main.py
@@ -8,3 +8,7 @@ re-exports everything so that both import paths work.
from ares.cli.typer_main import app, cli # noqa: F401 (re-exported for entry point)
__all__ = ["app", "cli"]
+
+if __name__ == "__main__":
+ cli()
+
diff --git a/ares/mcp/__main__.py b/ares/mcp/__main__.py
new file mode 100644
index 0000000..6f036c0
--- /dev/null
+++ b/ares/mcp/__main__.py
@@ -0,0 +1,22 @@
+"""ARES Sovereign MCP Server executable module.
+
+Allows running the server directly via:
+ python -m ares.mcp
+"""
+from __future__ import annotations
+
+import asyncio
+import sys
+
+from ares.mcp import run_stdio_server
+
+
+def main() -> None:
+ try:
+ asyncio.run(run_stdio_server())
+ except (KeyboardInterrupt, SystemExit):
+ sys.exit(0)
+
+
+if __name__ == "__main__":
+ main()