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
- Activate virtual environment
- Make changes to code
- Test mcp server
- Deactivate when done:
deactivate
Generate Prompt using Claude AI
run LQL samv_out_of_canada and fetch all aws resources id