mcpField
L
Lambda MCP Server

Lambda MCP Server

Local
github.com/bx9900Cloud & Infra0Updated 81w ago

About Lambda MCP Server

Lambda MCP Server lets teams deploy and manage AWS Lambda functions through MCP. It provides deployment configuration validation, function listing, and guided deployment prompts.

Key features

  1. 01Deploy Lambda functions
  2. 02List existing functions
  3. 03Guided deployment prompts
  4. 04Type-safe configuration validation

Use cases

  1. 01Deploy a configured Lambda function
  2. 02Review existing Lambda functions
  3. 03Follow guided deployment steps

MCP support

It exposes MCP tools to deploy functions and list them, plus a guided deployment prompt.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

No install method listed yet

We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.

Repository

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

Lambda MCP Server

A Model Context Protocol server for deploying and managing AWS Lambda functions.

Features

  • Deploy Lambda functions through MCP interface
  • List existing Lambda functions
  • Guided deployment prompts
  • Type-safe configuration validation
  • AWS Lambda integration

Prerequisites

  • Node.js (v16 or higher)
  • AWS Account with appropriate permissions
  • AWS CLI configured with credentials

Installation

npm install

Configuration

Create a .env file in the root directory:

AWS_REGION=us-east-1

Usage

Development Mode
npm run dev
Production Mode
npm run build
npm start

MCP Tools

Deploy Lambda Function
// Example deployment configuration
const config = {
  functionName: "my-function",
  runtime: "nodejs18.x",
  handler: "index.handler",
  memorySize: 128,
  timeout: 30,
  roleArn: "arn:aws:iam::123456789012:role/lambda-role",
  environment: {
    NODE_ENV: "production"
  }
};

// Base64 encoded zip file containing the function code
const code = "base64-encoded-zip-file";

// Deploy using the MCP tool
const result = await client.callTool("deploy", { config, code });
List Functions
// List all Lambda functions
const result = await client.callTool("listFunctions", {});
Guided Deployment
// Start a guided deployment process
const prompt = await client.getPrompt("guidedDeploy", {
  functionName: "my-function",
  runtime: "nodejs18.x"
});

Protocol Interface

The server implements the following MCP tools:

  • deploy: Deploy a new Lambda function
  • listFunctions: List all Lambda functions
  • guidedDeploy: Interactive deployment guidance

Security Considerations

  • Always use HTTPS in production
  • Implement proper authentication and authorization
  • Rotate AWS credentials regularly
  • Use environment variables for sensitive information
  • Implement proper error handling and logging

License

MIT

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.