eulerian-marketing-platform 0.2.7__py3-none-any.whl → 0.2.8__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.
@@ -4,7 +4,7 @@ This package provides a Model Context Protocol (MCP) server that enables
4
4
  AI assistants to interact with Eulerian Marketing Platform APIs.
5
5
  """
6
6
 
7
- __version__ = "0.2.7"
7
+ __version__ = "0.2.8"
8
8
  __author__ = "Eulerian Technologies"
9
9
  __all__ = []
10
10
 
@@ -138,37 +138,13 @@ def forward_request(request_data: dict) -> dict:
138
138
  elif method == "tools/list":
139
139
  tools = result.get("tools", [])
140
140
  logger.info(f" Tools available: {len(tools)} tools")
141
- for i, tool in enumerate(tools):
142
- tool_name = tool.get("name", "unnamed")
143
- tool_desc = tool.get("description", "no description")[:50]
144
- logger.info(f" Tool {i+1}: {tool_name} - {tool_desc}")
145
- # Log input schema info
146
- input_schema = tool.get("inputSchema", {})
147
- if "properties" in input_schema:
148
- props = list(input_schema["properties"].keys())[:3]
149
- logger.info(f" Input properties: {props}")
150
141
 
151
142
  elif method == "resources/list":
152
143
  resources = result.get("resources", [])
153
144
  logger.info(f" Resources available: {len(resources)} resources")
154
- for i, resource in enumerate(resources[:3]):
155
- res_uri = resource.get("uri", "no uri")
156
- res_name = resource.get("name", "unnamed")
157
- logger.info(f" Resource {i+1}: {res_name} ({res_uri})")
158
- if len(resources) > 3:
159
- logger.info(f" ... and {len(resources) - 3} more resources")
160
145
 
161
146
  elif method.startswith("tools/call"):
162
147
  logger.info(f" Tool call result keys: {list(result.keys())}")
163
- if "content" in result:
164
- content = result["content"]
165
- if isinstance(content, list) and len(content) > 0:
166
- logger.info(f" Tool returned {len(content)} content items")
167
- first_item = content[0]
168
- if isinstance(first_item, dict):
169
- logger.info(f" First content type: {first_item.get('type', 'unknown')}")
170
- elif isinstance(content, str):
171
- logger.info(f" Tool returned string content: {len(content)} chars")
172
148
 
173
149
  else:
174
150
  # Generic logging for unknown methods
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: eulerian-marketing-platform
3
- Version: 0.2.7
3
+ Version: 0.2.8
4
4
  Summary: MCP server for Eulerian Marketing Platform - enables AI assistants to interact with Eulerian's marketing analytics and campaign management APIs
5
5
  Author-email: Eulerian Technologies <mathieu@eulerian.com>
6
6
  License: MIT
@@ -385,6 +385,10 @@ This project is licensed under the MIT License - see the [LICENSE](LICENSE) file
385
385
 
386
386
  ## Changelog
387
387
 
388
+ ### 0.2.8
389
+ - fixes for proxy disconnection
390
+ - remove unnecessary logging
391
+
388
392
  ### 0.2.3
389
393
  - fixes disconnection issue with notifications
390
394
 
@@ -0,0 +1,8 @@
1
+ eulerian_marketing_platform/__init__.py,sha256=7g1Hvi9_9ZjCTHLJyd0NEJVm5qhC1MVfP5VlCwi0zZ0,428
2
+ eulerian_marketing_platform/server.py,sha256=eSoiidX405A2otYGnifpgLqxcGMHXMPMxJQUzQ9WHOo,12570
3
+ eulerian_marketing_platform-0.2.8.dist-info/LICENSE,sha256=eIqBqE_fRsqQJ8F-2v0e-8WzZqdshsCqnzmqLAWrNHU,1078
4
+ eulerian_marketing_platform-0.2.8.dist-info/METADATA,sha256=F2ax4B0D-aEvXBN9iFvfZgGOAshdGiyL5Bh05zVHVOA,12241
5
+ eulerian_marketing_platform-0.2.8.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
6
+ eulerian_marketing_platform-0.2.8.dist-info/entry_points.txt,sha256=rrPZptATSS9PUtH9gzCYq0WuP6eahkF-DkdUP1FaYfk,88
7
+ eulerian_marketing_platform-0.2.8.dist-info/top_level.txt,sha256=nidh3T6fw-mLjUqZwQ8AiMScS4usuH0WXW4ZgG4HYCo,28
8
+ eulerian_marketing_platform-0.2.8.dist-info/RECORD,,
@@ -1,8 +0,0 @@
1
- eulerian_marketing_platform/__init__.py,sha256=HCpqdNcYBPdxvYqqIALnHKB4fKV0LQu9EqB2i9VYGW4,428
2
- eulerian_marketing_platform/server.py,sha256=p32McUsqrDcCrczMVurCQzfnZGrYVaz3yUsmxOTbeCM,14235
3
- eulerian_marketing_platform-0.2.7.dist-info/LICENSE,sha256=eIqBqE_fRsqQJ8F-2v0e-8WzZqdshsCqnzmqLAWrNHU,1078
4
- eulerian_marketing_platform-0.2.7.dist-info/METADATA,sha256=r2vU63lIHznbqlcHe0NIDtg4Aif4iuH7k5QsbEWcGtM,12169
5
- eulerian_marketing_platform-0.2.7.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
6
- eulerian_marketing_platform-0.2.7.dist-info/entry_points.txt,sha256=rrPZptATSS9PUtH9gzCYq0WuP6eahkF-DkdUP1FaYfk,88
7
- eulerian_marketing_platform-0.2.7.dist-info/top_level.txt,sha256=nidh3T6fw-mLjUqZwQ8AiMScS4usuH0WXW4ZgG4HYCo,28
8
- eulerian_marketing_platform-0.2.7.dist-info/RECORD,,