Lineage-gated agent memory tools on Postgres + pgvector, enforced by row-level security.
Connect Runs on your machine
claude mcp add amu-pgvector -e AMU_PGVECTOR_DSN=<AMU_PGVECTOR_DSN> -e AMU_PGVECTOR_EMBEDDING_DIM=<AMU_PGVECTOR_EMBEDDING_DIM> -- uvx amu-pgvector==0.1.3
{
"mcpServers": {
"amu-pgvector": {
"command": "uvx",
"args": [
"amu-pgvector==0.1.3"
],
"env": {
"AMU_PGVECTOR_DSN": "<AMU_PGVECTOR_DSN>",
"AMU_PGVECTOR_EMBEDDING_DIM": "<AMU_PGVECTOR_EMBEDDING_DIM>"
}
}
}
}
{
"mcpServers": {
"amu-pgvector": {
"command": "uvx",
"args": [
"amu-pgvector==0.1.3"
],
"env": {
"AMU_PGVECTOR_DSN": "<AMU_PGVECTOR_DSN>",
"AMU_PGVECTOR_EMBEDDING_DIM": "<AMU_PGVECTOR_EMBEDDING_DIM>"
}
}
}
}
{
"servers": {
"amu-pgvector": {
"type": "stdio",
"command": "uvx",
"args": [
"amu-pgvector==0.1.3"
],
"env": {
"AMU_PGVECTOR_DSN": "<AMU_PGVECTOR_DSN>",
"AMU_PGVECTOR_EMBEDDING_DIM": "<AMU_PGVECTOR_EMBEDDING_DIM>"
}
}
}
}
Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.
Tools
This server runs locally, so its tools are listed by your MCP client once it starts.
Environment variables
| Name | Description |
|---|---|
AMU_PGVECTOR_DSNRequired, secret | Postgres DSN for the role this server runs as. Results are gated by row-level security under this exact role -- use an amu_writer-member role for amu_record/amu_check_conflict, or an amu_agent_base-member role for read-only amu_search. |
AMU_PGVECTOR_EMBEDDING_DIMOptional | Embedding vector dimension, used only by the built-in deterministic fallback embedder when sentence-transformers (the amu-pgvector[st] extra) isn't installed. Must match the dimension sql/amu_pgvector.sql was installed with. Default: 1536. |
Details
| Package | [email protected] (PYPI, stdio) |
| First published | 30 Sep 2026 |
| Last updated | 30 Sep 2026 |
| Registry name | io.github.sangaraju1988/amu-pgvector |
More ai and media servers See all
Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.
