mnemosyne-mcp-server 0.1.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- mnemosyne_mcp_server-0.1.0/LICENSE +21 -0
- mnemosyne_mcp_server-0.1.0/LICENSE-MIT +21 -0
- mnemosyne_mcp_server-0.1.0/NOTICE +79 -0
- mnemosyne_mcp_server-0.1.0/PKG-INFO +152 -0
- mnemosyne_mcp_server-0.1.0/README.md +91 -0
- mnemosyne_mcp_server-0.1.0/mnemosyne_mcp_server.egg-info/PKG-INFO +152 -0
- mnemosyne_mcp_server-0.1.0/mnemosyne_mcp_server.egg-info/SOURCES.txt +12 -0
- mnemosyne_mcp_server-0.1.0/mnemosyne_mcp_server.egg-info/dependency_links.txt +1 -0
- mnemosyne_mcp_server-0.1.0/mnemosyne_mcp_server.egg-info/entry_points.txt +2 -0
- mnemosyne_mcp_server-0.1.0/mnemosyne_mcp_server.egg-info/requires.txt +11 -0
- mnemosyne_mcp_server-0.1.0/mnemosyne_mcp_server.egg-info/top_level.txt +1 -0
- mnemosyne_mcp_server-0.1.0/pyproject.toml +81 -0
- mnemosyne_mcp_server-0.1.0/setup.cfg +4 -0
- mnemosyne_mcp_server-0.1.0/tests/test_server.py +28 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Geass Labs
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Geass Labs
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
Mnemosyne & Syne — Dual-License Notice
|
|
2
|
+
======================================
|
|
3
|
+
|
|
4
|
+
This repository, github.com/synet-systems/mnemosyne, contains two classes of
|
|
5
|
+
artifacts distributed under DIFFERENT licenses.
|
|
6
|
+
|
|
7
|
+
1. THE MONOREPO SOURCE
|
|
8
|
+
The full source code in this repository — including the Mnemosyne engine
|
|
9
|
+
(mnemosyne/), the Syne voice+avatar companion (syne/), the Rust kernels
|
|
10
|
+
(mnemosyne_rs/, syne_rs/), the React UI (mnemosyne_ui/), the legacy
|
|
11
|
+
Sovereign Memory code (sovereign_memory*/), documentation, and benchmark
|
|
12
|
+
code — is licensed under the Mnemosyne Source-Available License v1.0
|
|
13
|
+
(MSAL v1.0). See ./LICENSE for the full text.
|
|
14
|
+
|
|
15
|
+
The MSAL is NOT an OSI-approved open-source license. It permits viewing,
|
|
16
|
+
reading, security review, interoperability study, and non-commercial
|
|
17
|
+
academic research, but it RESTRICTS commercial use, modification,
|
|
18
|
+
redistribution, and offering as a hosted service. Commercial use requires
|
|
19
|
+
a separate written agreement with Geass Labs — see
|
|
20
|
+
https://geasslabs.com/licensing or licensing@geasslabs.com.
|
|
21
|
+
|
|
22
|
+
2. PUBLISHED PACKAGES
|
|
23
|
+
The following packages, which are extracted from this monorepo and
|
|
24
|
+
distributed through public registries (PyPI, npm, crates.io, GitHub
|
|
25
|
+
Releases), are licensed under the MIT License. See ./LICENSE-MIT for the
|
|
26
|
+
full text.
|
|
27
|
+
|
|
28
|
+
Python (PyPI):
|
|
29
|
+
- mnemosyne-sdk
|
|
30
|
+
- mnemosyne-mcp-server
|
|
31
|
+
- mnemosyne-langchain
|
|
32
|
+
- mnemosyne-crewai
|
|
33
|
+
- mnemosyne-autogen
|
|
34
|
+
- mnemosyne-openai-agents
|
|
35
|
+
- mnemosyne-connectors
|
|
36
|
+
- syne
|
|
37
|
+
|
|
38
|
+
JavaScript / TypeScript (npm):
|
|
39
|
+
- @mnemosyne/sdk
|
|
40
|
+
- @mnemosyne/mcp-server
|
|
41
|
+
- @mnemosyne/langchain
|
|
42
|
+
- @mnemosyne/vercel-ai
|
|
43
|
+
- @mnemosyne/react
|
|
44
|
+
- @mnemosyne/cli
|
|
45
|
+
- @mnemosyne/types
|
|
46
|
+
|
|
47
|
+
Rust (crates.io):
|
|
48
|
+
- mnemosyne-rs
|
|
49
|
+
- syne (workspace)
|
|
50
|
+
|
|
51
|
+
Binaries (GitHub Releases):
|
|
52
|
+
- syne-supervisor
|
|
53
|
+
|
|
54
|
+
The MIT-licensed published packages are designed to talk to a Mnemosyne
|
|
55
|
+
or Syne instance, which itself is governed by the MSAL. Combining the
|
|
56
|
+
MIT-licensed clients with a self-hosted MSAL-licensed server is
|
|
57
|
+
permitted by both licenses.
|
|
58
|
+
|
|
59
|
+
WHY THIS PATTERN
|
|
60
|
+
----------------
|
|
61
|
+
This is the standard source-available distribution model used by companies
|
|
62
|
+
such as Sourcegraph, Sentry, and HashiCorp: the source is visible and
|
|
63
|
+
auditable under a restricted license, while the redistributable client
|
|
64
|
+
artifacts (SDKs, CLI, MCP server, framework adapters) ship under a
|
|
65
|
+
permissive license so that downstream developers can build commercial
|
|
66
|
+
products on top of the open ecosystem without friction.
|
|
67
|
+
|
|
68
|
+
The full Mnemosyne engine is also available for production deployment
|
|
69
|
+
under the Mnemosyne Teams and Mnemosyne Enterprise tiers. See
|
|
70
|
+
https://mnemosyne.geasslabs.com for details.
|
|
71
|
+
|
|
72
|
+
TRADEMARKS
|
|
73
|
+
----------
|
|
74
|
+
"Mnemosyne", "Agent Soul", "Syne", and the Geass Labs wordmarks are
|
|
75
|
+
trademarks of Geass Labs. The MIT license does NOT grant permission to
|
|
76
|
+
use these trademarks; see the Geass Labs trademark policy at
|
|
77
|
+
https://geasslabs.com/trademarks.
|
|
78
|
+
|
|
79
|
+
Copyright (c) 2026 Geass Labs.
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: mnemosyne-mcp-server
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
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.
|
|
5
|
+
Author-email: Mashle Burneded <mashle@geasslabs.xyz>
|
|
6
|
+
Maintainer-email: Geass Labs <team@geasslabs.xyz>
|
|
7
|
+
License: MIT License
|
|
8
|
+
|
|
9
|
+
Copyright (c) 2026 Geass Labs
|
|
10
|
+
|
|
11
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
12
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
13
|
+
in the Software without restriction, including without limitation the rights
|
|
14
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
15
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
16
|
+
furnished to do so, subject to the following conditions:
|
|
17
|
+
|
|
18
|
+
The above copyright notice and this permission notice shall be included in all
|
|
19
|
+
copies or substantial portions of the Software.
|
|
20
|
+
|
|
21
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
22
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
23
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
24
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
25
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
26
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
27
|
+
SOFTWARE.
|
|
28
|
+
|
|
29
|
+
Project-URL: Homepage, https://mnemosyne.geasslabs.xyz
|
|
30
|
+
Project-URL: Documentation, https://docs.geasslabs.xyz/mnemosyne-mcp-server
|
|
31
|
+
Project-URL: Repository, https://github.com/synet-systems/mnemosyne/tree/main/packages/mnemosyne-mcp-server
|
|
32
|
+
Project-URL: Issues, https://github.com/synet-systems/mnemosyne/issues
|
|
33
|
+
Project-URL: Changelog, https://github.com/synet-systems/mnemosyne/blob/main/packages/mnemosyne-mcp-server/CHANGELOG.md
|
|
34
|
+
Keywords: mnemosyne,mcp,model-context-protocol,ai,llm,memory,claude,cursor,claude-desktop
|
|
35
|
+
Classifier: Development Status :: 4 - Beta
|
|
36
|
+
Classifier: Intended Audience :: Developers
|
|
37
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
38
|
+
Classifier: Operating System :: OS Independent
|
|
39
|
+
Classifier: Programming Language :: Python :: 3
|
|
40
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
41
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
42
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
43
|
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
44
|
+
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
|
|
45
|
+
Requires-Python: >=3.11
|
|
46
|
+
Description-Content-Type: text/markdown
|
|
47
|
+
License-File: LICENSE
|
|
48
|
+
License-File: LICENSE-MIT
|
|
49
|
+
License-File: NOTICE
|
|
50
|
+
Requires-Dist: mnemosyne-sdk>=0.1.0
|
|
51
|
+
Requires-Dist: mcp>=1.0.0
|
|
52
|
+
Requires-Dist: httpx>=0.27.0
|
|
53
|
+
Requires-Dist: click>=8.1.0
|
|
54
|
+
Provides-Extra: dev
|
|
55
|
+
Requires-Dist: pytest>=8.0.0; extra == "dev"
|
|
56
|
+
Requires-Dist: pytest-asyncio>=0.23.0; extra == "dev"
|
|
57
|
+
Requires-Dist: ruff>=0.5.0; extra == "dev"
|
|
58
|
+
Requires-Dist: mypy>=1.10.0; extra == "dev"
|
|
59
|
+
Requires-Dist: respx>=0.21.0; extra == "dev"
|
|
60
|
+
Dynamic: license-file
|
|
61
|
+
|
|
62
|
+
# mnemosyne-mcp-server
|
|
63
|
+
|
|
64
|
+
[](https://pypi.org/project/mnemosyne-mcp-server/)
|
|
65
|
+
[](https://pypi.org/project/mnemosyne-mcp-server/)
|
|
66
|
+
[](./LICENSE)
|
|
67
|
+
|
|
68
|
+
> 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.
|
|
69
|
+
|
|
70
|
+
## Install
|
|
71
|
+
|
|
72
|
+
```bash
|
|
73
|
+
pip install mnemosyne-mcp-server
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
## Configure
|
|
77
|
+
|
|
78
|
+
Set your API key:
|
|
79
|
+
|
|
80
|
+
```bash
|
|
81
|
+
export MNEMOSYNE_API_KEY="mn_..."
|
|
82
|
+
# Optional:
|
|
83
|
+
export MNEMOSYNE_BASE_URL="https://api.mnemosyne.geasslabs.xyz"
|
|
84
|
+
export MNEMOSYNE_DEFAULT_CONTAINER="default"
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
## Run
|
|
88
|
+
|
|
89
|
+
### stdio (default - for local clients like Claude Desktop)
|
|
90
|
+
|
|
91
|
+
```bash
|
|
92
|
+
mnemosyne-mcp
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
### SSE / HTTP (for remote clients)
|
|
96
|
+
|
|
97
|
+
```bash
|
|
98
|
+
mnemosyne-mcp --transport sse --host 0.0.0.0 --port 8765
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
## Use with Claude Desktop
|
|
102
|
+
|
|
103
|
+
Add to `~/Library/Application Support/Claude/claude_desktop_config.json` (macOS) or `%APPDATA%\Claude\claude_desktop_config.json` (Windows):
|
|
104
|
+
|
|
105
|
+
```json
|
|
106
|
+
{
|
|
107
|
+
"mcpServers": {
|
|
108
|
+
"mnemosyne": {
|
|
109
|
+
"command": "mnemosyne-mcp",
|
|
110
|
+
"env": {
|
|
111
|
+
"MNEMOSYNE_API_KEY": "mn_..."
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
```
|
|
117
|
+
|
|
118
|
+
Restart Claude Desktop. You'll see the Mnemosyne tools (memory, recall, context, list_projects, get_profile, delete) in the tool menu.
|
|
119
|
+
|
|
120
|
+
## Use with Cursor
|
|
121
|
+
|
|
122
|
+
In `.cursor/mcp.json`:
|
|
123
|
+
|
|
124
|
+
```json
|
|
125
|
+
{
|
|
126
|
+
"mcpServers": {
|
|
127
|
+
"mnemosyne": {
|
|
128
|
+
"command": "mnemosyne-mcp",
|
|
129
|
+
"env": {
|
|
130
|
+
"MNEMOSYNE_API_KEY": "mn_..."
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
```
|
|
136
|
+
|
|
137
|
+
## Available tools
|
|
138
|
+
|
|
139
|
+
| Tool | Description |
|
|
140
|
+
|---|---|
|
|
141
|
+
| `memory` | Save a memory. |
|
|
142
|
+
| `recall` | Semantic search over memories. |
|
|
143
|
+
| `context` | Get a context bundle (profile + relevant memories). |
|
|
144
|
+
| `list_projects` | List all containers accessible to the API key. |
|
|
145
|
+
| `get_profile` | Get the learned profile for a container. |
|
|
146
|
+
| `delete` | Delete a memory by ID. |
|
|
147
|
+
|
|
148
|
+
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.
|
|
149
|
+
|
|
150
|
+
## License
|
|
151
|
+
|
|
152
|
+
MIT © [Geass Labs](https://geasslabs.xyz)
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
# mnemosyne-mcp-server
|
|
2
|
+
|
|
3
|
+
[](https://pypi.org/project/mnemosyne-mcp-server/)
|
|
4
|
+
[](https://pypi.org/project/mnemosyne-mcp-server/)
|
|
5
|
+
[](./LICENSE)
|
|
6
|
+
|
|
7
|
+
> 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.
|
|
8
|
+
|
|
9
|
+
## Install
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
pip install mnemosyne-mcp-server
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Configure
|
|
16
|
+
|
|
17
|
+
Set your API key:
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
export MNEMOSYNE_API_KEY="mn_..."
|
|
21
|
+
# Optional:
|
|
22
|
+
export MNEMOSYNE_BASE_URL="https://api.mnemosyne.geasslabs.xyz"
|
|
23
|
+
export MNEMOSYNE_DEFAULT_CONTAINER="default"
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
## Run
|
|
27
|
+
|
|
28
|
+
### stdio (default - for local clients like Claude Desktop)
|
|
29
|
+
|
|
30
|
+
```bash
|
|
31
|
+
mnemosyne-mcp
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
### SSE / HTTP (for remote clients)
|
|
35
|
+
|
|
36
|
+
```bash
|
|
37
|
+
mnemosyne-mcp --transport sse --host 0.0.0.0 --port 8765
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
## Use with Claude Desktop
|
|
41
|
+
|
|
42
|
+
Add to `~/Library/Application Support/Claude/claude_desktop_config.json` (macOS) or `%APPDATA%\Claude\claude_desktop_config.json` (Windows):
|
|
43
|
+
|
|
44
|
+
```json
|
|
45
|
+
{
|
|
46
|
+
"mcpServers": {
|
|
47
|
+
"mnemosyne": {
|
|
48
|
+
"command": "mnemosyne-mcp",
|
|
49
|
+
"env": {
|
|
50
|
+
"MNEMOSYNE_API_KEY": "mn_..."
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
Restart Claude Desktop. You'll see the Mnemosyne tools (memory, recall, context, list_projects, get_profile, delete) in the tool menu.
|
|
58
|
+
|
|
59
|
+
## Use with Cursor
|
|
60
|
+
|
|
61
|
+
In `.cursor/mcp.json`:
|
|
62
|
+
|
|
63
|
+
```json
|
|
64
|
+
{
|
|
65
|
+
"mcpServers": {
|
|
66
|
+
"mnemosyne": {
|
|
67
|
+
"command": "mnemosyne-mcp",
|
|
68
|
+
"env": {
|
|
69
|
+
"MNEMOSYNE_API_KEY": "mn_..."
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
## Available tools
|
|
77
|
+
|
|
78
|
+
| Tool | Description |
|
|
79
|
+
|---|---|
|
|
80
|
+
| `memory` | Save a memory. |
|
|
81
|
+
| `recall` | Semantic search over memories. |
|
|
82
|
+
| `context` | Get a context bundle (profile + relevant memories). |
|
|
83
|
+
| `list_projects` | List all containers accessible to the API key. |
|
|
84
|
+
| `get_profile` | Get the learned profile for a container. |
|
|
85
|
+
| `delete` | Delete a memory by ID. |
|
|
86
|
+
|
|
87
|
+
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.
|
|
88
|
+
|
|
89
|
+
## License
|
|
90
|
+
|
|
91
|
+
MIT © [Geass Labs](https://geasslabs.xyz)
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: mnemosyne-mcp-server
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
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.
|
|
5
|
+
Author-email: Mashle Burneded <mashle@geasslabs.xyz>
|
|
6
|
+
Maintainer-email: Geass Labs <team@geasslabs.xyz>
|
|
7
|
+
License: MIT License
|
|
8
|
+
|
|
9
|
+
Copyright (c) 2026 Geass Labs
|
|
10
|
+
|
|
11
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
12
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
13
|
+
in the Software without restriction, including without limitation the rights
|
|
14
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
15
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
16
|
+
furnished to do so, subject to the following conditions:
|
|
17
|
+
|
|
18
|
+
The above copyright notice and this permission notice shall be included in all
|
|
19
|
+
copies or substantial portions of the Software.
|
|
20
|
+
|
|
21
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
22
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
23
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
24
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
25
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
26
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
27
|
+
SOFTWARE.
|
|
28
|
+
|
|
29
|
+
Project-URL: Homepage, https://mnemosyne.geasslabs.xyz
|
|
30
|
+
Project-URL: Documentation, https://docs.geasslabs.xyz/mnemosyne-mcp-server
|
|
31
|
+
Project-URL: Repository, https://github.com/synet-systems/mnemosyne/tree/main/packages/mnemosyne-mcp-server
|
|
32
|
+
Project-URL: Issues, https://github.com/synet-systems/mnemosyne/issues
|
|
33
|
+
Project-URL: Changelog, https://github.com/synet-systems/mnemosyne/blob/main/packages/mnemosyne-mcp-server/CHANGELOG.md
|
|
34
|
+
Keywords: mnemosyne,mcp,model-context-protocol,ai,llm,memory,claude,cursor,claude-desktop
|
|
35
|
+
Classifier: Development Status :: 4 - Beta
|
|
36
|
+
Classifier: Intended Audience :: Developers
|
|
37
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
38
|
+
Classifier: Operating System :: OS Independent
|
|
39
|
+
Classifier: Programming Language :: Python :: 3
|
|
40
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
41
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
42
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
43
|
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
44
|
+
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
|
|
45
|
+
Requires-Python: >=3.11
|
|
46
|
+
Description-Content-Type: text/markdown
|
|
47
|
+
License-File: LICENSE
|
|
48
|
+
License-File: LICENSE-MIT
|
|
49
|
+
License-File: NOTICE
|
|
50
|
+
Requires-Dist: mnemosyne-sdk>=0.1.0
|
|
51
|
+
Requires-Dist: mcp>=1.0.0
|
|
52
|
+
Requires-Dist: httpx>=0.27.0
|
|
53
|
+
Requires-Dist: click>=8.1.0
|
|
54
|
+
Provides-Extra: dev
|
|
55
|
+
Requires-Dist: pytest>=8.0.0; extra == "dev"
|
|
56
|
+
Requires-Dist: pytest-asyncio>=0.23.0; extra == "dev"
|
|
57
|
+
Requires-Dist: ruff>=0.5.0; extra == "dev"
|
|
58
|
+
Requires-Dist: mypy>=1.10.0; extra == "dev"
|
|
59
|
+
Requires-Dist: respx>=0.21.0; extra == "dev"
|
|
60
|
+
Dynamic: license-file
|
|
61
|
+
|
|
62
|
+
# mnemosyne-mcp-server
|
|
63
|
+
|
|
64
|
+
[](https://pypi.org/project/mnemosyne-mcp-server/)
|
|
65
|
+
[](https://pypi.org/project/mnemosyne-mcp-server/)
|
|
66
|
+
[](./LICENSE)
|
|
67
|
+
|
|
68
|
+
> 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.
|
|
69
|
+
|
|
70
|
+
## Install
|
|
71
|
+
|
|
72
|
+
```bash
|
|
73
|
+
pip install mnemosyne-mcp-server
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
## Configure
|
|
77
|
+
|
|
78
|
+
Set your API key:
|
|
79
|
+
|
|
80
|
+
```bash
|
|
81
|
+
export MNEMOSYNE_API_KEY="mn_..."
|
|
82
|
+
# Optional:
|
|
83
|
+
export MNEMOSYNE_BASE_URL="https://api.mnemosyne.geasslabs.xyz"
|
|
84
|
+
export MNEMOSYNE_DEFAULT_CONTAINER="default"
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
## Run
|
|
88
|
+
|
|
89
|
+
### stdio (default - for local clients like Claude Desktop)
|
|
90
|
+
|
|
91
|
+
```bash
|
|
92
|
+
mnemosyne-mcp
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
### SSE / HTTP (for remote clients)
|
|
96
|
+
|
|
97
|
+
```bash
|
|
98
|
+
mnemosyne-mcp --transport sse --host 0.0.0.0 --port 8765
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
## Use with Claude Desktop
|
|
102
|
+
|
|
103
|
+
Add to `~/Library/Application Support/Claude/claude_desktop_config.json` (macOS) or `%APPDATA%\Claude\claude_desktop_config.json` (Windows):
|
|
104
|
+
|
|
105
|
+
```json
|
|
106
|
+
{
|
|
107
|
+
"mcpServers": {
|
|
108
|
+
"mnemosyne": {
|
|
109
|
+
"command": "mnemosyne-mcp",
|
|
110
|
+
"env": {
|
|
111
|
+
"MNEMOSYNE_API_KEY": "mn_..."
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
```
|
|
117
|
+
|
|
118
|
+
Restart Claude Desktop. You'll see the Mnemosyne tools (memory, recall, context, list_projects, get_profile, delete) in the tool menu.
|
|
119
|
+
|
|
120
|
+
## Use with Cursor
|
|
121
|
+
|
|
122
|
+
In `.cursor/mcp.json`:
|
|
123
|
+
|
|
124
|
+
```json
|
|
125
|
+
{
|
|
126
|
+
"mcpServers": {
|
|
127
|
+
"mnemosyne": {
|
|
128
|
+
"command": "mnemosyne-mcp",
|
|
129
|
+
"env": {
|
|
130
|
+
"MNEMOSYNE_API_KEY": "mn_..."
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
```
|
|
136
|
+
|
|
137
|
+
## Available tools
|
|
138
|
+
|
|
139
|
+
| Tool | Description |
|
|
140
|
+
|---|---|
|
|
141
|
+
| `memory` | Save a memory. |
|
|
142
|
+
| `recall` | Semantic search over memories. |
|
|
143
|
+
| `context` | Get a context bundle (profile + relevant memories). |
|
|
144
|
+
| `list_projects` | List all containers accessible to the API key. |
|
|
145
|
+
| `get_profile` | Get the learned profile for a container. |
|
|
146
|
+
| `delete` | Delete a memory by ID. |
|
|
147
|
+
|
|
148
|
+
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.
|
|
149
|
+
|
|
150
|
+
## License
|
|
151
|
+
|
|
152
|
+
MIT © [Geass Labs](https://geasslabs.xyz)
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
LICENSE
|
|
2
|
+
LICENSE-MIT
|
|
3
|
+
NOTICE
|
|
4
|
+
README.md
|
|
5
|
+
pyproject.toml
|
|
6
|
+
mnemosyne_mcp_server.egg-info/PKG-INFO
|
|
7
|
+
mnemosyne_mcp_server.egg-info/SOURCES.txt
|
|
8
|
+
mnemosyne_mcp_server.egg-info/dependency_links.txt
|
|
9
|
+
mnemosyne_mcp_server.egg-info/entry_points.txt
|
|
10
|
+
mnemosyne_mcp_server.egg-info/requires.txt
|
|
11
|
+
mnemosyne_mcp_server.egg-info/top_level.txt
|
|
12
|
+
tests/test_server.py
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["setuptools>=68.0", "wheel"]
|
|
3
|
+
build-backend = "setuptools.build_meta"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "mnemosyne-mcp-server"
|
|
7
|
+
version = "0.1.0"
|
|
8
|
+
description = "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."
|
|
9
|
+
readme = "README.md"
|
|
10
|
+
license = { file = "LICENSE" }
|
|
11
|
+
authors = [
|
|
12
|
+
{ name = "Mashle Burneded", email = "mashle@geasslabs.xyz" },
|
|
13
|
+
]
|
|
14
|
+
maintainers = [
|
|
15
|
+
{ name = "Geass Labs", email = "team@geasslabs.xyz" },
|
|
16
|
+
]
|
|
17
|
+
requires-python = ">=3.11"
|
|
18
|
+
keywords = [
|
|
19
|
+
"mnemosyne",
|
|
20
|
+
"mcp",
|
|
21
|
+
"model-context-protocol",
|
|
22
|
+
"ai",
|
|
23
|
+
"llm",
|
|
24
|
+
"memory",
|
|
25
|
+
"claude",
|
|
26
|
+
"cursor",
|
|
27
|
+
"claude-desktop",
|
|
28
|
+
]
|
|
29
|
+
classifiers = [
|
|
30
|
+
"Development Status :: 4 - Beta",
|
|
31
|
+
"Intended Audience :: Developers",
|
|
32
|
+
"License :: OSI Approved :: MIT License",
|
|
33
|
+
"Operating System :: OS Independent",
|
|
34
|
+
"Programming Language :: Python :: 3",
|
|
35
|
+
"Programming Language :: Python :: 3.11",
|
|
36
|
+
"Programming Language :: Python :: 3.12",
|
|
37
|
+
"Programming Language :: Python :: 3.13",
|
|
38
|
+
"Topic :: Software Development :: Libraries :: Python Modules",
|
|
39
|
+
"Topic :: Scientific/Engineering :: Artificial Intelligence",
|
|
40
|
+
]
|
|
41
|
+
dependencies = [
|
|
42
|
+
"mnemosyne-sdk>=0.1.0",
|
|
43
|
+
"mcp>=1.0.0",
|
|
44
|
+
"httpx>=0.27.0",
|
|
45
|
+
"click>=8.1.0",
|
|
46
|
+
]
|
|
47
|
+
|
|
48
|
+
[project.optional-dependencies]
|
|
49
|
+
dev = [
|
|
50
|
+
"pytest>=8.0.0",
|
|
51
|
+
"pytest-asyncio>=0.23.0",
|
|
52
|
+
"ruff>=0.5.0",
|
|
53
|
+
"mypy>=1.10.0",
|
|
54
|
+
"respx>=0.21.0",
|
|
55
|
+
]
|
|
56
|
+
|
|
57
|
+
[project.scripts]
|
|
58
|
+
mnemosyne-mcp = "mnemosyne_mcp_server.cli:main"
|
|
59
|
+
|
|
60
|
+
[project.urls]
|
|
61
|
+
Homepage = "https://mnemosyne.geasslabs.xyz"
|
|
62
|
+
Documentation = "https://docs.geasslabs.xyz/mnemosyne-mcp-server"
|
|
63
|
+
Repository = "https://github.com/synet-systems/mnemosyne/tree/main/packages/mnemosyne-mcp-server"
|
|
64
|
+
Issues = "https://github.com/synet-systems/mnemosyne/issues"
|
|
65
|
+
Changelog = "https://github.com/synet-systems/mnemosyne/blob/main/packages/mnemosyne-mcp-server/CHANGELOG.md"
|
|
66
|
+
|
|
67
|
+
[tool.setuptools.packages.find]
|
|
68
|
+
include = ["mnemosyne_mcp_server*"]
|
|
69
|
+
[tool.setuptools.package-data]
|
|
70
|
+
mnemosyne_mcp_server = ["py.typed"]
|
|
71
|
+
[tool.ruff]
|
|
72
|
+
line-length = 100
|
|
73
|
+
target-version = "py311"
|
|
74
|
+
[tool.ruff.lint]
|
|
75
|
+
select = ["E", "F", "I", "W", "B", "UP", "N", "C4", "RET", "SIM", "RUF"]
|
|
76
|
+
[tool.mypy]
|
|
77
|
+
python_version = "3.11"
|
|
78
|
+
strict = true
|
|
79
|
+
[tool.pytest.ini_options]
|
|
80
|
+
asyncio_mode = "auto"
|
|
81
|
+
testpaths = ["tests"]
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"""Smoke tests for the MCP server."""
|
|
2
|
+
|
|
3
|
+
import os
|
|
4
|
+
import respx
|
|
5
|
+
from httpx import Response
|
|
6
|
+
from mnemosyne_mcp_server import create_server
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
def test_server_creates_with_default_name():
|
|
10
|
+
s = create_server()
|
|
11
|
+
assert s is not None
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
@respx.mock
|
|
15
|
+
@os.environ.setdefault("MNEMOSYNE_API_KEY", "test_key")
|
|
16
|
+
def test_memory_tool_invokes_api():
|
|
17
|
+
respx.post("https://api.mnemosyne.test/memories").mock(
|
|
18
|
+
return_value=Response(200, json={
|
|
19
|
+
"id": "m1", "content": "x", "container_tag": "c1",
|
|
20
|
+
"source": None, "created_at": None, "updated_at": None, "metadata": {}
|
|
21
|
+
})
|
|
22
|
+
)
|
|
23
|
+
os.environ["MNEMOSYNE_BASE_URL"] = "https://api.mnemosyne.test"
|
|
24
|
+
s = create_server()
|
|
25
|
+
# The tool is registered but invoking it requires an async runner.
|
|
26
|
+
# This test just verifies the server is constructed and the tool
|
|
27
|
+
# functions are wired.
|
|
28
|
+
assert s is not None
|