meta-ads-mcp 0.2.2__py3-none-any.whl → 0.2.3__py3-none-any.whl
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/__init__.py +1 -1
- meta_ads_mcp/__main__.py +10 -0
- meta_ads_mcp/core/server.py +9 -0
- {meta_ads_mcp-0.2.2.dist-info → meta_ads_mcp-0.2.3.dist-info}/METADATA +1 -1
- {meta_ads_mcp-0.2.2.dist-info → meta_ads_mcp-0.2.3.dist-info}/RECORD +7 -6
- {meta_ads_mcp-0.2.2.dist-info → meta_ads_mcp-0.2.3.dist-info}/WHEEL +0 -0
- {meta_ads_mcp-0.2.2.dist-info → meta_ads_mcp-0.2.3.dist-info}/entry_points.txt +0 -0
meta_ads_mcp/__init__.py
CHANGED
meta_ads_mcp/__main__.py
ADDED
meta_ads_mcp/core/server.py
CHANGED
|
@@ -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()
|
|
@@ -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
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
meta_ads_mcp/__init__.py,sha256=
|
|
1
|
+
meta_ads_mcp/__init__.py,sha256=D5oudmKv-8i7Ptfrg_5my5MarCT_fOo7BGhfads7Mt4,866
|
|
2
|
+
meta_ads_mcp/__main__.py,sha256=XaQt3iXftG_7f0Zu7Wop9SeFgrD2WBn0EQOaPMc27d8,207
|
|
2
3
|
meta_ads_mcp/api.py,sha256=sahhuPeYSJN2uYjyDDXSd68MXD04gzcrTLn7wTs1A_0,74055
|
|
3
4
|
meta_ads_mcp/core/__init__.py,sha256=Gmw9HGyV7b8X6FQusxALtWvCpJXri5WVAocEpUM12uQ,976
|
|
4
5
|
meta_ads_mcp/core/accounts.py,sha256=RiIHJJuXPfnjdV30vJ_ecfRD1rFc1ptQtm3eIoZXH_M,2208
|
|
@@ -10,9 +11,9 @@ meta_ads_mcp/core/authentication.py,sha256=upL3vTILNtcG88pwhp2dG3m-iaJ1ndQh0X1O6
|
|
|
10
11
|
meta_ads_mcp/core/campaigns.py,sha256=CSr64_aHp7dL74VIxDyGa97dC4STU9OMx-aOGtyT210,4293
|
|
11
12
|
meta_ads_mcp/core/insights.py,sha256=WrfJo9mCxKGEQ7dD5ZxbGSHZv2cODKpRXvBtZ8LCI84,17334
|
|
12
13
|
meta_ads_mcp/core/resources.py,sha256=-zIIfZulpo76vcKv6jhAlQq91cR2SZ3cjYZt3ek3x0w,1236
|
|
13
|
-
meta_ads_mcp/core/server.py,sha256=
|
|
14
|
+
meta_ads_mcp/core/server.py,sha256=PSJ1ckrYi-7LkNVAP7jSEro3oqXHEeKrQgEaSzdkADs,1813
|
|
14
15
|
meta_ads_mcp/core/utils.py,sha256=UD5ndkMKGk7jLWmD0cIySRt8PfxW2lf6jBlm55kJmQY,4243
|
|
15
|
-
meta_ads_mcp-0.2.
|
|
16
|
-
meta_ads_mcp-0.2.
|
|
17
|
-
meta_ads_mcp-0.2.
|
|
18
|
-
meta_ads_mcp-0.2.
|
|
16
|
+
meta_ads_mcp-0.2.3.dist-info/METADATA,sha256=o6PitzKt6kUof0aMgchLh0E8SdXl0SDk3z1pD-7n7Pg,12045
|
|
17
|
+
meta_ads_mcp-0.2.3.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
18
|
+
meta_ads_mcp-0.2.3.dist-info/entry_points.txt,sha256=Dv2RkoBjRJBqj6CyhwqGIiwPCD-SCL1-7B9-zmVRuv0,57
|
|
19
|
+
meta_ads_mcp-0.2.3.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|