lattice-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@lattice-mcpList all stacks with their status"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
lattice-mcp
MCP server for the Lattice container orchestration platform. Gives Claude Code direct access to manage workers, stacks, containers, and deployments.
Quick Start
npx lattice-mcp --setupThis prompts for your Lattice API URL and API token, writes the config to ~/.mcp.json, and you're ready to go. Restart Claude Code after setup.
Manual Setup
Add to ~/.mcp.json:
{
"mcpServers": {
"lattice": {
"command": "npx",
"args": ["-y", "lattice-mcp"],
"env": {
"LATTICE_API_URL": "https://lattice-api.appleby.cloud",
"LATTICE_API_TOKEN": "your-api-token"
}
}
}
}Generate an API token from the Lattice web dashboard under Settings > API Tokens.
Tools
Overview & Health
Tool | Description |
| Fleet overview — worker counts, stack counts, failed stacks, CPU/memory |
| API health and database connectivity |
Workers
Tool | Description |
| List workers with status, IP, versions |
| Detailed worker info |
| CPU, memory, disk, network metrics |
| Reboot a worker machine |
| Upgrade worker runner to latest |
| Stop all containers on a worker |
| Start all containers on a worker |
Stacks
Tool | Description |
| List stacks with status and worker assignment |
| Full stack details including compose YAML |
| Update stack configuration |
| Deploy a stack (all or specific containers) |
| Restart all containers in a stack |
| Stop all containers in a stack |
| Start all containers in a stack |
Containers
Tool | Description |
| List containers with status, image, ports, health |
| Full container details |
| Recent container logs (stdout/stderr) |
| Lifecycle events (start, stop, health changes) |
| Start a stopped container |
| Stop a running container |
| Restart a container |
| Force kill a container |
| Pause a running container |
| Unpause a paused container |
| Remove a container |
| Remove and recreate a container |
Deployments
Tool | Description |
| List deployments with status and timing |
| Deployment details with container-level status |
| Pull, create, start, swap events with timing |
| Rollback to previous state |
System
Tool | Description |
| Recent audit log entries |
| Trigger API self-update |
| Trigger web container update |
| List API tokens |
| Create a new API token |
| Delete an API token |
Example Prompts
"What's the status of all stacks?"
"Show me logs for the forta-api container"
"Deploy stack 5"
"Which containers are unhealthy?"
"Rollback the last deployment on stack 12"
Environment Variables
Variable | Required | Description |
| Yes | Lattice API base URL |
| Yes | API token for authentication |
License
MIT
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/aidenappl/lattice-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server