home / mcp / memvid mcp server
Exposes Memvid video memory features to MCP clients for text/pdf encoding, semantic search, and chat over multiple connections.
Configuration
View docs{
"mcpServers": {
"angrysky56-memvid_mcp_server": {
"command": "uv",
"args": [
"run",
"python",
"memvid_mcp_server/main.py"
],
"env": {
"PYTHONPATH": "/home/ty/Repositories/memvid_mcp_server",
"PYTHONWARNINGS": "ignore"
}
}
}
}You deploy Memvid MCP Server to expose video memory encoding and semantic search capabilities to MCP clients. It lets you encode text, PDFs, and other content into a searchable video memory format, enabling natural-language queries and chat interactions with your encoded data.
You interact with the Memvid MCP Server through an MCP client. Start the local MCP process, then add content, build a video memory, and use search or chat features to retrieve and discuss your encoded data.
Prerequisites: Python 3.10 or higher and the uv package manager.
cd /memvid_mcp_server
uv venv --python 3.12 --seed
source .venv/bin/activate
```
```bash
uv add -e .The server runs locally via a standard MCP client configuration. Use the following local, stdio-based command to launch the server from your MCP client setup.
{
"mcpServers": {
"memvid_mcp": {
"type": "stdio",
"name": "memvid_mcp",
"command": "uv",
"args": [
"run",
"python",
"memvid_mcp_server/main.py"
],
"env": {
"PYTHONPATH": "/home/user/memvid_mcp_server",
"PYTHONWARNINGS": "ignore"
}
}
}
}If you use Claude Desktop as your MCP client, you can load the server configuration so Claude Desktop can start and manage the server.
{
"mcpServers": {
"memvid-mcp-server": {
"command": "uv",
"args": [
"run",
"python",
"memvid_mcp_server/main.py"
],
"env": {
"PYTHONPATH": "/home/you/memvid_mcp_server",
"PYTHONWARNINGS": "ignore"
}
}
}
}Run the server to verify it starts correctly and responds to MCP client requests.
uv run python memvid_mcp_server/main.pyMaintain proper file-system permissions for added content and ensure your Docker-based H.265 encoding (if used) runs in a controlled environment. Enable debug logging only during troubleshooting by setting the appropriate environment variable as needed.
If you encounter issues, check the logs for errors and verify the server state with the get_server_status tool from your MCP client.
The server redirects standard output to avoid interfering with the MCP JSON-RPC protocol. Diagnostic details are sent to standard error, while structured responses are returned to Claude Desktop or other MCP clients.
Check current status and version information of the Memvid MCP server.
Add a list of text chunks to the encoder for later video memory construction.
Add a single text document to the encoder with optional metadata.
Process and add content from a PDF file to the encoder.
Create the video memory representation from all added content, with options for codec and progress visibility.
Perform semantic search against the built video memory and return top results.
Engage in a conversation with the encoded knowledge base.