ims-mcp 1.0.27__py3-none-any.whl → 1.0.28__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.
- ims_mcp/server.py +2 -3
- {ims_mcp-1.0.27.dist-info → ims_mcp-1.0.28.dist-info}/METADATA +1 -1
- ims_mcp-1.0.28.dist-info/RECORD +10 -0
- ims_mcp-1.0.27.dist-info/RECORD +0 -10
- {ims_mcp-1.0.27.dist-info → ims_mcp-1.0.28.dist-info}/WHEEL +0 -0
- {ims_mcp-1.0.27.dist-info → ims_mcp-1.0.28.dist-info}/entry_points.txt +0 -0
- {ims_mcp-1.0.27.dist-info → ims_mcp-1.0.28.dist-info}/licenses/LICENSE +0 -0
- {ims_mcp-1.0.27.dist-info → ims_mcp-1.0.28.dist-info}/top_level.txt +0 -0
ims_mcp/server.py
CHANGED
|
@@ -26,7 +26,7 @@ import uuid
|
|
|
26
26
|
from importlib import resources as pkg_resources
|
|
27
27
|
from typing import Any, Callable, Optional
|
|
28
28
|
from r2r import R2RClient, R2RException
|
|
29
|
-
from ims_mcp import DEFAULT_POSTHOG_API_KEY
|
|
29
|
+
from ims_mcp import DEFAULT_POSTHOG_API_KEY, __version__
|
|
30
30
|
|
|
31
31
|
# Debug mode controlled by environment variable
|
|
32
32
|
DEBUG_MODE = os.getenv('IMS_DEBUG', '').lower() in ('1', 'true', 'yes', 'on')
|
|
@@ -364,7 +364,7 @@ def load_bootstrap() -> str:
|
|
|
364
364
|
ref = pkg_resources.files('ims_mcp.resources').joinpath('bootstrap.md')
|
|
365
365
|
with ref.open('r', encoding='utf-8') as f:
|
|
366
366
|
content = f.read()
|
|
367
|
-
debug_print(f"[ims-mcp] Loaded bootstrap.md ({len(content)} bytes)")
|
|
367
|
+
debug_print(f"[ims-mcp] v{__version__}: Loaded bootstrap.md ({len(content)} bytes)")
|
|
368
368
|
return content
|
|
369
369
|
except FileNotFoundError:
|
|
370
370
|
debug_print("[ims-mcp] Warning: bootstrap.md not found in package")
|
|
@@ -395,7 +395,6 @@ def get_authenticated_client() -> R2RClient:
|
|
|
395
395
|
return _authenticated_client
|
|
396
396
|
|
|
397
397
|
# Log configuration on first client creation
|
|
398
|
-
from ims_mcp import __version__
|
|
399
398
|
base_url = os.getenv('R2R_API_BASE') or os.getenv('R2R_BASE_URL') or 'http://localhost:7272'
|
|
400
399
|
collection = os.getenv('R2R_COLLECTION', 'default')
|
|
401
400
|
api_key = os.getenv('R2R_API_KEY', '')
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
ims_mcp/__init__.py,sha256=tc179xWmUwO8ZD5y4k3M005BsF-mJtUgziVo7dJdj7E,1163
|
|
2
|
+
ims_mcp/__main__.py,sha256=z4P1aCVfOgS3cTM2wgJd2pxjMmKCkGkiqYDRGgrspxw,191
|
|
3
|
+
ims_mcp/server.py,sha256=yMoEV-3_l87UqWKeEiOR6X8C8SUMy0tKDBL5rQTL9dc,36191
|
|
4
|
+
ims_mcp/resources/bootstrap.md,sha256=-b5SpUGO_KXP5HmagY_Y9krslHPsVthk3QhLGkca6Ig,2522
|
|
5
|
+
ims_mcp-1.0.28.dist-info/licenses/LICENSE,sha256=4d1dlH04mbnN3ya4lybcVOUwljRHGy-aSc9MYqGYW44,2534
|
|
6
|
+
ims_mcp-1.0.28.dist-info/METADATA,sha256=BE3nFlAlk5MIJIWa1T4XHYJZzD2Ygg90mD4e51ekdyg,12412
|
|
7
|
+
ims_mcp-1.0.28.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
|
|
8
|
+
ims_mcp-1.0.28.dist-info/entry_points.txt,sha256=xCH9I8g1pTTEqrfjnE-ANHaZo4W6EBJVy0Lg5z8SaIQ,48
|
|
9
|
+
ims_mcp-1.0.28.dist-info/top_level.txt,sha256=wEXA33qFr_eov3S1PY2OF6EQBA2rtAWB_ZNJOzNNQuM,8
|
|
10
|
+
ims_mcp-1.0.28.dist-info/RECORD,,
|
ims_mcp-1.0.27.dist-info/RECORD
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
ims_mcp/__init__.py,sha256=tc179xWmUwO8ZD5y4k3M005BsF-mJtUgziVo7dJdj7E,1163
|
|
2
|
-
ims_mcp/__main__.py,sha256=z4P1aCVfOgS3cTM2wgJd2pxjMmKCkGkiqYDRGgrspxw,191
|
|
3
|
-
ims_mcp/server.py,sha256=_zpcSQMPD3-6hhvMxgGR8K0UWeBXDdrlCi0VLpti8OU,36198
|
|
4
|
-
ims_mcp/resources/bootstrap.md,sha256=-b5SpUGO_KXP5HmagY_Y9krslHPsVthk3QhLGkca6Ig,2522
|
|
5
|
-
ims_mcp-1.0.27.dist-info/licenses/LICENSE,sha256=4d1dlH04mbnN3ya4lybcVOUwljRHGy-aSc9MYqGYW44,2534
|
|
6
|
-
ims_mcp-1.0.27.dist-info/METADATA,sha256=w-NiirJWn-L1QxWydKoQ32aAslEBnZxMBB2tSpZ4AnE,12412
|
|
7
|
-
ims_mcp-1.0.27.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
|
|
8
|
-
ims_mcp-1.0.27.dist-info/entry_points.txt,sha256=xCH9I8g1pTTEqrfjnE-ANHaZo4W6EBJVy0Lg5z8SaIQ,48
|
|
9
|
-
ims_mcp-1.0.27.dist-info/top_level.txt,sha256=wEXA33qFr_eov3S1PY2OF6EQBA2rtAWB_ZNJOzNNQuM,8
|
|
10
|
-
ims_mcp-1.0.27.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|