
lambda mcp server buildit
用于部署和管理 AWS Lambda 函数的模型上下文协议服务器。
Repository Info
About This Server
用于部署和管理 AWS Lambda 函数的模型上下文协议服务器。
Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.
Documentation
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 functionlistFunctions: List all Lambda functionsguidedDeploy: 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
Quick Start
Clone the repository
git clone https://github.com/bx9900/lambda-mcp-server-builditInstall dependencies
cd lambda-mcp-server-buildit
npm installFollow the documentation
Check the repository's README.md file for specific installation and usage instructions.
Repository Details
Recommended MCP Servers
Discord MCP
Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.
Knit MCP
Connect AI agents to 200+ SaaS applications and automate workflows.
Apify MCP Server
Deploy and interact with Apify actors for web scraping and data extraction.
BrowserStack MCP
BrowserStack MCP Server for automated testing across multiple browsers.
Zapier MCP
A Zapier server that provides automation capabilities for various apps.