Skip to main content

watsonx Orchestrate Lambda Deployer - MCP server for automating AWS Lambda deployment with Terraform

Project description

watsonx Orchestrate Lambda Deployer - MCP Server

This project contains MCP server implementations for automating AWS Lambda API Gateway deployment.

Available Implementations

1. TypeScript/Node.js Implementation (Recommended - Currently Active)

Location: /Users/amandawinkles/Documents/IBM Bob/MCP/wxo-lambda-deployer/

Status: ✅ Fully functional and configured

Requirements:

  • Node.js 18+ or 20+
  • npm
  • AWS CLI configured
  • Terraform 1.0+

Features:

  • 6 automation tools for Lambda deployment
  • Complete test suite (22 passing tests)
  • Full documentation
  • Currently configured in Bob MCP settings

Tools Available:

  1. init_lambda_project - Initialize Lambda projects
  2. deploy_lambda - Deploy with Terraform
  3. update_lambda_code - Update and redeploy code
  4. get_deployment_status - Check deployment status
  5. destroy_lambda - Clean up resources
  6. test_lambda_endpoint - Test API endpoints

2. Python Implementation

Location: /Users/amandawinkles/bob/wxO-nit/server.py

Status: ⚠️ Requires Python 3.10+ (current system has Python 3.9.6)

Requirements:

  • Python 3.10 or higher
  • fastmcp package
  • AWS CLI configured
  • Terraform 1.0+

Note: The Python implementation is provided but cannot run on the current system due to Python version constraints. FastMCP requires Python 3.10+, but the system has Python 3.9.6.

Current Configuration

The TypeScript implementation is currently active and configured in: ~/.bob/settings/mcp_settings.json

{
  "mcpServers": {
    "wxo-lambda-deployer": {
      "command": "node",
      "args": [
        "/Users/amandawinkles/Documents/IBM Bob/MCP/wxo-lambda-deployer/build/index.js"
      ],
      "env": {
        "AWS_PROFILE": "default"
      }
    }
  }
}

Usage

After restarting Bob, you can use commands like:

"Initialize a new Lambda project called my-api with Node.js 20"
"Deploy the Lambda project"
"Test the Lambda endpoint"
"Get deployment status"
"Destroy the Lambda deployment"

Terraform Deployment Example

The MCP server was used to deploy the existing Terraform configuration in this directory:

# The terraform/ directory contains:
- terraform.tf    # Provider configuration
- main.tf         # Lambda, API Gateway, S3, IAM resources
- outputs.tf      # API endpoint and resource outputs
- variables.tf    # Configuration variables

# Deployment was completed with:
terraform init
terraform validate
terraform plan
terraform apply

Upgrading to Python Implementation

If you upgrade to Python 3.10+, you can use the Python implementation:

  1. Install Python 3.10+:

    brew install python@3.10  # macOS
    
  2. Install dependencies:

    pip3 install -r requirements.txt
    
  3. Update MCP settings:

    {
      "mcpServers": {
        "wxo-lambda-deployer": {
          "command": "python3",
          "args": [
            "/Users/amandawinkles/bob/wxO-nit/server.py"
          ],
          "env": {
            "AWS_PROFILE": "default"
          }
        }
      }
    }
    
  4. Make server executable:

    chmod +x server.py
    

Documentation

  • TypeScript Implementation: /Users/amandawinkles/Documents/IBM Bob/MCP/wxo-lambda-deployer/README.md
  • Contributing Guide: /Users/amandawinkles/Documents/IBM Bob/MCP/wxo-lambda-deployer/CONTRIBUTING.md
  • Test Suite: /Users/amandawinkles/Documents/IBM Bob/MCP/wxo-lambda-deployer/src/__tests__/tools.test.ts

Architecture

User Request
     ↓
Bob/Claude (MCP Client)
     ↓
MCP Protocol
     ↓
wxo-lambda-deployer (TypeScript)
     ↓
Terraform CLI
     ↓
AWS API
     ↓
Lambda + API Gateway + S3 + IAM + CloudWatch

Support

For issues or questions about the MCP server:

  • Check the main README in the TypeScript implementation directory
  • Review test cases for usage examples
  • Consult Terraform documentation for infrastructure details

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wxo_nit-1.0.0.tar.gz (8.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

wxo_nit-1.0.0-py3-none-any.whl (17.8 kB view details)

Uploaded Python 3

File details

Details for the file wxo_nit-1.0.0.tar.gz.

File metadata

  • Download URL: wxo_nit-1.0.0.tar.gz
  • Upload date:
  • Size: 8.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for wxo_nit-1.0.0.tar.gz
Algorithm Hash digest
SHA256 0b33bdf78fc06b9a0581134167de08c9c80268ed8547938bbf871eea81047388
MD5 5bafe5269898fbe06fc5ead9b5a0704b
BLAKE2b-256 154ce4f260cc1bef40a44a99172d1382017128543f8865e3c19fa4cafff1f480

See more details on using hashes here.

File details

Details for the file wxo_nit-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: wxo_nit-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 17.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for wxo_nit-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f826e0712e1b127a6d2bbec3a45596c7b839c3afbb7c37ba559534a164788b2f
MD5 d384e703c20b668fe6f6303e43341d0d
BLAKE2b-256 69ba49760e0343cd305ba920661d1bfc1a1b4715e47a1d997e3457fcb074c379

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page