Agent Skills
› letta-ai/letta-code
› using-cloud-mcp
using-cloud-mcp
GitHub指导Agent使用Letta Cloud MCP CLI工具,列出已连接的MCP服务器、查看工具列表并执行具体工具。涵盖从云沙箱到终端的多场景操作及错误处理规则。
Trigger Scenarios
用户询问如何使用已连接的MCP服务器
用户要求列出Agent的MCP服务器或工具
用户在聊天中运行MCP工具
提及cloud MCP、server-side MCP、agent MCP或letta cloud-mcp
Install
npx skills add letta-ai/letta-code --skill using-cloud-mcp -g -y
SKILL.md
Frontmatter
{
"name": "using-cloud-mcp",
"description": "Uses MCP servers connected to the current Letta Cloud agent (cloud MCP). Load when the user asks to use a connected MCP server, list the agent's MCP servers or MCP tools, run an MCP tool connected in ADE\/chat, or mentions cloud MCP, server-side MCP, agent MCP, or `letta cloud-mcp`."
}
Using Cloud MCP
Letta Cloud stores MCP server connections per agent. The letta cloud-mcp CLI lists and runs those servers' tools through the Letta API, so it works from any surface where the agent runs: cloud sandboxes (chat.letta.com), Letta Desktop, and terminals.
Workflow
- List MCP servers connected to this agent:
letta cloud-mcp list
- Pick the relevant
idfrom the JSON output, then list its tools:
letta cloud-mcp tools <mcp-server-id>
- Pick a tool
id, inspect its name and description, and run it with a JSON object:
letta cloud-mcp run <mcp-server-id> <tool-id> --args '{"key":"value"}'
Rules
- Do not ask for an agent ID unless the user wants another agent. The CLI reads
LETTA_AGENT_ID/AGENT_IDfrom the environment. - Treat command output as JSON. Summarize relevant results instead of pasting large raw payloads.
- If
listis empty, ask the user to connect an MCP server to the agent on the MCP servers page. - If
toolsis empty for a connected server, the server's tools were never synced. Ask the user to resync the server from the MCP servers page; the CLI has no refresh action. - If a connected server has type
stdio, its tools cannot run on hosted Letta Cloud. Tell the user instead of retrying. - This requires a signed-in Letta Cloud agent. MCP servers configured locally in the terminal (
/mcp) are unrelated to this CLI.
Version History
- b94afce Current 2026-08-27 15:21


