mcp-server

v0.1.55
@amplify-monitor/mcp-server Checked 3 days ago Published 1 month ago

MCP server for AWS Amplify build monitoring and diagnosis

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

amplify_list_apps

List all AWS Amplify applications across all regions. Returns app IDs, names, and regions.

ParameterTypeDescription
profilestringAWS profile name for cross-account access (optional)
regionstringSpecific AWS region to query (optional, defaults to all regions)

amplify_list_branches

List all branches for a specific Amplify application.

ParameterTypeDescription
appId *stringThe Amplify application ID (e.g., d1234567890)
profilestringAWS profile name for cross-account access (optional)
regionstringAWS region where the app is located (optional)

amplify_list_jobs

List recent build/deploy jobs for a specific branch of an Amplify application.

ParameterTypeDescription
appId *stringThe Amplify application ID
branch *stringThe branch name (e.g., main, master, develop)
profilestringAWS profile name for cross-account access (optional)
regionstringAWS region where the app is located (optional)

amplify_diagnose

Diagnose a failed Amplify build job. Downloads logs and analyzes them for common failure patterns like lock file mismatches, Node.js version conflicts, missing environment variables, package installation failures, and more. Returns detected issues with root causes and suggested fixes.

ParameterTypeDescription
appId *stringThe Amplify application ID
branch *stringThe branch name
jobIdstringSpecific job ID to diagnose (optional, defaults to latest failed job)
profilestringAWS profile name for cross-account access (optional)
regionstringAWS region where the app is located (optional)

amplify_get_latest_failed

Get the most recent failed job for a branch. Useful to quickly identify if there are any build failures.

ParameterTypeDescription
appId *stringThe Amplify application ID
branch *stringThe branch name
profilestringAWS profile name for cross-account access (optional)
regionstringAWS region where the app is located (optional)

amplify_get_env_vars

Get all environment variables for an Amplify branch. Returns variable names and values.

ParameterTypeDescription
appId *stringThe Amplify application ID
branch *stringThe branch name
profilestringAWS profile name for cross-account access (optional)
regionstringAWS region where the app is located (optional)

amplify_set_env_var

Set or update an environment variable for an Amplify branch.

ParameterTypeDescription
appId *stringThe Amplify application ID
branch *stringThe branch name
name *stringThe environment variable name
value *stringThe environment variable value
profilestringAWS profile name for cross-account access (optional)
regionstringAWS region where the app is located (optional)

amplify_delete_env_var

Delete an environment variable from an Amplify branch.

ParameterTypeDescription
appId *stringThe Amplify application ID
branch *stringThe branch name
name *stringThe environment variable name to delete
profilestringAWS profile name for cross-account access (optional)
regionstringAWS region where the app is located (optional)

amplify_start_build

Start a new build/deploy job for an Amplify branch.

ParameterTypeDescription
appId *stringThe Amplify application ID
branch *stringThe branch name
profilestringAWS profile name for cross-account access (optional)
regionstringAWS region where the app is located (optional)

amplify_stop_build

Stop a running build/deploy job for an Amplify branch.

ParameterTypeDescription
appId *stringThe Amplify application ID
branch *stringThe branch name
jobId *stringThe job ID to stop
profilestringAWS profile name for cross-account access (optional)
regionstringAWS region where the app is located (optional)

amplify_migration_analysis

Analyze an Amplify Gen1 project for migration readiness to Gen2. Returns detailed information about feature compatibility, blocking issues, and migration hints.

ParameterTypeDescription
projectPath *stringThe absolute path to the project directory containing the amplify/ folder

amplify_monitor_build

Monitor a build and get real-time status with automatic failure diagnosis. Use this after a git push to track build progress and get immediate failure analysis.

ParameterTypeDescription
appId *stringThe Amplify application ID
branch *stringThe branch name to monitor
jobIdstringSpecific job ID to monitor (optional, defaults to latest)
profilestringAWS profile name for cross-account access (optional)
regionstringAWS region where the app is located (optional)
timeoutSecondsnumberMaximum time to wait for build completion in seconds (default: 1800 = 30 min)
waitForCompletionbooleanWait for build to complete and return final status with diagnosis (default: true)

amplify_get_build_logs

Fetch and analyze build/deploy logs for a specific job. Returns log content with error analysis.

ParameterTypeDescription
appId *stringThe Amplify application ID
branch *stringThe branch name
jobIdstringThe job ID (optional, defaults to latest failed job)
logTypestringType of logs to fetch (default: both)
profilestringAWS profile name for cross-account access (optional)
regionstringAWS region where the app is located (optional)