Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file not shown.
13 changes: 12 additions & 1 deletion template/v2/dirs/etc/sagemaker-ui/sagemaker-mcp/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -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

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

}
},
"tools": [
Expand All @@ -18,7 +28,8 @@
"listDirectory",
"fileSearch",
"executeBash",
"@smus-local-mcp"
"@smus-local-mcp",
"@aws-dp-remote-mcp"
],
"allowedTools": [
"fsRead",
Expand Down
10 changes: 10 additions & 0 deletions template/v2/dirs/etc/sagemaker-ui/sagemaker-mcp/mcp.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
"SELECTED_SERVERS": "*"
},
"disabled": false,
"timeout": 60000
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -404,6 +404,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
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
Expand Down
Binary file not shown.
13 changes: 12 additions & 1 deletion template/v3/dirs/etc/sagemaker-ui/sagemaker-mcp/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -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

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's increase from 60sec to 180sec

}
},
"tools": [
Expand All @@ -18,7 +28,8 @@
"listDirectory",
"fileSearch",
"executeBash",
"@smus-local-mcp"
"@smus-local-mcp",
"@aws-dp-remote-mcp"
],
"allowedTools": [
"fsRead",
Expand Down
10 changes: 10 additions & 0 deletions template/v3/dirs/etc/sagemaker-ui/sagemaker-mcp/mcp.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's this profile and how do we configure it?

"SELECTED_SERVERS": "*"

Choose a reason for hiding this comment

The 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
Expand Up @@ -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

Choose a reason for hiding this comment

The 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
Expand Down