@strand-ai/lambda-mcp
v0.5.3
Published
Unofficial MCP server for Lambda cloud GPU instances
Maintainers
Readme
Lambda MCP Server
[!CAUTION] UNOFFICIAL PROJECT — This is a community-built tool, not affiliated with or endorsed by Lambda.
An MCP (Model Context Protocol) server that lets AI assistants manage your Lambda cloud GPU infrastructure.
Quick Start
npx @strand-ai/lambda-mcpAuthentication
Get your API key from the Lambda dashboard.
Option 1: Environment Variable
export LAMBDA_API_KEY=<your-key>Option 2: Command (1Password, etc.)
export LAMBDA_API_KEY_COMMAND="op read op://Personal/Lambda/api-key"Claude Code Setup
claude mcp add lambda -s user -e LAMBDA_API_KEY=your-api-key -- npx -y @strand-ai/lambda-mcpWith 1Password CLI:
claude mcp add lambda -s user -e LAMBDA_API_KEY_COMMAND="op read op://Personal/Lambda/api-key" -- npx -y @strand-ai/lambda-mcpThen restart Claude Code.
Available Tools
| Tool | Description |
|------|-------------|
| list_gpu_types | List all available GPU instance types with pricing, specs, and current availability |
| start_instance | Launch a new GPU instance |
| stop_instance | Terminate a running instance |
| list_running_instances | Show all running instances with status and connection details |
| check_availability | Check if a specific GPU type is available |
Example Prompts
Once configured, you can ask Claude things like:
- "What GPUs are currently available on Lambda?"
- "Launch an H100 instance with my ssh key 'macbook'"
- "Show me my running instances"
- "Check if any A100s are available"
- "Terminate instance i-abc123"
Notifications (Optional)
Get notified on Slack, Discord, or Telegram when your instance is ready and SSH-able.
# Slack
export LAMBDA_NOTIFY_SLACK_WEBHOOK="https://hooks.slack.com/services/T00/B00/XXX"
# Discord
export LAMBDA_NOTIFY_DISCORD_WEBHOOK="https://discord.com/api/webhooks/123/abc"
# Telegram
export LAMBDA_NOTIFY_TELEGRAM_BOT_TOKEN="123456:ABC-DEF..."
export LAMBDA_NOTIFY_TELEGRAM_CHAT_ID="123456789"CLI
Looking for the CLI? See the full documentation.
License
MIT
