AWS lambda: Remove Serverless MCP Server install steps from agent setup guide
Summary
Removes all 'Install Serverless MCP Server' sections and MCP client configuration snippets (which set AWS_PROFILE, AWS_REGION, FASTMCP_LOG_LEVEL) across Claude Code, Codex, Cursor, Kiro, Copilot, Windsurf, OpenCode, and generic agents, leaving only agent skills installation.
Security assessment
The change deletes MCP server configuration instructions that referenced AWS_PROFILE credentials, but it is a documentation restructuring rather than a fix for a specific vulnerability or incident. No CVE or security advisory is referenced.
Evidence
-### Install Serverless MCP Server
Diff
diff --git a/lambda/latest/dg/agent-setup-guide.md b/lambda/latest/dg/agent-setup-guide.md index ce03fcd..e20f68f 100644 --- a//lambda/latest/dg/agent-setup-guide.md +++ b//lambda/latest/dg/agent-setup-guide.md @@ -7 +7 @@ -PrerequisitesClaude CodeCodexCursorKiroGitHub CopilotDevin DesktopOpenCodeFor all other agents compatible with agent skills and MCP Server configurationInstall additional Lambda skills +PrerequisitesClaude CodeCodexCursorKiroGitHub CopilotDevin DesktopOpenCodeFor all other agents compatible with agent skillsInstall additional Lambda skills @@ -11 +11 @@ PrerequisitesClaude CodeCodexCursorKiroGitHub CopilotDevin DesktopOpenCodeFor al -AI coding agents can accelerate serverless development by providing intelligent assistance for application scaffolding, deployment configuration, debugging, and infrastructure-as-code generation. By configuring your agent with the right combination of plugins, skills, and MCP Servers, you equip it with expertise required to build and manage serverless applications. +AI coding agents can accelerate serverless development by providing intelligent assistance for application scaffolding, deployment configuration, debugging, and infrastructure-as-code generation. By configuring your agent with the right combination of plugins and skills, you equip it with expertise required to build and manage serverless applications. @@ -24 +24 @@ Choose the installation method that matches your development environment. -Ensure the following prerequisites are in place for installing aws-core plugin and Serverless MCP Server: +Ensure the following prerequisites are in place for installing the aws-core plugin: @@ -47,12 +46,0 @@ This installs agent skills including the AWS serverless skill, agent hooks, and -### Install Serverless MCP Server - -Replace `AWS_PROFILE` with your local AWS profile name. - - - claude mcp add awslabs-aws-serverless-mcp \ - -e AWS_PROFILE=default \ - -e AWS_REGION=us-east-1 \ - -e FASTMCP_LOG_LEVEL=ERROR \ - --scope user \ - -- uvx awslabs.aws-serverless-mcp-server@latest - @@ -70,11 +57,0 @@ Then launch Codex and run `/plugins` to browse and install the aws-core plugin. -### Install Serverless MCP Server - -Replace `AWS_PROFILE` with your local AWS profile name. - - - codex mcp add awslabs-aws-serverless-mcp \ - --env AWS_PROFILE=default \ - --env AWS_REGION=us-east-1 \ - --env FASTMCP_LOG_LEVEL=ERROR \ - -- uvx awslabs.aws-serverless-mcp-server@latest - @@ -88,15 +64,0 @@ Replace `AWS_PROFILE` with your local AWS profile name. -### Install Serverless MCP Server - -Add the following to `.cursor/mcp.json` under `"mcpServers"`. Replace `AWS_PROFILE` with your local AWS profile name. - - - "awslabs.aws-serverless-mcp": { - "command": "uvx", - "args": ["awslabs.aws-serverless-mcp-server@latest"], - "env": { - "AWS_PROFILE": "default", - "AWS_REGION": "us-east-1", - "FASTMCP_LOG_LEVEL": "ERROR" - } - } - @@ -110,16 +71,0 @@ Add the following to `.cursor/mcp.json` under `"mcpServers"`. Replace `AWS_PROFI -### Install Serverless MCP Server - -Add the following to `~/.kiro/settings/mcp.json` under `"mcpServers"`. Replace `AWS_PROFILE` with your local AWS profile name. - - - "awslabs.aws-serverless-mcp": { - "command": "uvx", - "args": ["awslabs.aws-serverless-mcp-server@latest"], - "env": { - "AWS_PROFILE": "default", - "AWS_REGION": "us-east-1", - "FASTMCP_LOG_LEVEL": "ERROR" - }, - "disabled": false - } - @@ -134,2 +79,0 @@ Install the following Kiro powers that provide specialized contexts and tools to - * **Lambda Durable Functions** — install through [Kiro powers link](https://kiro.dev/launch/powers/add/?name=aws-lambda-durable-functions). - @@ -146,15 +89,0 @@ Install the following Kiro powers that provide specialized contexts and tools to -### Install Serverless MCP Server - -Add the following to `.vscode/mcp.json` under `"mcpServers"`. Replace `AWS_PROFILE` with your local AWS profile name. - - - "awslabs.aws-serverless-mcp": { - "command": "uvx", - "args": ["awslabs.aws-serverless-mcp-server@latest"], - "env": { - "AWS_PROFILE": "default", - "AWS_REGION": "us-east-1", - "FASTMCP_LOG_LEVEL": "ERROR" - } - } - @@ -168,15 +96,0 @@ Add the following to `.vscode/mcp.json` under `"mcpServers"`. Replace `AWS_PROFI -### Install Serverless MCP Server - -Add the following to `/.codeium/windsurf/mcp_config.json` under `"mcpServers"`. Replace `AWS_PROFILE` with your local AWS profile name. - - - "awslabs.aws-serverless-mcp": { - "command": "uvx", - "args": ["awslabs.aws-serverless-mcp-server@latest"], - "env": { - "AWS_PROFILE": "default", - "AWS_REGION": "us-east-1", - "FASTMCP_LOG_LEVEL": "ERROR" - } - } - @@ -190 +104 @@ Add the following to `/.codeium/windsurf/mcp_config.json` under `"mcpServers"`. -### Install Serverless MCP Server +## For all other agents compatible with agent skills @@ -192,16 +106 @@ Add the following to `/.codeium/windsurf/mcp_config.json` under `"mcpServers"`. -Add the following to `/.config/opencode/opencode.jsonc` under `"mcpServers"`. Replace `AWS_PROFILE` with your local AWS profile name. - - - "awslabs.aws-serverless-mcp": { - "command": "uvx", - "args": ["awslabs.aws-serverless-mcp-server@latest"], - "env": { - "AWS_PROFILE": "default", - "AWS_REGION": "us-east-1", - "FASTMCP_LOG_LEVEL": "ERROR" - } - } - -## For all other agents compatible with agent skills and MCP Server configuration - -For any other agent that supports the open-source [agent skills](https://agentskills.io/specification) format and MCP Server configuration, follow these steps: +For any other agent that supports the open-source [agent skills](https://agentskills.io/specification) format, follow these steps: @@ -214,19 +112,0 @@ For any other agent that supports the open-source [agent skills](https://agentsk -### Install Serverless MCP Server - -Add the Serverless MCP Server to your agent's MCP client configuration file under `"mcpServers"`. Replace `AWS_PROFILE` with your local AWS profile name. - - - { - "mcpServers": { - "awslabs.aws-serverless-mcp": { - "command": "uvx", - "args": ["awslabs.aws-serverless-mcp-server@latest"], - "env": { - "AWS_PROFILE": "default", - "AWS_REGION": "us-east-1", - "FASTMCP_LOG_LEVEL": "ERROR" - } - } - } - } -