-
Notifications
You must be signed in to change notification settings - Fork 90
feat: add AWS Data Processing MCP server proxy #932
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,6 +9,16 @@ | |
"/etc/sagemaker-ui/sagemaker-mcp/smus-mcp.py" | ||
], | ||
"env": {} | ||
}, | ||
"aws-dp-remote-mcp": { | ||
"command": "aws-data-processing-mcp-proxy", | ||
"args": [], | ||
"env": { | ||
"AWS_PROFILE_NAME": "remote_mcp_profile", | ||
"SELECTED_SERVERS": "*" | ||
}, | ||
"disabled": false, | ||
"timeout": 60000 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Let's increase from 60sec to 180sec |
||
} | ||
}, | ||
"tools": [ | ||
|
@@ -18,7 +28,8 @@ | |
"listDirectory", | ||
"fileSearch", | ||
"executeBash", | ||
"@smus-local-mcp" | ||
"@smus-local-mcp", | ||
"@aws-dp-remote-mcp" | ||
], | ||
"allowedTools": [ | ||
"fsRead", | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,16 @@ | |
"smus-local-mcp": { | ||
"command": "python", | ||
"args": ["/etc/sagemaker-ui/sagemaker-mcp/smus-mcp.py"] | ||
}, | ||
"aws-dp-remote-mcp": { | ||
"command": "aws-data-processing-mcp-proxy", | ||
"args": [], | ||
"env": { | ||
"AWS_PROFILE_NAME": "remote_mcp_profile", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What's this profile and how do we configure it? |
||
"SELECTED_SERVERS": "*" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. TODO: Finalize on servers/capabilities based on environment/persona |
||
}, | ||
"disabled": false, | ||
"timeout": 60000 | ||
} | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -405,6 +405,11 @@ else | |
echo "Warning: Source configuration file not found at $agents_source_file" | ||
fi | ||
|
||
# Install AWS Data Processing MCP proxy wheel file | ||
echo "Installing AWS Data Processing MCP proxy..." | ||
pip install /etc/sagemaker-ui/sagemaker-mcp/amzn_aws_data_processing_remote_mcp_local_proxy-0.1.0-py3-none-any.whl | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. TODO: Finalize the version |
||
echo "Successfully installed AWS Data Processing MCP proxy" | ||
|
||
# Generate sagemaker pysdk intelligent default config | ||
nohup python /etc/sagemaker/sm_pysdk_default_config.py & | ||
# Only run the following commands if SAGEMAKER_APP_TYPE_LOWERCASE is jupyterlab and domain is not in express mode | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For each config, increase timeout from 60 to 180sec