Run any AWS Lambda function as an LLM tool without code changes.
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
claude mcp add mcp2lambda -- uv --directory '<full path to the mcp2lambda directory>' run main.py~/.codex/config.toml
[mcp_servers.mcp2lambda]
command = "uv"
args = ["--directory", "<full path to the mcp2lambda directory>", "run", "main.py"]
# codex mcp add mcp2lambda -- uv --directory '<full path to the mcp2lambda directory>' run main.py~/.cursor/mcp.json
{
"mcpServers": {
"mcp2lambda": {
"command": "uv",
"args": [
"--directory",
"<full path to the mcp2lambda directory>",
"run",
"main.py"
]
}
}
}.vscode/mcp.json
{
"servers": {
"mcp2lambda": {
"type": "stdio",
"command": "uv",
"args": [
"--directory",
"<full path to the mcp2lambda directory>",
"run",
"main.py"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"mcp2lambda": {
"command": "uv",
"args": [
"--directory",
"<full path to the mcp2lambda directory>",
"run",
"main.py"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"mcp2lambda": {
"command": "uv",
"args": [
"--directory",
"<full path to the mcp2lambda directory>",
"run",
"main.py"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"mcp2lambda": {
"command": "uv",
"args": [
"--directory",
"<full path to the mcp2lambda directory>",
"run",
"main.py"
]
}
}
}