ims-mcp 1.0.19__py3-none-any.whl → 1.0.21__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.19"
14
+ __version__ = "1.0.21"
15
15
  __author__ = "Igor Solomatov"
16
16
 
17
17
  from ims_mcp.server import mcp
@@ -18,7 +18,7 @@ WITHOUT FOLLOWING THIS STEPS YOUR ANSWERS WILL BE INCORRECT AND USER WILL GET FR
18
18
  - This is a multi-step process to acquire all rules.
19
19
  - You must complete PREP STEPS 1 through 3, which will be provided in instructions from KnowledgeBase.
20
20
  - Once ALL PREP steps completed you can continue with user request having all context.
21
- - "ACQUIRE <SMTH> FROM KB" is command alias to use KnowledgeBase's MCP get_document "<SMTH>"
21
+ - "ACQUIRE <SMTH> FROM KB" is command alias to use KnowledgeBase's MCP get_document by title "<SMTH>"
22
22
  - "SEARCH <SMTH> IN KB" is command alias to use KnowledgeBase's MCP search tool with "<SMTH>" query with tags filter "instructions" and "use_fulltext_search".
23
23
  - During compaction content loaded from KB MUST NOT be removed, in case if it was, you MUST ASAP re-acquire those instructions again, before continuing with user request or execution flow.
24
24
  - If KnowledgeBase's tools or MCP failed or not found, and not ADHOC mode, YOU MUST NEVER PROCEED, BECAUSE YOU WILL NOT HAVE CONTEXT!
ims_mcp/server.py CHANGED
@@ -375,7 +375,7 @@ async def rag(
375
375
 
376
376
 
377
377
  # Document upload tool with upsert semantics
378
- @mcp.tool()
378
+ #@mcp.tool() # disabled intentionally to prevent accidental document uploads, and because R2R does not support proper permissions management.
379
379
  @retry_on_auth_error
380
380
  async def put_document(
381
381
  content: str,
@@ -653,7 +653,7 @@ async def get_document(
653
653
 
654
654
 
655
655
  # Delete document tool
656
- @mcp.tool()
656
+ #@mcp.tool() # disabled intentionally to prevent accidental document uploads, and because R2R does not support proper permissions management.
657
657
  @retry_on_auth_error
658
658
  async def delete_document(document_id: str) -> str:
659
659
  """
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ims-mcp
3
- Version: 1.0.19
3
+ Version: 1.0.21
4
4
  Summary: Model Context Protocol server for IMS (Instruction Management Systems)
5
5
  Author: Igor Solomatov
6
6
  License-Expression: MIT
@@ -0,0 +1,10 @@
1
+ ims_mcp/__init__.py,sha256=yWqM9FHJIsJ0X-Ft6GCqXAdqtVe2mH5DjXhLrIvguwI,632
2
+ ims_mcp/__main__.py,sha256=z4P1aCVfOgS3cTM2wgJd2pxjMmKCkGkiqYDRGgrspxw,191
3
+ ims_mcp/server.py,sha256=30qiK7cVUtVwbkk53ycM2H-Ap_O6RdKPKRvpUbbHjOA,26364
4
+ ims_mcp/resources/bootstrap.md,sha256=jU_PBDHHdNrZq25oby1lqyPEjPjZt5xdoNrXY8wU-28,2575
5
+ ims_mcp-1.0.21.dist-info/licenses/LICENSE,sha256=4d1dlH04mbnN3ya4lybcVOUwljRHGy-aSc9MYqGYW44,2534
6
+ ims_mcp-1.0.21.dist-info/METADATA,sha256=5JBGrfSi8NOwKMBsINk9JwiMriWHUWj79kN7jstuwEo,9484
7
+ ims_mcp-1.0.21.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
8
+ ims_mcp-1.0.21.dist-info/entry_points.txt,sha256=xCH9I8g1pTTEqrfjnE-ANHaZo4W6EBJVy0Lg5z8SaIQ,48
9
+ ims_mcp-1.0.21.dist-info/top_level.txt,sha256=wEXA33qFr_eov3S1PY2OF6EQBA2rtAWB_ZNJOzNNQuM,8
10
+ ims_mcp-1.0.21.dist-info/RECORD,,
@@ -1,10 +0,0 @@
1
- ims_mcp/__init__.py,sha256=TJqgo3F9-ntGs91a6DdO2M0-1wK-sAkY4UIEI8IopiI,632
2
- ims_mcp/__main__.py,sha256=z4P1aCVfOgS3cTM2wgJd2pxjMmKCkGkiqYDRGgrspxw,191
3
- ims_mcp/server.py,sha256=vtCjVkuwZ0q9C8hKb-4pgDU6q7kpW3V4i7LZQfWhWiU,26104
4
- ims_mcp/resources/bootstrap.md,sha256=8_MBkQkNpdm25R_Bdj1GbsIKswmlKg9l5MLYWE8h22o,2566
5
- ims_mcp-1.0.19.dist-info/licenses/LICENSE,sha256=4d1dlH04mbnN3ya4lybcVOUwljRHGy-aSc9MYqGYW44,2534
6
- ims_mcp-1.0.19.dist-info/METADATA,sha256=vlyY3Xty-B7X3vGshLUw0nD9lDNOk_PfBECJ7asDIvc,9484
7
- ims_mcp-1.0.19.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
8
- ims_mcp-1.0.19.dist-info/entry_points.txt,sha256=xCH9I8g1pTTEqrfjnE-ANHaZo4W6EBJVy0Lg5z8SaIQ,48
9
- ims_mcp-1.0.19.dist-info/top_level.txt,sha256=wEXA33qFr_eov3S1PY2OF6EQBA2rtAWB_ZNJOzNNQuM,8
10
- ims_mcp-1.0.19.dist-info/RECORD,,