fix: add mempalace-mcp console entry point for pipx/uv compatibility

The MCP server config used `python -m mempalace.mcp_server` which fails
when mempalace is installed via pipx or uv, since the system python
cannot find the module in the isolated venv. Adding a `mempalace-mcp`
console_scripts entry point ensures the MCP server works regardless of
installation method (pip, pipx, uv, conda).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Pim Messelink
2026-04-09 06:39:44 +00:00
committed by Igor Lins e Silva
parent 4fb0ee57e7
commit 9f5b8f5fd6
7 changed files with 8 additions and 19 deletions
+1
View File
@@ -38,6 +38,7 @@ Repository = "https://github.com/MemPalace/mempalace"
[project.scripts]
mempalace = "mempalace.cli:main"
mempalace-mcp = "mempalace.mcp_server:main"
[project.entry-points."mempalace.backends"]
chroma = "mempalace.backends.chroma:ChromaBackend"