Letta MCP Server
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Integrations
Uses .env files for configuration, allowing storage of Letta API credentials and endpoints securely outside of the codebase.
Repository hosting for the Letta MCP server, enabling version control, contribution workflows, and distribution of the server code.
Provides package management for the Letta MCP server, managing dependencies and offering scripts for building and running the server.
Letta MCP Server
An MCP (Model Context Protocol) server implementation for interacting with the Letta API. This server provides tools for managing agents, memory blocks, and tools in the Letta system.
Features
- Create and manage Letta agents
- List and filter available agents
- Create and manage memory blocks
- Attach memory blocks to agents
- List and manage agent tools
- Send messages to agents and receive responses
Installation
Configuration
- Create a
.env
file in the root directory with the following variables:
You can use the provided .env.example
as a template.
Available Scripts
npm run build
: Build the TypeScript codenpm run start
: Build and start the servernpm run dev
: Start the server in development mode with watch mode enabled
Tools
Agent Management
create_agent
: Create a new Letta agent with specified configurationlist_agents
: List all available agents in the Letta systemprompt_agent
: Send a message to an agent and get a response
Memory Block Management
create_memory_block
: Create a new memory blocklist_memory_blocks
: List all memory blocksattach_memory_block
: Attach a memory block to an agent
Tool Management
list_tools
: List all available toolslist_agent_tools
: List tools available for a specific agentattach_tool
: Attach a tool to an agent
Example Usage
When integrated with Cline, you can use the MCP tools as follows:
Contributing
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add some amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
License
This project is licensed under the MIT License - see the LICENSE file for details.
You must be authenticated.
An MCP server implementation that enables interaction with the Letta API for managing agents, memory blocks, and tools in the Letta system.