Basic information
About Lacework Mcp Server
# Lacework Alerts MCP Server
Lacework Mcp Server is a MCP server in the Other category listed in the AddMCP.net directory, published by shashwat-sec. Supported transport: stdio. Runtime: Python. License: GPL-3.0. The repository has 1 GitHub stars. Source code is hosted on github.com. Related topics: lacework, lacework-security, mcp, security, server.
Setup
{
"mcpServers": {
"lacework": {
"command": "/path/to/lacework_mcp_server/.venv/bin/python",
"args": [
"/path/to/lacework_mcp_server/lacework_mcp_server.py"
]
}
}
}
{
"mcpServers": {
"lacework": {
"command": "/path/to/lacework_mcp_server/.venv/bin/python",
"args": [
"/path/to/lacework_mcp_server/lacework_mcp_server.py"
]
}
}
}
{
"servers": {
"lacework": {
"command": "/path/to/lacework_mcp_server/.venv/bin/python",
"args": [
"/path/to/lacework_mcp_server/lacework_mcp_server.py"
]
}
}
}
Lacework Mcp Server config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"lacework": {
"command": "/path/to/lacework_mcp_server/.venv/bin/python",
"args": [
"/path/to/lacework_mcp_server/lacework_mcp_server.py"
]
}
}
}
Lacework Mcp Server tools
Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is Lacework Mcp Server?
An MCP server built with FastMCP that exposes Lacework API v2 alert operations as tools for AI agents and LLM integrations. Designed for security teams who want to query, investigate, and manage Lacework alerts through natural language interfaces.
How to use Lacework Mcp Server?
Clone the repo, set up a Python 3.10+ virtual environment, install dependencies with pip install -e ., and configure Lacework credentials via ~/.lacework.json or environment variables (LACEWORK_ACCOUNT, LACEWORK_KEY_ID, LACEWORK_SECRET). Run the server with python lacework_mcp_server.py for stdio (local) or with --transport sse / --transport streamable-http for remote HTTP access. Credentials can also be passed as tool parameters per request when running remotely.
Key features of Lacework Mcp Server
- Nine alert‑focused tools: list, search, details, timeline, investigation, entities, comments, close.
- Supports flexible time ranges (e.g.,
2h,last 2 hours, specific dates). - Environment or config‑file based credential loading with fallback.
- Per‑request credentials for multi‑tenant or remote scenarios.
- Automatic token refresh using Lacework API v2 authentication.
- Client caching reuses tokens across calls for the same account.
- Multiple transport modes: stdio, SSE, Streamable HTTP.
Use cases of Lacework Mcp Server
- List recent alerts within a custom time window.
- Search alerts by severity, status, or alert type.
- Retrieve full alert details including investigation and timeline.
- Post comments or close alerts directly from an AI assistant.
- Get enriched entity context (e.g., VirusTotal, network activity).
Frequently asked questions
1 How do I configure Lacework credentials?
Two options: a config file at ~/.lacework.json with account, keyId, secret; or environment variables LACEWORK_ACCOUNT, LACEWORK_KEY_ID, LACEWORK_SECRET. Environment variables take precedence.
2 Can I run the server remotely?
Yes. Use --transport sse or --transport streamable-http to serve over HTTP. Callers then pass lacework_account, lacework_key_id, and lacework_secret as optional parameters on each tool call.
3 What are the rate limits and time range constraints?
Lacework API v2 enforces 480 requests per hour per functionality. Time ranges are limited to a maximum of 7 days per request.
4 How does authentication work?
The server uses POST /api/v2/access/tokens to obtain tokens and automatically refreshes them as needed. Tokens are cached per account for reuse across calls.
5 What transports are supported for integrating with MCP clients?
The server supports stdio (for local use with Claude Desktop, VS Code), SSE (Server‑Sent Events), and Streamable HTTP. Remote clients connect via a URL like http://your-server-host:8000/sse.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In