ims-mcp 1.0.3__py3-none-any.whl → 1.0.4__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/__init__.py CHANGED
@@ -11,7 +11,7 @@ Environment Variables:
11
11
  Note: Environment variables use R2R_ prefix for compatibility with underlying R2R SDK.
12
12
  """
13
13
 
14
- __version__ = "1.0.3"
14
+ __version__ = "1.0.4"
15
15
  __author__ = "Igor Solomatov"
16
16
 
17
17
  from ims_mcp.server import mcp
ims_mcp/server.py CHANGED
@@ -341,7 +341,7 @@ async def list_documents(
341
341
  offset: float = 0, # Use float to accept JSON "number" type, convert to int internally
342
342
  limit: float = 100, # Use float to accept JSON "number" type, convert to int internally
343
343
  document_ids: list[str] | None = None,
344
- compact_view: bool = False,
344
+ compact_view: bool = True,
345
345
  tags: list[str] | None = None,
346
346
  match_all_tags: bool = False,
347
347
  ) -> str:
@@ -352,7 +352,7 @@ async def list_documents(
352
352
  offset: Number of documents to skip (default: 0)
353
353
  limit: Maximum number of documents to return (default: 100, max: 100)
354
354
  document_ids: Optional list of specific document IDs to retrieve
355
- compact_view: Show only ID and title (default: False - shows all details)
355
+ compact_view: Show only ID and title (default: True - compact view)
356
356
  tags: Optional list of tags to filter by (e.g., ["agents", "r1"])
357
357
  match_all_tags: If True, document must have ALL tags; if False (default), document must have ANY tag
358
358
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ims-mcp
3
- Version: 1.0.3
3
+ Version: 1.0.4
4
4
  Summary: Model Context Protocol server for IMS (Instruction Management Systems)
5
5
  Author: Igor Solomatov
6
6
  License-Expression: MIT
@@ -229,13 +229,16 @@ List documents with pagination and optional tag filtering.
229
229
  - `offset` (int, optional): Documents to skip (default: 0)
230
230
  - `limit` (int, optional): Max documents (default: 100)
231
231
  - `document_ids` (list[str], optional): Specific IDs to retrieve
232
- - `compact_view` (bool, optional): Show only ID and title (default: False)
232
+ - `compact_view` (bool, optional): Show only ID and title (default: True)
233
233
  - `tags` (list[str], optional): Filter by tags (e.g., `["agents", "r1"]`)
234
234
  - `match_all_tags` (bool, optional): If True, document must have ALL tags; if False (default), document must have ANY tag
235
235
 
236
236
  **Examples:**
237
237
  ```python
238
- # List all documents
238
+ # List all documents (compact view - ID and title only)
239
+ list_documents(offset=0, limit=10)
240
+
241
+ # List with full details
239
242
  list_documents(offset=0, limit=10, compact_view=False)
240
243
 
241
244
  # Filter by tags (ANY mode - documents with "research" OR "ml")
@@ -0,0 +1,9 @@
1
+ ims_mcp/__init__.py,sha256=6hX8dryQog_XJDdunq29fTc8Pih9ApWYgabwaAE3DGI,631
2
+ ims_mcp/__main__.py,sha256=z4P1aCVfOgS3cTM2wgJd2pxjMmKCkGkiqYDRGgrspxw,191
3
+ ims_mcp/server.py,sha256=g7ceKx7Bxjr7LGBGfbn3AFHK2rjcPv30Y_Rhfuy3GZQ,21734
4
+ ims_mcp-1.0.4.dist-info/licenses/LICENSE,sha256=4d1dlH04mbnN3ya4lybcVOUwljRHGy-aSc9MYqGYW44,2534
5
+ ims_mcp-1.0.4.dist-info/METADATA,sha256=_GIf5S7xRw-FmX7U8psxa5MlYFPINanV2tTflGmP4hY,9295
6
+ ims_mcp-1.0.4.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
7
+ ims_mcp-1.0.4.dist-info/entry_points.txt,sha256=xCH9I8g1pTTEqrfjnE-ANHaZo4W6EBJVy0Lg5z8SaIQ,48
8
+ ims_mcp-1.0.4.dist-info/top_level.txt,sha256=wEXA33qFr_eov3S1PY2OF6EQBA2rtAWB_ZNJOzNNQuM,8
9
+ ims_mcp-1.0.4.dist-info/RECORD,,
@@ -1,9 +0,0 @@
1
- ims_mcp/__init__.py,sha256=IXSdAG7JlNgU0FZHnI56CEvjhIHzAc3cxuuEINXfbRQ,631
2
- ims_mcp/__main__.py,sha256=z4P1aCVfOgS3cTM2wgJd2pxjMmKCkGkiqYDRGgrspxw,191
3
- ims_mcp/server.py,sha256=g_MwgGhVN9jv03qKYTLWNRz_Q-7_cMl9zmbCaVh6LNI,21741
4
- ims_mcp-1.0.3.dist-info/licenses/LICENSE,sha256=4d1dlH04mbnN3ya4lybcVOUwljRHGy-aSc9MYqGYW44,2534
5
- ims_mcp-1.0.3.dist-info/METADATA,sha256=TuJNag9JatA25mo5PWAm4hAfsn6FtSJ0MH1UcZyOCv4,9200
6
- ims_mcp-1.0.3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
7
- ims_mcp-1.0.3.dist-info/entry_points.txt,sha256=xCH9I8g1pTTEqrfjnE-ANHaZo4W6EBJVy0Lg5z8SaIQ,48
8
- ims_mcp-1.0.3.dist-info/top_level.txt,sha256=wEXA33qFr_eov3S1PY2OF6EQBA2rtAWB_ZNJOzNNQuM,8
9
- ims_mcp-1.0.3.dist-info/RECORD,,