sanctum-letta-mcp

actuallyrizzn/sanctum-letta-mcp

3.3

If you are the rightful owner of sanctum-letta-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

Sanctum Letta MCP (SSE Edition) is a robust orchestration server designed to manage command-line tools and automation scripts securely within internal infrastructures, fully compliant with the Model Context Protocol (MCP).

Sanctum Letta MCP (SSE Edition) is a powerful orchestration server that facilitates the secure exposure and management of command-line tools and automation scripts within internal infrastructures. Built for the Letta Agentic AI framework, it operates as a Server-Sent Events (SSE) server using aiohttp for real-time communication. The server is fully compliant with the Model Context Protocol (MCP), ensuring seamless integration with Letta. It features dynamic plugin discovery, allowing new plugins to be auto-discovered at startup without static registration. The server emits a JSON-RPC 2.0 tools manifest event upon SSE connection, adhering to Letta and MCP requirements. All requests and responses, including errors, utilize the JSON-RPC 2.0 format. The server is designed for production-ready testing, with a comprehensive test suite covering unit, integration, and end-to-end tests. It is Docker-ready and compatible with the Sanctum stack, using aiohttp, pydantic, and other standard libraries.

Features

  • SSE Server: Real-time communication via Server-Sent Events over HTTP using aiohttp.
  • Dynamic Plugin Architecture: Auto-discovers plugins at startup; no code changes needed to add new tools.
  • Comprehensive Testing: Full test suite with coverage reporting and timeout protection.
  • Single Worker Thread: Serializes all plugin execution for safety.
  • Comprehensive Audit Logging: Logs all requests and results (excluding sensitive data).

Usages

usage with SSE

python
mcp.run(transport='sse', host='0.0.0.0', port=8000)

usage with Docker

bash
docker run --rm -p 8000:8000 sanctum-letta-mcp:2.2.0

usage with Python

bash
python -m mcp.mcp_server