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.
- {meta_ads_mcp-0.2.2 → meta_ads_mcp-0.2.3}/PKG-INFO +1 -1
- {meta_ads_mcp-0.2.2 → meta_ads_mcp-0.2.3}/meta-ads-mcp +1 -0
- {meta_ads_mcp-0.2.2 → meta_ads_mcp-0.2.3}/meta_ads_mcp/__init__.py +1 -1
- meta_ads_mcp-0.2.3/meta_ads_mcp/__main__.py +10 -0
- {meta_ads_mcp-0.2.2 → meta_ads_mcp-0.2.3}/meta_ads_mcp/core/server.py +9 -0
- {meta_ads_mcp-0.2.2 → meta_ads_mcp-0.2.3}/pyproject.toml +1 -1
- {meta_ads_mcp-0.2.2 → meta_ads_mcp-0.2.3}/.gitignore +0 -0
- {meta_ads_mcp-0.2.2 → meta_ads_mcp-0.2.3}/README.md +0 -0
- {meta_ads_mcp-0.2.2 → meta_ads_mcp-0.2.3}/future_improvements.md +0 -0
- {meta_ads_mcp-0.2.2 → meta_ads_mcp-0.2.3}/meta_ads_mcp/api.py +0 -0
- {meta_ads_mcp-0.2.2 → meta_ads_mcp-0.2.3}/meta_ads_mcp/core/__init__.py +0 -0
- {meta_ads_mcp-0.2.2 → meta_ads_mcp-0.2.3}/meta_ads_mcp/core/accounts.py +0 -0
- {meta_ads_mcp-0.2.2 → meta_ads_mcp-0.2.3}/meta_ads_mcp/core/ads.py +0 -0
- {meta_ads_mcp-0.2.2 → meta_ads_mcp-0.2.3}/meta_ads_mcp/core/adsets.py +0 -0
- {meta_ads_mcp-0.2.2 → meta_ads_mcp-0.2.3}/meta_ads_mcp/core/api.py +0 -0
- {meta_ads_mcp-0.2.2 → meta_ads_mcp-0.2.3}/meta_ads_mcp/core/auth.py +0 -0
- {meta_ads_mcp-0.2.2 → meta_ads_mcp-0.2.3}/meta_ads_mcp/core/authentication.py +0 -0
- {meta_ads_mcp-0.2.2 → meta_ads_mcp-0.2.3}/meta_ads_mcp/core/campaigns.py +0 -0
- {meta_ads_mcp-0.2.2 → meta_ads_mcp-0.2.3}/meta_ads_mcp/core/insights.py +0 -0
- {meta_ads_mcp-0.2.2 → meta_ads_mcp-0.2.3}/meta_ads_mcp/core/resources.py +0 -0
- {meta_ads_mcp-0.2.2 → meta_ads_mcp-0.2.3}/meta_ads_mcp/core/utils.py +0 -0
- {meta_ads_mcp-0.2.2 → meta_ads_mcp-0.2.3}/requirements.txt +0 -0
- {meta_ads_mcp-0.2.2 → meta_ads_mcp-0.2.3}/setup.py +0 -0
- {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.
|
|
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
|
|
@@ -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()
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|