Letta MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| LETTA_API_KEY | Yes | Required API key for Letta Cloud | |
| LETTA_TIMEOUT | No | Timeout in seconds (default: 60) | |
| LETTA_BASE_URL | No | Base URL for Letta API (default: https://api.letta.com) | |
| LETTA_MAX_RETRIES | No | Maximum number of retries (default: 3) | |
| LETTA_DEFAULT_MODEL | No | Default model to use (default: openai/gpt-4o-mini) | |
| LETTA_DEFAULT_EMBEDDING | No | Default embedding model (default: openai/text-embedding-3-small) |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| logging | {} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| extensions | {
"io.modelcontextprotocol/ui": {}
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| letta_list_agentsA | List all available Letta agents with pagination support. |
| letta_create_agentB | Create a new Letta agent with memory blocks and tools. |
| letta_get_agentB | Get detailed information about a specific Letta agent. |
| letta_update_agentC | Update an existing agent's configuration. |
| letta_delete_agentA | Delete a Letta agent (requires confirmation). |
| letta_send_messageB | Send a message to a Letta agent and get the response. |
| letta_get_conversation_historyB | Get recent conversation history for a Letta agent. |
| letta_export_conversationC | Export a conversation in various formats. |
| letta_get_memoryC | Get all memory blocks for a Letta agent. |
| letta_update_memoryC | Update a memory block for a Letta agent. |
| letta_create_memory_blockB | Create a new custom memory block for an agent. |
| letta_search_memoryC | Search through agent's conversation memory. |
| letta_list_toolsA | List all available tools in the Letta system. |
| letta_get_agent_toolsC | Get the tools attached to a specific agent. |
| letta_attach_toolB | Attach a tool to an agent. |
| letta_detach_toolB | Detach a tool from an agent. |
| letta_health_checkA | Check the health of the Letta API connection. |
| letta_get_usage_statsC | Get usage statistics for agents. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| get_agents_resource | List of all Letta agents |
| get_tools_resource | List of all available tools |
| get_health_resource | Health status of the Letta connection |
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/SNYCFIRE-CORE/letta-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server