讓您的AI代理管理Lambda雲端GPU實例
本文介紹了一個名為lambda-cli的非官方命令列介面(CLI)和MCP伺服器專案,旨在讓AI代理能夠管理Lambda雲端GPU實例。該工具強調其社群驅動的性質。
Navigation Menu
Search code, repositories, users, issues, pull requests...
Provide feedback
We read every piece of feedback, and take your input very seriously.
Saved searches
Use saved searches to filter your results more quickly
To see all available qualifiers, see our documentation.
Unofficial CLI and MCP server for Lambda cloud GPU instances
License
Uh oh!
There was an error while loading. Please reload this page.
Strand-AI/lambda-cli
Folders and files
Latest commit
History
Repository files navigation
Lambda CLI
Caution
UNOFFICIAL PROJECT — This is a community-built tool, not affiliated with or endorsed by Lambda.
A fast CLI and MCP server for managing Lambda cloud GPU instances.
Two ways to use it:
Installation
Homebrew (macOS/Linux)
From Source
Pre-built Binaries
Download from GitHub Releases.
Authentication
Get your API key from the Lambda dashboard.
Option 1: Environment Variable
Option 2: Command (1Password, etc.)
The command is executed at startup and its output is used as the API key. This works with any secret manager.
Notifications (Optional)
Get notified on Slack, Discord, or Telegram when your instance is ready and SSH-able.
Configuration
Set one or more of these environment variables:
Setup Guides
Slack: Create an Incoming Webhook in your workspace.
Discord: In channel settings → Integrations → Webhooks → New Webhook → Copy Webhook URL.
Telegram:
CLI Usage
Commands
Examples
List available GPUs:
Start an instance:
Stop an instance:
Wait for availability and auto-launch:
CLI Options
Notifications are automatic when env vars are configured. Use --no-notify to disable:
MCP Server
The lambda-mcp binary is an MCP (Model Context Protocol) server that lets AI assistants manage your Lambda infrastructure.
Quick Start with npx
The easiest way to use lambda-mcp is via npx—no installation required:
Options
When using LAMBDA_API_KEY_COMMAND, the MCP server defers command execution until the first API request by default. This avoids unnecessary delays when starting Claude Code if you don't use Lambda tools in every session.
Use --eager to execute the command at startup instead:
Note: The CLI (lambda) always executes the API key command at startup since it's used for immediate operations.
Available Tools
Auto-Notifications
When notification environment variables are configured, the MCP server automatically sends notifications when instances become SSH-able. No additional flags needed—just set the LAMBDA_NOTIFY_* env vars and launch instances as usual.
Claude Code Setup
With 1Password CLI:
Then restart Claude Code.
Example Prompts
Once configured, you can ask Claude things like:
Development
Releasing
To create a release:
About
Unofficial CLI and MCP server for Lambda cloud GPU instances
Resources
License
Contributing
Uh oh!
There was an error while loading. Please reload this page.
Stars
Watchers
Forks
Releases
10
Packages
0
Contributors
4
Languages
Footer
Footer navigation
相關文章