Skip to content

Commit cdcf8ef

Browse files
committed
Migration MD Update
1 parent f8df0a7 commit cdcf8ef

File tree

1 file changed

+20
-24
lines changed

1 file changed

+20
-24
lines changed

migration.md

Lines changed: 20 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
## Migration Tool (MCP Server)
2727

28-
An AI-powered migration tool is available as an MCP server that can analyze your V2 code, transform it to V3, validate the results, and answer migration questions interactively through your IDE.
28+
This AI-powered migration tool is available as an MCP server to analyze your V2 code, transform it to V3, validate the results, and answer migration questions interactively through your IDE.
2929

3030
### Installation
3131

@@ -61,32 +61,22 @@ Add the following to your MCP configuration file:
6161
{
6262
"mcpServers": {
6363
"sagemaker-sdk-helper": {
64-
"command": "sagemaker-sdk-helper",
65-
"args": ["--log-level", "INFO"]
64+
"command": "/path/to/installation",
65+
"args": ["--log-level", "INFO"],
66+
"autoApprove": [
67+
"ask_question",
68+
"transform_code",
69+
"validate_code",
70+
"analyze_code"
71+
]
72+
}
6673
}
67-
}
6874
}
75+
6976
```
7077

7178
> **Note**: If you installed in a virtual environment, use the full path to the executable (find it with `which sagemaker-sdk-helper`).
7279
73-
**With SDK source artifacts (recommended, 20-30% better accuracy):**
74-
75-
```json
76-
{
77-
"mcpServers": {
78-
"sagemaker-sdk-helper": {
79-
"command": "/path/to/.venv/bin/sagemaker-sdk-helper",
80-
"args": [
81-
"--log-level", "INFO",
82-
"--v2-artifacts", "/path/to/sdk_v2/sagemaker-python-sdk",
83-
"--v3-artifacts", "/path/to/sdk_v3/sagemaker-python-sdk"
84-
]
85-
}
86-
}
87-
}
88-
```
89-
9080
After updating the config, restart your IDE or reconnect MCP servers (in Kiro: Command Palette → "MCP: Reconnect Servers").
9181

9282
### Kiro CLI
@@ -97,10 +87,16 @@ For Kiro CLI, add the same configuration to `~/.kiro/settings/mcp.json`:
9787
{
9888
"mcpServers": {
9989
"sagemaker-sdk-helper": {
100-
"command": "sagemaker-sdk-helper",
101-
"args": ["--log-level", "INFO"]
90+
"command": "/path/to/installation",
91+
"args": ["--log-level", "INFO"],
92+
"autoApprove": [
93+
"ask_question",
94+
"transform_code",
95+
"validate_code",
96+
"analyze_code"
97+
]
98+
}
10299
}
103-
}
104100
}
105101
```
106102

0 commit comments

Comments
 (0)