lacework_mcp

svuillaume/lacework_mcp

3.2

If you are the rightful owner of lacework_mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

The MCP Server is a tool that provides integration capabilities with Lacework, allowing users to manage and monitor their cloud security posture effectively.

MCP Server

The server runs as an MCP (Model Context Protocol) tool that provides Lacework integration capabilities, in Claude AI Desktop

Project Setup

1. Create and Setup Virtual Environment

# Create new virtual environment
python3 -m venv mcpvenv

# Activate the environment
source mcpenv/bin/activate

# Install dependencies
pip install -r requirements.txt

2. Environment Configuration

Create a .env file with required Lacework credentials:

LW_ACCOUNT=your-account-name
LW_KEY_ID=your-key-id
LW_SECRET=your-secret-key
LW_SUBACCOUNT=optional-subaccount
LW_EXPIRY=3600

3. Run the Application

# Run your script
python your_script.py

# Or run MCP server directly
python server.py

# Or with full path
/Users/svuillaume/betamcp/.venv/bin/python3 server.py

4. Deactivate Environment

deactivate

Project Structure

lacework_mcp/
ā”œā”€ā”€ .env                    # Environment variables (not in git)
ā”œā”€ā”€ .gitignore             # Git ignore file
ā”œā”€ā”€ requirements.txt       # Python dependencies
ā”œā”€ā”€ server.py             # Main MCP server
ā”œā”€ā”€ samvenv/              # Virtual environment (not in git)
│   ā”œā”€ā”€ bin/
│   │   └── activate
│   └── lib/
└── README.md             # This file

Development Workflow

  1. Activate virtual environment
  2. Make changes to code
  3. Test mcp server
  4. Deactivate when done: deactivate

Generate Prompt using Claude AI

run LQL samv_out_of_canada and fetch all aws resources id