Metadata-Version: 2.4
Name: mnemosyne-mcp-server
Version: 0.1.0
Summary: Standalone Model Context Protocol (MCP) server for the Mnemosyne memory substrate. Exposes search, store, delete, context, list_projects, and get_profile tools to Claude Desktop, Cursor, and any MCP-compatible client. Stdio and SSE transports.
Author-email: Mashle Burneded <mashle@geasslabs.xyz>
Maintainer-email: Geass Labs <team@geasslabs.xyz>
License: MIT License
        
        Copyright (c) 2026 Geass Labs
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
        
Project-URL: Homepage, https://mnemosyne.geasslabs.xyz
Project-URL: Documentation, https://docs.geasslabs.xyz/mnemosyne-mcp-server
Project-URL: Repository, https://github.com/synet-systems/mnemosyne/tree/main/packages/mnemosyne-mcp-server
Project-URL: Issues, https://github.com/synet-systems/mnemosyne/issues
Project-URL: Changelog, https://github.com/synet-systems/mnemosyne/blob/main/packages/mnemosyne-mcp-server/CHANGELOG.md
Keywords: mnemosyne,mcp,model-context-protocol,ai,llm,memory,claude,cursor,claude-desktop
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Requires-Python: >=3.11
Description-Content-Type: text/markdown
License-File: LICENSE
License-File: LICENSE-MIT
License-File: NOTICE
Requires-Dist: mnemosyne-sdk>=0.1.0
Requires-Dist: mcp>=1.0.0
Requires-Dist: httpx>=0.27.0
Requires-Dist: click>=8.1.0
Provides-Extra: dev
Requires-Dist: pytest>=8.0.0; extra == "dev"
Requires-Dist: pytest-asyncio>=0.23.0; extra == "dev"
Requires-Dist: ruff>=0.5.0; extra == "dev"
Requires-Dist: mypy>=1.10.0; extra == "dev"
Requires-Dist: respx>=0.21.0; extra == "dev"
Dynamic: license-file

# mnemosyne-mcp-server

[![PyPI version](https://img.shields.io/pypi/v/mnemosyne-mcp-server.svg)](https://pypi.org/project/mnemosyne-mcp-server/)
[![Python versions](https://img.shields.io/pypi/pyversions/mnemosyne-mcp-server.svg)](https://pypi.org/project/mnemosyne-mcp-server/)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](./LICENSE)

> Standalone Model Context Protocol (MCP) server for the Mnemosyne memory substrate. Exposes search, store, delete, context, list_projects, and get_profile tools to Claude Desktop, Cursor, and any MCP-compatible client.

## Install

```bash
pip install mnemosyne-mcp-server
```

## Configure

Set your API key:

```bash
export MNEMOSYNE_API_KEY="mn_..."
# Optional:
export MNEMOSYNE_BASE_URL="https://api.mnemosyne.geasslabs.xyz"
export MNEMOSYNE_DEFAULT_CONTAINER="default"
```

## Run

### stdio (default - for local clients like Claude Desktop)

```bash
mnemosyne-mcp
```

### SSE / HTTP (for remote clients)

```bash
mnemosyne-mcp --transport sse --host 0.0.0.0 --port 8765
```

## Use with Claude Desktop

Add to `~/Library/Application Support/Claude/claude_desktop_config.json` (macOS) or `%APPDATA%\Claude\claude_desktop_config.json` (Windows):

```json
{
  "mcpServers": {
    "mnemosyne": {
      "command": "mnemosyne-mcp",
      "env": {
        "MNEMOSYNE_API_KEY": "mn_..."
      }
    }
  }
}
```

Restart Claude Desktop. You'll see the Mnemosyne tools (memory, recall, context, list_projects, get_profile, delete) in the tool menu.

## Use with Cursor

In `.cursor/mcp.json`:

```json
{
  "mcpServers": {
    "mnemosyne": {
      "command": "mnemosyne-mcp",
      "env": {
        "MNEMOSYNE_API_KEY": "mn_..."
      }
    }
  }
}
```

## Available tools

| Tool | Description |
|---|---|
| `memory` | Save a memory. |
| `recall` | Semantic search over memories. |
| `context` | Get a context bundle (profile + relevant memories). |
| `list_projects` | List all containers accessible to the API key. |
| `get_profile` | Get the learned profile for a container. |
| `delete` | Delete a memory by ID. |

For the full 29-tool surface (including dream, reflect, introspect, find_analogies, predict_outcome, what_if, etc.), use the in-process MCP server from the Mnemosyne monorepo.

## License

MIT © [Geass Labs](https://geasslabs.xyz)
