Letta MCP

AIstdiosse
Repository

An MCP server for managing a Letta (formerly MemGPT) server and communicating with its stateful agents. Lets an assistant list and create agents, send them messages, and inspect or edit their persistent memory blocks, which is useful for orchestrating long-lived agents that retain context across sessions.

Connect

Add this configuration to .claude/mcp.json

Transport:
{
  "mcpServers": {
    "letta": {
      "command": "npx",
      "args": [],
      "env": {
        "LETTA_BASE_URL": "<YOUR_LETTA_BASE_URL>",
        "LETTA_PASSWORD": "<YOUR_LETTA_PASSWORD>"
      }
    }
  }
}

Tools (3)

list_agents

List agents registered on the Letta server.

{
  "type": "object",
  "properties": {}
}

send_message

Send a message to a Letta agent and return its reply.

{
  "type": "object",
  "required": [
    "agent_id",
    "message"
  ],
  "properties": {
    "message": {
      "type": "string",
      "description": "Message content"
    },
    "agent_id": {
      "type": "string",
      "description": "Target agent identifier"
    }
  }
}

update_memory_block

Read or update a persistent memory block on an agent.

{
  "type": "object",
  "required": [
    "agent_id",
    "label"
  ],
  "properties": {
    "label": {
      "type": "string",
      "description": "Memory block label (e.g. human, persona)"
    },
    "value": {
      "type": "string",
      "description": "New value for the memory block"
    },
    "agent_id": {
      "type": "string",
      "description": "Target agent identifier"
    }
  }
}

Resources

This server does not expose any resources.

Prompts

This server does not expose any prompts.

Server information

Author
Oculair Media (@oculairmedia)
Repository
https://github.com/oculairmedia/Letta-MCP-server
License
MIT
Stars
0
Last updated
August 3, 2026