meta-ads-mcp 0.2.2__tar.gz → 0.2.3__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (24) hide show
  1. {meta_ads_mcp-0.2.2 → meta_ads_mcp-0.2.3}/PKG-INFO +1 -1
  2. {meta_ads_mcp-0.2.2 → meta_ads_mcp-0.2.3}/meta-ads-mcp +1 -0
  3. {meta_ads_mcp-0.2.2 → meta_ads_mcp-0.2.3}/meta_ads_mcp/__init__.py +1 -1
  4. meta_ads_mcp-0.2.3/meta_ads_mcp/__main__.py +10 -0
  5. {meta_ads_mcp-0.2.2 → meta_ads_mcp-0.2.3}/meta_ads_mcp/core/server.py +9 -0
  6. {meta_ads_mcp-0.2.2 → meta_ads_mcp-0.2.3}/pyproject.toml +1 -1
  7. {meta_ads_mcp-0.2.2 → meta_ads_mcp-0.2.3}/.gitignore +0 -0
  8. {meta_ads_mcp-0.2.2 → meta_ads_mcp-0.2.3}/README.md +0 -0
  9. {meta_ads_mcp-0.2.2 → meta_ads_mcp-0.2.3}/future_improvements.md +0 -0
  10. {meta_ads_mcp-0.2.2 → meta_ads_mcp-0.2.3}/meta_ads_mcp/api.py +0 -0
  11. {meta_ads_mcp-0.2.2 → meta_ads_mcp-0.2.3}/meta_ads_mcp/core/__init__.py +0 -0
  12. {meta_ads_mcp-0.2.2 → meta_ads_mcp-0.2.3}/meta_ads_mcp/core/accounts.py +0 -0
  13. {meta_ads_mcp-0.2.2 → meta_ads_mcp-0.2.3}/meta_ads_mcp/core/ads.py +0 -0
  14. {meta_ads_mcp-0.2.2 → meta_ads_mcp-0.2.3}/meta_ads_mcp/core/adsets.py +0 -0
  15. {meta_ads_mcp-0.2.2 → meta_ads_mcp-0.2.3}/meta_ads_mcp/core/api.py +0 -0
  16. {meta_ads_mcp-0.2.2 → meta_ads_mcp-0.2.3}/meta_ads_mcp/core/auth.py +0 -0
  17. {meta_ads_mcp-0.2.2 → meta_ads_mcp-0.2.3}/meta_ads_mcp/core/authentication.py +0 -0
  18. {meta_ads_mcp-0.2.2 → meta_ads_mcp-0.2.3}/meta_ads_mcp/core/campaigns.py +0 -0
  19. {meta_ads_mcp-0.2.2 → meta_ads_mcp-0.2.3}/meta_ads_mcp/core/insights.py +0 -0
  20. {meta_ads_mcp-0.2.2 → meta_ads_mcp-0.2.3}/meta_ads_mcp/core/resources.py +0 -0
  21. {meta_ads_mcp-0.2.2 → meta_ads_mcp-0.2.3}/meta_ads_mcp/core/utils.py +0 -0
  22. {meta_ads_mcp-0.2.2 → meta_ads_mcp-0.2.3}/requirements.txt +0 -0
  23. {meta_ads_mcp-0.2.2 → meta_ads_mcp-0.2.3}/setup.py +0 -0
  24. {meta_ads_mcp-0.2.2 → meta_ads_mcp-0.2.3}/test_meta_ads_auth.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: meta-ads-mcp
3
- Version: 0.2.2
3
+ Version: 0.2.3
4
4
  Summary: Model Calling Protocol (MCP) plugin for interacting with Meta Ads API
5
5
  Project-URL: Homepage, https://github.com/nictuku/meta-ads-mcp
6
6
  Project-URL: Bug Tracker, https://github.com/nictuku/meta-ads-mcp/issues
@@ -10,4 +10,5 @@ This script provides the command-line entry point for the Meta Ads MCP package.
10
10
  from meta_ads_mcp import main
11
11
 
12
12
  if __name__ == "__main__":
13
+ print("RUNNING LOCAL SCRIPT VERSION OF META ADS MCP")
13
14
  main()
@@ -7,7 +7,7 @@ with the Claude LLM.
7
7
 
8
8
  from meta_ads_mcp.core.server import main
9
9
 
10
- __version__ = "0.2.2"
10
+ __version__ = "0.2.3"
11
11
 
12
12
  __all__ = ["main"]
13
13
 
@@ -0,0 +1,10 @@
1
+ """
2
+ Meta Ads MCP - Main Entry Point
3
+
4
+ This module allows the package to be executed directly via `python -m meta_ads_mcp`
5
+ """
6
+
7
+ from meta_ads_mcp.core.server import main
8
+
9
+ if __name__ == "__main__":
10
+ main()
@@ -26,9 +26,12 @@ def login_cli():
26
26
 
27
27
  def main():
28
28
  """Main entry point for the package"""
29
+ print("RUNNING LOCAL VERSION OF META ADS MCP")
30
+
29
31
  parser = argparse.ArgumentParser(description="Meta Ads MCP Server")
30
32
  parser.add_argument("--login", action="store_true", help="Authenticate with Meta and store the token")
31
33
  parser.add_argument("--app-id", type=str, help="Meta App ID (Client ID) for authentication")
34
+ parser.add_argument("--version", action="store_true", help="Show the version of the package")
32
35
 
33
36
  args = parser.parse_args()
34
37
 
@@ -39,6 +42,12 @@ def main():
39
42
  elif os.environ.get("META_APP_ID"):
40
43
  auth_manager.app_id = os.environ.get("META_APP_ID")
41
44
 
45
+ # Show version if requested
46
+ if args.version:
47
+ from meta_ads_mcp import __version__
48
+ print(f"Meta Ads MCP v{__version__} - LOCAL VERSION")
49
+ return 0
50
+
42
51
  # Handle login command
43
52
  if args.login:
44
53
  login_cli()
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "meta-ads-mcp"
7
- version = "0.2.2"
7
+ version = "0.2.3"
8
8
  description = "Model Calling Protocol (MCP) plugin for interacting with Meta Ads API"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.11"
File without changes
File without changes
File without changes