rossum-mcp 1.0.0__py3-none-any.whl → 1.0.1__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.
rossum_mcp/__init__.py CHANGED
@@ -1,3 +1,3 @@
1
1
  from __future__ import annotations
2
2
 
3
- __version__ = "1.0.0"
3
+ __version__ = "1.0.1"
@@ -16,7 +16,7 @@ class ToolInfo:
16
16
 
17
17
  name: str
18
18
  description: str
19
- destructive: bool = False
19
+ read_only: bool = True
20
20
 
21
21
 
22
22
  @dataclass
@@ -36,13 +36,13 @@ TOOL_CATALOG: dict[str, ToolCategory] = {
36
36
  name="annotations",
37
37
  description="Document processing: upload, retrieve, update, and confirm annotations",
38
38
  tools=[
39
- ToolInfo("upload_document", "Upload document to queue"),
39
+ ToolInfo("upload_document", "Upload document to queue", read_only=False),
40
40
  ToolInfo("get_annotation", "Retrieve annotation with extracted data"),
41
41
  ToolInfo("list_annotations", "List annotations for a queue"),
42
- ToolInfo("start_annotation", "Start annotation (to_review -> reviewing)"),
43
- ToolInfo("bulk_update_annotation_fields", "Bulk update annotation fields"),
44
- ToolInfo("confirm_annotation", "Confirm annotation (-> confirmed)"),
45
- ToolInfo("delete_annotation", "Delete annotation (soft delete)", destructive=True),
42
+ ToolInfo("start_annotation", "Start annotation (to_review -> reviewing)", read_only=False),
43
+ ToolInfo("bulk_update_annotation_fields", "Bulk update annotation fields", read_only=False),
44
+ ToolInfo("confirm_annotation", "Confirm annotation (-> confirmed)", read_only=False),
45
+ ToolInfo("delete_annotation", "Delete annotation (soft delete)", read_only=False),
46
46
  ],
47
47
  keywords=["annotation", "document", "upload", "extract", "confirm", "review"],
48
48
  ),
@@ -54,11 +54,11 @@ TOOL_CATALOG: dict[str, ToolCategory] = {
54
54
  ToolInfo("list_queues", "List all queues"),
55
55
  ToolInfo("get_queue_schema", "Get queue's schema"),
56
56
  ToolInfo("get_queue_engine", "Get queue's AI engine"),
57
- ToolInfo("create_queue", "Create a queue"),
58
- ToolInfo("update_queue", "Update queue settings"),
57
+ ToolInfo("create_queue", "Create a queue", read_only=False),
58
+ ToolInfo("update_queue", "Update queue settings", read_only=False),
59
59
  ToolInfo("get_queue_template_names", "List available queue templates"),
60
- ToolInfo("create_queue_from_template", "Create queue from template"),
61
- ToolInfo("delete_queue", "Delete queue (24h delayed)", destructive=True),
60
+ ToolInfo("create_queue_from_template", "Create queue from template", read_only=False),
61
+ ToolInfo("delete_queue", "Delete queue (24h delayed)", read_only=False),
62
62
  ],
63
63
  keywords=["queue", "inbox", "connector"],
64
64
  ),
@@ -68,12 +68,12 @@ TOOL_CATALOG: dict[str, ToolCategory] = {
68
68
  tools=[
69
69
  ToolInfo("get_schema", "Retrieve schema details"),
70
70
  ToolInfo("list_schemas", "List all schemas"),
71
- ToolInfo("update_schema", "Update schema"),
72
- ToolInfo("create_schema", "Create new schema"),
73
- ToolInfo("patch_schema", "Add/update/remove schema fields"),
71
+ ToolInfo("update_schema", "Update schema", read_only=False),
72
+ ToolInfo("create_schema", "Create new schema", read_only=False),
73
+ ToolInfo("patch_schema", "Add/update/remove schema fields", read_only=False),
74
74
  ToolInfo("get_schema_tree_structure", "Get lightweight schema tree"),
75
- ToolInfo("prune_schema_fields", "Bulk remove schema fields"),
76
- ToolInfo("delete_schema", "Delete schema", destructive=True),
75
+ ToolInfo("prune_schema_fields", "Bulk remove schema fields", read_only=False),
76
+ ToolInfo("delete_schema", "Delete schema", read_only=False),
77
77
  ],
78
78
  keywords=["schema", "field", "datapoint", "section", "multivalue", "tuple"],
79
79
  ),
@@ -83,9 +83,9 @@ TOOL_CATALOG: dict[str, ToolCategory] = {
83
83
  tools=[
84
84
  ToolInfo("get_engine", "Retrieve engine details"),
85
85
  ToolInfo("list_engines", "List all engines"),
86
- ToolInfo("update_engine", "Update engine settings"),
87
- ToolInfo("create_engine", "Create new engine"),
88
- ToolInfo("create_engine_field", "Create engine field mapping"),
86
+ ToolInfo("update_engine", "Update engine settings", read_only=False),
87
+ ToolInfo("create_engine", "Create new engine", read_only=False),
88
+ ToolInfo("create_engine_field", "Create engine field mapping", read_only=False),
89
89
  ToolInfo("get_engine_fields", "List engine fields"),
90
90
  ],
91
91
  keywords=["engine", "ai", "extractor", "splitter", "training"],
@@ -96,12 +96,12 @@ TOOL_CATALOG: dict[str, ToolCategory] = {
96
96
  tools=[
97
97
  ToolInfo("get_hook", "Retrieve hook details with code"),
98
98
  ToolInfo("list_hooks", "List all hooks for a queue"),
99
- ToolInfo("create_hook", "Create new hook"),
100
- ToolInfo("update_hook", "Update hook configuration"),
99
+ ToolInfo("create_hook", "Create new hook", read_only=False),
100
+ ToolInfo("update_hook", "Update hook configuration", read_only=False),
101
101
  ToolInfo("list_hook_logs", "View hook execution logs"),
102
102
  ToolInfo("list_hook_templates", "List Rossum Store templates"),
103
- ToolInfo("create_hook_from_template", "Create hook from template"),
104
- ToolInfo("delete_hook", "Delete hook", destructive=True),
103
+ ToolInfo("create_hook_from_template", "Create hook from template", read_only=False),
104
+ ToolInfo("delete_hook", "Delete hook", read_only=False),
105
105
  ],
106
106
  keywords=["hook", "extension", "webhook", "automation", "function", "serverless"],
107
107
  ),
@@ -111,7 +111,7 @@ TOOL_CATALOG: dict[str, ToolCategory] = {
111
111
  tools=[
112
112
  ToolInfo("get_email_template", "Retrieve email template"),
113
113
  ToolInfo("list_email_templates", "List email templates"),
114
- ToolInfo("create_email_template", "Create email template"),
114
+ ToolInfo("create_email_template", "Create email template", read_only=False),
115
115
  ],
116
116
  keywords=["email", "template", "notification", "rejection"],
117
117
  ),
@@ -139,7 +139,7 @@ TOOL_CATALOG: dict[str, ToolCategory] = {
139
139
  tools=[
140
140
  ToolInfo("get_rule", "Retrieve rule details"),
141
141
  ToolInfo("list_rules", "List validation rules"),
142
- ToolInfo("delete_rule", "Delete rule", destructive=True),
142
+ ToolInfo("delete_rule", "Delete rule", read_only=False),
143
143
  ],
144
144
  keywords=["rule", "validation", "constraint"],
145
145
  ),
@@ -159,8 +159,8 @@ TOOL_CATALOG: dict[str, ToolCategory] = {
159
159
  tools=[
160
160
  ToolInfo("get_workspace", "Retrieve workspace details"),
161
161
  ToolInfo("list_workspaces", "List all workspaces"),
162
- ToolInfo("create_workspace", "Create new workspace"),
163
- ToolInfo("delete_workspace", "Delete workspace", destructive=True),
162
+ ToolInfo("create_workspace", "Create new workspace", read_only=False),
163
+ ToolInfo("delete_workspace", "Delete workspace", read_only=False),
164
164
  ],
165
165
  keywords=["workspace", "organization"],
166
166
  ),
@@ -21,8 +21,8 @@ def register_discovery_tools(mcp: FastMCP) -> None:
21
21
  @mcp.tool(
22
22
  description="List all available tool categories with descriptions, tool names, and keywords. "
23
23
  "Use this to discover what tools are available, then use load_tool_category to load "
24
- "tools from specific categories before using them. Tools with destructive=true require "
25
- "explicit user request to use (delete operations)."
24
+ "tools from specific categories before using them. Tools with read_only=false are write "
25
+ "operations (create, update, delete)."
26
26
  )
27
27
  async def list_tool_categories() -> list[dict]:
28
28
  return [
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: rossum-mcp
3
- Version: 1.0.0
3
+ Version: 1.0.1
4
4
  Summary: MCP server for AI-powered Rossum orchestration: document workflows, debug pipelines automatically, and configure intelligent document processing through natural language.
5
5
  Author-email: "Dan Stancl (Rossum AI)" <daniel.stancl@gmail.com>
6
6
  License: MIT
@@ -54,7 +54,7 @@ Dynamic: license-file
54
54
  **MCP server for AI-powered Rossum document processing. 56 tools for queues, schemas, hooks, engines, and more.**
55
55
 
56
56
  [![Documentation](https://img.shields.io/badge/docs-latest-blue.svg)](https://stancld.github.io/rossum-agents/)
57
- [![Python](https://img.shields.io/badge/python-3.12%20%7C%203.13%20%7C%203.14-blue.svg)](https://www.python.org/downloads/)
57
+ [![Python](https://img.shields.io/pypi/pyversions/rossum-mcp.svg)](https://pypi.org/project/rossum-mcp/)
58
58
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
59
59
  [![PyPI - rossum-mcp](https://img.shields.io/pypi/v/rossum-mcp?label=rossum-mcp)](https://pypi.org/project/rossum-mcp/)
60
60
  [![Coverage](https://codecov.io/gh/stancld/rossum-agents/branch/master/graph/badge.svg?flag=rossum-mcp)](https://codecov.io/gh/stancld/rossum-agents)
@@ -1,12 +1,12 @@
1
- rossum_mcp/__init__.py,sha256=LHyzn7KDxWBSsydCVLd1g3gAApom3Y5gMAFi7DNuP-k,58
1
+ rossum_mcp/__init__.py,sha256=76_5unf43DE01lMmn6fXhlZawCdTEyjFCe1AnXb4X3s,58
2
2
  rossum_mcp/logging_config.py,sha256=OH5G6K4wH_g-m55FdRO1BYXIDtOop-lD9Ps_mTMQ8eY,4792
3
3
  rossum_mcp/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
4
  rossum_mcp/server.py,sha256=r9YO5Lt0lZ2iwqCBnMAVE3yhjHXvFlU9sZb4NknjOXQ,1959
5
5
  rossum_mcp/tools/__init__.py,sha256=70BqRQUnMqQL30VXO2PRJAIwCYu9JAC9B7nIvw0MvCY,1428
6
6
  rossum_mcp/tools/annotations.py,sha256=bzi6AuJDIrKEx-xqjW0WwHSygDTWpVoqAuUTPsTZJeQ,7532
7
7
  rossum_mcp/tools/base.py,sha256=b_XIytigoU9p244kA1HhCuqUbah36RFdtQMMxQpDA40,2243
8
- rossum_mcp/tools/catalog.py,sha256=J_VrZFIoYMjwZLTppE9sE4RfQf5xixke6B9APfze1So,7688
9
- rossum_mcp/tools/discovery.py,sha256=HZBHp1O8DPOzVEoGbMNHbzi9hwcIl5SfyvclPQ9LkKg,1300
8
+ rossum_mcp/tools/catalog.py,sha256=nCgAJPlWQqI684qGO0iZc-ncw1n0YlJbF3ZeSaU0xSs,8002
9
+ rossum_mcp/tools/discovery.py,sha256=coZyzrEDN5CwaglobFQlSPRql69c6mcqjmNz6tulkBU,1288
10
10
  rossum_mcp/tools/document_relations.py,sha256=7-mdRyRXXZRtRsL_ntZpfpWbMVYS5NUKW6yya4AzmNQ,2169
11
11
  rossum_mcp/tools/email_templates.py,sha256=euAxDml6LY3BbElCPwHkHkvcyCGz6wjtg4HvgYzcuto,4649
12
12
  rossum_mcp/tools/engines.py,sha256=6Q_gmATzb4eOwSjCmbsZAGm9unsogAfi2b-GyZ9Zyhc,6617
@@ -17,9 +17,9 @@ rossum_mcp/tools/rules.py,sha256=EAAVfdTMuOgvORpXxzgBox-P2MlvL3Vo6CcdDTzqQuM,205
17
17
  rossum_mcp/tools/schemas.py,sha256=9QTV24SaTrzKUPkzYuOjL1b9vmVVPJee-crbWWF7RRo,30230
18
18
  rossum_mcp/tools/users.py,sha256=uVojYtUQs4KorQxgmmPRNJtExS4GbzyckZ1W4Y_0Qrk,3047
19
19
  rossum_mcp/tools/workspaces.py,sha256=miV8XeJxdWQctx6RuYJXmnbNmNDL0SKcG-Senq6cWk0,3338
20
- rossum_mcp-1.0.0.dist-info/licenses/LICENSE,sha256=5nqARgtmPvoIU-1o1az3i8Qi2WOHYIn03vD6haewvEI,1087
21
- rossum_mcp-1.0.0.dist-info/METADATA,sha256=I-gAetwWNTTHB4bmFqL06qqPGBtOvguQYj92Nu4o6TM,9010
22
- rossum_mcp-1.0.0.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
23
- rossum_mcp-1.0.0.dist-info/entry_points.txt,sha256=eth2XELk0QGw9-_H3QL8PQ0OE-RDfzipbSvRy0EUc2c,54
24
- rossum_mcp-1.0.0.dist-info/top_level.txt,sha256=cziqyWFE89hFhCfsq60Fk6JcwslNtgP01WHIJ5plMEM,11
25
- rossum_mcp-1.0.0.dist-info/RECORD,,
20
+ rossum_mcp-1.0.1.dist-info/licenses/LICENSE,sha256=5nqARgtmPvoIU-1o1az3i8Qi2WOHYIn03vD6haewvEI,1087
21
+ rossum_mcp-1.0.1.dist-info/METADATA,sha256=y1IqueqUlCsxaQcZ5BkB9gQKl-bMPhR6RSVAQGtlcCk,8991
22
+ rossum_mcp-1.0.1.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
23
+ rossum_mcp-1.0.1.dist-info/entry_points.txt,sha256=eth2XELk0QGw9-_H3QL8PQ0OE-RDfzipbSvRy0EUc2c,54
24
+ rossum_mcp-1.0.1.dist-info/top_level.txt,sha256=cziqyWFE89hFhCfsq60Fk6JcwslNtgP01WHIJ5plMEM,11
25
+ rossum_mcp-1.0.1.dist-info/RECORD,,