midas-memory-mcp 0.0.1__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.
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# Python
|
|
2
|
+
__pycache__/
|
|
3
|
+
*.py[cod]
|
|
4
|
+
*.egg-info/
|
|
5
|
+
.pytest_cache/
|
|
6
|
+
.ruff_cache/
|
|
7
|
+
dist/
|
|
8
|
+
build/
|
|
9
|
+
|
|
10
|
+
# Environments
|
|
11
|
+
.venv/
|
|
12
|
+
venv/
|
|
13
|
+
.env
|
|
14
|
+
|
|
15
|
+
# uv
|
|
16
|
+
uv.lock
|
|
17
|
+
|
|
18
|
+
# Eval outputs
|
|
19
|
+
results/
|
|
20
|
+
*.local.json
|
|
21
|
+
|
|
22
|
+
# OS / editor
|
|
23
|
+
.DS_Store
|
|
24
|
+
Thumbs.db
|
|
25
|
+
|
|
26
|
+
# Large / downloadable benchmark datasets (fetched via the loader — see eval/datasets.py)
|
|
27
|
+
data/longmemeval_s.json
|
|
28
|
+
data/longmemeval_oracle.json
|
|
29
|
+
data/longmemeval_m.json
|
|
30
|
+
|
|
31
|
+
# Local uv cache (set via UV_CACHE_DIR for this project)
|
|
32
|
+
.uv-cache/
|
|
33
|
+
|
|
34
|
+
# Ad-hoc scratch
|
|
35
|
+
/test_category_breakdown.py
|
|
36
|
+
|
|
37
|
+
# Internal strategy / competitive / handoff docs — keep OUT of any public release
|
|
38
|
+
_private/
|
|
39
|
+
|
|
40
|
+
# Datasets are fetched locally via eval/datasets.py, never committed
|
|
41
|
+
/data/
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: midas-memory-mcp
|
|
3
|
+
Version: 0.0.1
|
|
4
|
+
Summary: MCP server for Midas — local-first, source-traceable agent memory with no LLM at ingest
|
|
5
|
+
Project-URL: Homepage, https://github.com/vornicx/Midas
|
|
6
|
+
Project-URL: Repository, https://github.com/vornicx/Midas
|
|
7
|
+
License-Expression: MIT
|
|
8
|
+
Keywords: agent,embeddings,llm,long-horizon,mcp,memory,rag
|
|
9
|
+
Requires-Python: >=3.11
|
|
10
|
+
Requires-Dist: midas-memory[local,mcp]>=0.0.1
|
|
11
|
+
Description-Content-Type: text/markdown
|
|
12
|
+
|
|
13
|
+
# midas-memory-mcp
|
|
14
|
+
|
|
15
|
+
The **MCP server** for [Midas](https://github.com/vornicx/Midas) — local-first, source-traceable
|
|
16
|
+
agent memory with **no LLM at ingest**. Local embeddings + ranking only: ingest is $0, nothing leaves
|
|
17
|
+
your machine, and every recalled memory points back to its source turn (no LLM-rewritten facts).
|
|
18
|
+
|
|
19
|
+
This package is a thin launcher. It installs the Midas SDK (`midas-memory`) with the MCP and
|
|
20
|
+
local-embedding extras and puts a `midas-memory-mcp` command on your PATH that any MCP client
|
|
21
|
+
(Claude Code, Cursor, Codex, Windsurf, …) can run.
|
|
22
|
+
|
|
23
|
+
## Install & run
|
|
24
|
+
|
|
25
|
+
```bash
|
|
26
|
+
uvx midas-memory-mcp # run once, nothing to install
|
|
27
|
+
# or put the command on your PATH:
|
|
28
|
+
pipx install midas-memory-mcp
|
|
29
|
+
pip install midas-memory-mcp
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
## Wire it into a client (example: Claude Code)
|
|
33
|
+
|
|
34
|
+
```bash
|
|
35
|
+
claude mcp add midas -s user -- midas-memory-mcp
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
On connect, Midas injects a short memory policy into the agent and starts remembering on its own —
|
|
39
|
+
it scores importance locally (no LLM), keeps what matters, and drops trivia and duplicates.
|
|
40
|
+
|
|
41
|
+
Optional environment variables: `MIDAS_MCP_DB` (SQLite path to persist across restarts),
|
|
42
|
+
`MIDAS_MCP_MAX_RECORDS`, `MIDAS_MCP_MIN_IMPORTANCE`, `MIDAS_MCP_EMBEDDER`.
|
|
43
|
+
|
|
44
|
+
For Cursor / Codex / Windsurf / Claude Desktop config, the Python SDK, and reproducible benchmarks,
|
|
45
|
+
see the main repo: **https://github.com/vornicx/Midas**
|
|
46
|
+
|
|
47
|
+
> Tip: if you installed the SDK directly (`uv tool install "midas-memory[mcp,local]"`), the same
|
|
48
|
+
> server is also available as the shorter `midas-mcp` command.
|
|
49
|
+
|
|
50
|
+
## License
|
|
51
|
+
|
|
52
|
+
MIT
|
|
53
|
+
|
|
54
|
+
<!-- mcp-name: io.github.vornicx/midas -->
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# midas-memory-mcp
|
|
2
|
+
|
|
3
|
+
The **MCP server** for [Midas](https://github.com/vornicx/Midas) — local-first, source-traceable
|
|
4
|
+
agent memory with **no LLM at ingest**. Local embeddings + ranking only: ingest is $0, nothing leaves
|
|
5
|
+
your machine, and every recalled memory points back to its source turn (no LLM-rewritten facts).
|
|
6
|
+
|
|
7
|
+
This package is a thin launcher. It installs the Midas SDK (`midas-memory`) with the MCP and
|
|
8
|
+
local-embedding extras and puts a `midas-memory-mcp` command on your PATH that any MCP client
|
|
9
|
+
(Claude Code, Cursor, Codex, Windsurf, …) can run.
|
|
10
|
+
|
|
11
|
+
## Install & run
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
uvx midas-memory-mcp # run once, nothing to install
|
|
15
|
+
# or put the command on your PATH:
|
|
16
|
+
pipx install midas-memory-mcp
|
|
17
|
+
pip install midas-memory-mcp
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
## Wire it into a client (example: Claude Code)
|
|
21
|
+
|
|
22
|
+
```bash
|
|
23
|
+
claude mcp add midas -s user -- midas-memory-mcp
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
On connect, Midas injects a short memory policy into the agent and starts remembering on its own —
|
|
27
|
+
it scores importance locally (no LLM), keeps what matters, and drops trivia and duplicates.
|
|
28
|
+
|
|
29
|
+
Optional environment variables: `MIDAS_MCP_DB` (SQLite path to persist across restarts),
|
|
30
|
+
`MIDAS_MCP_MAX_RECORDS`, `MIDAS_MCP_MIN_IMPORTANCE`, `MIDAS_MCP_EMBEDDER`.
|
|
31
|
+
|
|
32
|
+
For Cursor / Codex / Windsurf / Claude Desktop config, the Python SDK, and reproducible benchmarks,
|
|
33
|
+
see the main repo: **https://github.com/vornicx/Midas**
|
|
34
|
+
|
|
35
|
+
> Tip: if you installed the SDK directly (`uv tool install "midas-memory[mcp,local]"`), the same
|
|
36
|
+
> server is also available as the shorter `midas-mcp` command.
|
|
37
|
+
|
|
38
|
+
## License
|
|
39
|
+
|
|
40
|
+
MIT
|
|
41
|
+
|
|
42
|
+
<!-- mcp-name: io.github.vornicx/midas -->
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"""midas-memory-mcp — launcher for the Midas MCP server.
|
|
2
|
+
|
|
3
|
+
This package contains no memory logic of its own. It declares a dependency on the Midas SDK
|
|
4
|
+
(`midas-memory`) with the MCP + local-embedding extras and exposes the `midas-memory-mcp` console
|
|
5
|
+
command, so that `uvx midas-memory-mcp` and `pip install midas-memory-mcp` Just Work for any MCP
|
|
6
|
+
client (Claude Code, Cursor, Codex, Windsurf, …).
|
|
7
|
+
|
|
8
|
+
All functionality lives in `midas`. See https://github.com/vornicx/Midas
|
|
9
|
+
"""
|
|
10
|
+
from __future__ import annotations
|
|
11
|
+
|
|
12
|
+
__version__ = "0.0.1"
|
|
13
|
+
__all__ = ["main"]
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
def main() -> None:
|
|
17
|
+
"""Run the Midas MCP server (delegates to the SDK's entry point)."""
|
|
18
|
+
from midas.mcp_server import main as _run
|
|
19
|
+
|
|
20
|
+
_run()
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
[project]
|
|
2
|
+
name = "midas-memory-mcp"
|
|
3
|
+
version = "0.0.1"
|
|
4
|
+
description = "MCP server for Midas — local-first, source-traceable agent memory with no LLM at ingest"
|
|
5
|
+
readme = "README.md"
|
|
6
|
+
license = "MIT"
|
|
7
|
+
requires-python = ">=3.11"
|
|
8
|
+
keywords = ["mcp", "agent", "memory", "llm", "rag", "embeddings", "long-horizon"]
|
|
9
|
+
# Thin launcher: pulls the Midas SDK with the MCP + local-embedding extras and exposes the
|
|
10
|
+
# `midas-memory-mcp` command, so `uvx midas-memory-mcp` and `pip install midas-memory-mcp` Just
|
|
11
|
+
# Work. No logic here — everything lives in `midas-memory`.
|
|
12
|
+
dependencies = ["midas-memory[mcp,local]>=0.0.1"]
|
|
13
|
+
|
|
14
|
+
[project.urls]
|
|
15
|
+
Homepage = "https://github.com/vornicx/Midas"
|
|
16
|
+
Repository = "https://github.com/vornicx/Midas"
|
|
17
|
+
|
|
18
|
+
[project.scripts]
|
|
19
|
+
midas-memory-mcp = "midas_memory_mcp:main"
|
|
20
|
+
|
|
21
|
+
[build-system]
|
|
22
|
+
requires = ["hatchling"]
|
|
23
|
+
build-backend = "hatchling.build"
|
|
24
|
+
|
|
25
|
+
[tool.hatch.build.targets.wheel]
|
|
26
|
+
packages = ["midas_memory_mcp"]
|