awslabs.syntheticdata-mcp-server 0.0.1__py3-none-any.whl → 1.0.0__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.
- awslabs/syntheticdata_mcp_server/server.py +3 -17
- {awslabs_syntheticdata_mcp_server-0.0.1.dist-info → awslabs_syntheticdata_mcp_server-1.0.0.dist-info}/METADATA +2 -2
- {awslabs_syntheticdata_mcp_server-0.0.1.dist-info → awslabs_syntheticdata_mcp_server-1.0.0.dist-info}/RECORD +7 -7
- {awslabs_syntheticdata_mcp_server-0.0.1.dist-info → awslabs_syntheticdata_mcp_server-1.0.0.dist-info}/WHEEL +0 -0
- {awslabs_syntheticdata_mcp_server-0.0.1.dist-info → awslabs_syntheticdata_mcp_server-1.0.0.dist-info}/entry_points.txt +0 -0
- {awslabs_syntheticdata_mcp_server-0.0.1.dist-info → awslabs_syntheticdata_mcp_server-1.0.0.dist-info}/licenses/LICENSE +0 -0
- {awslabs_syntheticdata_mcp_server-0.0.1.dist-info → awslabs_syntheticdata_mcp_server-1.0.0.dist-info}/licenses/NOTICE +0 -0
|
@@ -11,7 +11,6 @@
|
|
|
11
11
|
|
|
12
12
|
"""AWS syntheticdata MCP Server implementation."""
|
|
13
13
|
|
|
14
|
-
import argparse
|
|
15
14
|
import os
|
|
16
15
|
import pandas as pd
|
|
17
16
|
import re
|
|
@@ -143,8 +142,8 @@ mcp = FastMCP(
|
|
|
143
142
|
)
|
|
144
143
|
|
|
145
144
|
|
|
146
|
-
@mcp.tool(name='
|
|
147
|
-
async def
|
|
145
|
+
@mcp.tool(name='get_data_gen_instructions')
|
|
146
|
+
async def get_data_gen_instructions(
|
|
148
147
|
business_description: str = Field(
|
|
149
148
|
...,
|
|
150
149
|
description='A detailed description of the business domain and use case. The more specific and comprehensive the description, the better the data generation instructions will be.',
|
|
@@ -756,20 +755,7 @@ def _validate_table_data(table_name: str, records: List[Dict]) -> Dict:
|
|
|
756
755
|
|
|
757
756
|
def main():
|
|
758
757
|
"""Run the MCP server with CLI argument support."""
|
|
759
|
-
|
|
760
|
-
description='MCP server for generating synthetic data based on business use cases'
|
|
761
|
-
)
|
|
762
|
-
parser.add_argument('--sse', action='store_true', help='Use SSE transport')
|
|
763
|
-
parser.add_argument('--port', type=int, default=8888, help='Port to run the server on')
|
|
764
|
-
|
|
765
|
-
args = parser.parse_args()
|
|
766
|
-
|
|
767
|
-
# Run server with appropriate transport
|
|
768
|
-
if args.sse:
|
|
769
|
-
mcp.settings.port = args.port
|
|
770
|
-
mcp.run(transport='sse')
|
|
771
|
-
else:
|
|
772
|
-
mcp.run()
|
|
758
|
+
mcp.run()
|
|
773
759
|
|
|
774
760
|
|
|
775
761
|
if __name__ == '__main__':
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: awslabs.syntheticdata-mcp-server
|
|
3
|
-
Version: 0.0
|
|
3
|
+
Version: 1.0.0
|
|
4
4
|
Summary: An AWS Labs Model Context Protocol (MCP) server for syntheticdata
|
|
5
5
|
Project-URL: homepage, https://awslabs.github.io/mcp/
|
|
6
6
|
Project-URL: docs, https://awslabs.github.io/mcp/servers/syntheticdata-mcp-server/
|
|
@@ -97,7 +97,7 @@ The MCP server uses the AWS profile specified in the `AWS_PROFILE` environment v
|
|
|
97
97
|
### Getting Data Generation Instructions
|
|
98
98
|
|
|
99
99
|
```python
|
|
100
|
-
response = await server.
|
|
100
|
+
response = await server.get_data_gen_instructions(
|
|
101
101
|
business_description="An e-commerce platform with customers, orders, and products"
|
|
102
102
|
)
|
|
103
103
|
```
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
awslabs/__init__.py,sha256=8r6KA5knEPJXmJXrBXU0rwzZmSt1Ar0kcDpmQQuo1i4,674
|
|
2
2
|
awslabs/syntheticdata_mcp_server/__init__.py,sha256=kfGBcnyPKEWN5hs3ViopoSKEsW8K2t3466vR3QiC2tQ,626
|
|
3
3
|
awslabs/syntheticdata_mcp_server/pandas_interpreter.py,sha256=Uex1n2ieG9gt-qFb7zPtDHZYRne9qaawUu3NBONixVk,10067
|
|
4
|
-
awslabs/syntheticdata_mcp_server/server.py,sha256=
|
|
4
|
+
awslabs/syntheticdata_mcp_server/server.py,sha256=fi0zLgscR29cSVkbBul3ASREQeJbncftq7ZKzRxCQKQ,27648
|
|
5
5
|
awslabs/syntheticdata_mcp_server/storage/__init__.py,sha256=4p31heOr0rR6T6KF3XmZcUB4Nb-uLAw4O1gXfW838Q8,201
|
|
6
6
|
awslabs/syntheticdata_mcp_server/storage/base.py,sha256=JkWFLYqioTlXHkEXoS0Ba-lUln7L5S_8WMSkqo4gTIA,1537
|
|
7
7
|
awslabs/syntheticdata_mcp_server/storage/loader.py,sha256=ukFYmk9v6b6-MB9cfNyZsuCKTh977GWIndVeYOjzAfo,3118
|
|
8
8
|
awslabs/syntheticdata_mcp_server/storage/s3.py,sha256=fSqGWbWjG4Lw3wI6QA3626KKQeKSMeL9_p6lzW2rkjU,7973
|
|
9
|
-
awslabs_syntheticdata_mcp_server-0.0.
|
|
10
|
-
awslabs_syntheticdata_mcp_server-0.0.
|
|
11
|
-
awslabs_syntheticdata_mcp_server-0.0.
|
|
12
|
-
awslabs_syntheticdata_mcp_server-0.0.
|
|
13
|
-
awslabs_syntheticdata_mcp_server-0.0.
|
|
14
|
-
awslabs_syntheticdata_mcp_server-0.0.
|
|
9
|
+
awslabs_syntheticdata_mcp_server-1.0.0.dist-info/METADATA,sha256=jUkHtk8a4TGk0OKoElC1xUkIDfVLZowgORkRt-OArbM,4700
|
|
10
|
+
awslabs_syntheticdata_mcp_server-1.0.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
11
|
+
awslabs_syntheticdata_mcp_server-1.0.0.dist-info/entry_points.txt,sha256=irsU4Ts5TsNCUmV4-ctPbkeqC6amCzI8Es9At1jylcI,98
|
|
12
|
+
awslabs_syntheticdata_mcp_server-1.0.0.dist-info/licenses/LICENSE,sha256=CeipvOyAZxBGUsFoaFqwkx54aPnIKEtm9a5u2uXxEws,10142
|
|
13
|
+
awslabs_syntheticdata_mcp_server-1.0.0.dist-info/licenses/NOTICE,sha256=6YOTbc8gQC0JqDIjwjdSIVsY9CtVd1vJeKxu6oqEUiE,100
|
|
14
|
+
awslabs_syntheticdata_mcp_server-1.0.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|