Prototipo · Versión preliminar: todos los servidores del registro oficial, sincronizados cada 30 minutos. Las reseñas y las cuentas llegarán en una etapa posterior.
PopNx MCPServidores MCP para quienes usan IA · explicados con palabras sencillas

amu-pgvector

de sangaraju1988versión 0.1.3i★ –iSe ejecuta en tu computadora
Nombre en el registroio.github.sangaraju1988/amu-pgvector

Instalar

Resumen

Descripción del creador (original en inglés)

Lineage-gated agent memory tools on Postgres + pgvector, enforced by row-level security.

Los tres pilares de PopNx MCP

Estos tres nunca se combinan en una sola puntuación: las opiniones, las mediciones y la popularidad son cosas distintas.

Qué puedes hacer con él

Todavía no escribimos un resumen sencillo para este. Abajo están los datos que leímos del registro.

  • Conexión: Se ejecuta en tu computadora
  • Transporte: stdio
  • Categoría: Ciberseguridad
  • Debes completar: AMU_PGVECTOR_DSN

Instalación

Elige la app de IA que usas y copia la configuración.

Antes de instalar

  • Revisiones básicas: 1 de 1 superadas
  • Se ejecuta en tu computadora con los permisos de tu usuario (archivos, red, apps).
  • Debes completar tú: AMU_PGVECTOR_DSN, AMU_PGVECTOR_EMBEDDING_DIM

Los valores marcados como secretos son llaves de tu cuenta. Nunca los compartas ni los pegues en un chat.

Necesitas

  • PyPIuv de Python instalado (para el comando uvx)

¿Qué app usas?

Elige tu app arriba. La recordamos, así que la próxima vez el botón dirá “Instalar en …”.

Abre Claude Desktop → Settings → Developer → Edit Config y pega esto en claude_desktop_config.json

{
  "mcpServers": {
    "amu-pgvector": {
      "command": "uvx",
      "args": [
        "amu-pgvector",
        "amu-pgvector-mcp"
      ],
      "env": {
        "AMU_PGVECTOR_DSN": "your-value",
        "AMU_PGVECTOR_EMBEDDING_DIM": "your-value"
      }
    }
  }
}

Ejecuta esto en tu terminal

claude mcp add amu-pgvector --env AMU_PGVECTOR_DSN=your-value --env AMU_PGVECTOR_EMBEDDING_DIM=your-value -- uvx amu-pgvector amu-pgvector-mcp

Completa los valores vacíos antes de ejecutarlo.

Abrir en Cursor

O copia la configuración tú

Pégalo en .cursor/mcp.json de tu proyecto, o en ~/.cursor/mcp.json

{
  "mcpServers": {
    "amu-pgvector": {
      "command": "uvx",
      "args": [
        "amu-pgvector",
        "amu-pgvector-mcp"
      ],
      "env": {
        "AMU_PGVECTOR_DSN": "your-value",
        "AMU_PGVECTOR_EMBEDDING_DIM": "your-value"
      }
    }
  }
}

Tu navegador te pide permiso para abrir la app; luego la app muestra la configuración y te pide confirmar. Los valores de las claves quedan vacíos para que los completes tú.

Abrir en VS Code

O copia la configuración tú

Pégalo en .vscode/mcp.json de tu proyecto

{
  "servers": {
    "amu-pgvector": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "amu-pgvector",
        "amu-pgvector-mcp"
      ],
      "env": {
        "AMU_PGVECTOR_DSN": "your-value",
        "AMU_PGVECTOR_EMBEDDING_DIM": "your-value"
      }
    }
  }
}

Tu navegador te pide permiso para abrir la app; luego la app muestra la configuración y te pide confirmar. Los valores de las claves quedan vacíos para que los completes tú.

Este se ejecuta en tu computadora, y ChatGPT solo puede conectarse a servidores en internet. Elige otra app.

Tu elección se guarda en una cookie en este dispositivo; no necesitas cuenta.

Valores que debes completar

  • AMU_PGVECTOR_DSN secreto obligatorio env
    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-m…
  • AMU_PGVECTOR_EMBEDDING_DIM env
    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_pgvecto…

Esta configuración se genera a partir de la ficha del creador en el registro. Si el README dice otra cosa, sigue el README.

Qué puede hacer

Se ejecuta en tu computadora; la lista de herramientas aparece en tu app de IA después de instalarlo.

Revisiones básicasi

Revisamos información que cualquiera puede ver; no hemos leído el código. Las revisiones que no aplican no se cuentan. · Revisado el 7 nov 2026

  • ✓ Superada

    El creador coincide con el repo

    El nombre en el registro se verificó con la cuenta de GitHub sangaraju1988, dueña del repo

  • … Aún sin revisar

    Sigue en mantenimiento

    Todavía no hemos leído este repo en GitHub

  • … Aún sin revisar

    Tiene licencia

    Todavía no hemos leído este repo en GitHub

  • – No aplica

    El endpoint responde

    Este se ejecuta en tu computadora; no hay endpoint en internet

  • – No aplica

    Inicio de sesión con OAuth

    Se ejecuta en tu computadora y usa ajustes locales en su lugar

  • … Aún sin revisar

    Sin instrucciones ocultas en las descripciones de herramientas

    Se ejecuta en tu computadora; solo podemos leer listas de herramientas de endpoints en internet

Comparado con otros en Ciberseguridadi

  • Más estrellas que el 0% de los otros 994 servidores de esta categoría
  • Publicado en el registro más recientemente que el 54% de los otros 994 servidores de esta categoría
  • Revisiones básicas iguales o mejores que el 100% de los otros 994 servidores de esta categoría

Comparado con todos los servidores activos de esta categoría en el registro. Las estrellas solo cuentan cuando quien lo publica es dueño del repo.

Preguntas frecuentes

¿Es seguro amu-pgvector?

Superó 1 de 1 revisiones básicas aplicables. No hemos leído el código. Antes de agregar una clave o un token, revisa qué acceso pide el servidor y usa una clave que tenga solo los permisos que necesitas.

¿Qué claves o códigos necesita?

Debes completar: AMU_PGVECTOR_DSN

¿Se ejecuta en mi computadora o en la nube?

Se ejecuta en tu computadora. Tu app de IA lo inicia cuando hace falta, y los datos no pasan por los servidores del creador (a menos que el propio servidor llame a un servicio en línea).

¿Sigue en mantenimiento?

El repo de GitHub cambió por última vez –, y la última versión (0.1.3) llegó al registro hace 38 días.

¿Qué apps pueden usarlo?

Las apps compatibles con MCP, como Claude Desktop, Claude Code, Cursor y VS Code. También necesitas Python (uv) en tu computadora.

¿Qué puedo usar en su lugar?

En la misma categoría: SML Risk Firewall, ipdata MCP by usefulapi, MaxMind minFraud MCP by usefulapi

Alternativas

Servidores de la misma categoría hechos por otros creadores, ordenados por estrellas.

Cómo leer una tarjeta:★ Estrellas de GitHubiTres pilares: reseñas · revisiones · usoiActualizado = fecha en que se publicó la última versión en el registroi

SML Risk Firewall

de scriptmasterlabs.com

Pre-trade risk checks for agent trades: orders vs your limits, signed receipts.

Se ejecuta en la nubeActualizado hoy
Instalar

Look up location, network, company and threat data for IP addresses and ASNs in ipdata.

Se ejecuta en la nubeActualizado hoy
Instalar

README del creador

Abrir el README

Copiado tal cual del repo del creador. PopNx MCP no lo ha revisado ni lo respalda. Se quitaron HTML, imágenes y scripts. Los enlaces llevan fuera de este sitio.

amu-pgvector

Reference implementation of Lineage-Aware Memory Governance (Sangaraju & Vissa, *IEEE Access*, 10.1109/ACCESS.2026.3730363) on PostgreSQL + pgvector.

The problem

Say Finance computes avg(income) for a customer segment and caches the result so the next agent that asks the same question doesn't have to recompute it. Later, a Marketing agent asks a semantically similar question -- "what's the average customer income by segment?" -- and a naive shared memory, gated only on the metric's name or content tags, serves back Finance's cached result. Marketing was never permitted to see income. The result itself doesn't *look* like income -- it's a number -- but it was derived from a column Marketing isn't permitted to touch, and nothing about matching on metric name or content catches that. That's the leak this project closes: gating reuse on *how a result was derived*, not on what it looks like.

60-second quickstart

git clone https://github.com/sangaraju1988/amu-pgvector.git

cd amu-pgvector docker compose up -d psql -h localhost -p 5433 -U amu_owner -d amu_dev -f sql/amu_pgvector.sql

password: amu_owner_password

uv sync --all-packages --all-extras   # or: pip install amu-pgvector
from amu_pgvector import AMUStore

from amu_pgvector.embeddings import fake_embedder

DSN = "postgresql://amu_owner:amu_owner_password@localhost:5433/amu_dev" embed = fake_embedder(dim=1536) # swap for a real embedding model in production

admin = AMUStore(DSN) admin.register_sensitive_column("income") admin.grant_department_permission("Finance", "income") admin.create_agent_role("finance_agent", "Finance", "finance_pw") admin.create_agent_role("marketing_agent", "Marketing", "marketing_pw")

admin.record( "SELECT avg(income) FROM customers", {"avg": 82000}, metric_name="avg_income", description="average customer income", owner_department="Finance", embed_fn=embed, )

finance_dsn = "postgresql://finance_agent:finance_pw@localhost:5433/amu_dev" marketing_dsn = "postgresql://marketing_agent:marketing_pw@localhost:5433/amu_dev"

AMUStore(finance_dsn).search("average customer income", k=5, embed_fn=embed)

-> [SearchResult(metric_name='avg_income', ...)]

AMUStore(marketing_dsn).search("average customer income", k=5, embed_fn=embed)

-> [] -- Marketing was never granted income, so Postgres itself

never returns the row, regardless of how the query is asked.

Every line above was run against this exact repo before being written here (see docs/design.md for what a from-scratch install actually looks like). amu_owner/amu_owner_password is the docker-compose default -- change it for anything beyond local development.

How the gate works

amu.memory_units is a normal Postgres table with FORCE ROW LEVEL SECURITY enabled. Every write goes through a trigger that extracts the lineage of the SQL that actually produced the cached result (via amu-governance's sql_lineage module -- not self-reported by the agent), closes it over any registered materialized-view/derived-table edges, and computes S(a): the set of sensitive columns that lineage actually touches. A SELECT policy enforces S(a) ⊆ P(d) -- the row is visible only if every column in S(a) is in the requesting role's permitted set P(d) -- for every query against the table, from every client: raw SQL, amu.search(), the Python client, the LangChain integration, and the MCP server all go through the same policy, because it's the table's policy, not any one client's filter.

sequenceDiagram

participant Writer as amu_writer role (trusted interception layer) participant PG as Postgres: amu.memory_units (FORCE ROW LEVEL SECURITY) participant Trigger as BEFORE INSERT trigger participant Finance as finance_agent role participant Marketing as marketing_agent role

Writer->>PG: INSERT ... lineage = {"steps":[{"table":"customers","columns_used":["income"]}]} PG->>Trigger: compute lineage_columns, S(a), lineage_status Trigger-->>PG: sensitive_columns = {income}, resolved

Finance->>PG: SELECT ... (session_user = finance_agent) PG->>PG: S(a)={income} subset P(Finance)={income,...}? yes PG-->>Finance: row returned

Marketing->>PG: SELECT ... (session_user = marketing_agent) PG->>PG: S(a)={income} subset P(Marketing)={...}? no PG-->>Marketing: row not returned

See docs/design.md for how every paper concept maps to a specific SQL object, and docs/sql-reference.md for an exhaustive reference of every table, function, role and policy.

Security model and limits

Protected: cross-department leakage of a cached result's derivation columns (the core guarantee, enforced by RLS); silent metric-definition conflicts (amu.check_conflict()); a column reclassified as sensitive *after* AMUs already exist (a trigger recomputes affected rows, no rewrite needed); lineage closure that silently truncates a long or cyclic derivation chain (fails closed -- marks the AMU unresolved and invisible, rather than serving a partially-traced result).

Explicitly out of scope: a writer that lies about lineage (the SQL gate trusts amu_writer's input by design); inference by combining several individually-permitted AMUs; Postgres superusers, who always bypass RLS; timing side channels; a "convenience mode" identity option (off by default) that's only as safe as the boundary between trusted application code and agent-influenced code on a pooled connection.

Full writeup: docs/threat-model.md.

Benchmarks

Every number below is quoted directly from results/SUMMARY.md, generated by benchmarks/generate_summary.py from committed results/ / / runs (git SHA, Postgres/pgvector versions, hardware, seed and parameters in each run's manifest.json). Re-run the benchmark scripts yourself to reproduce or challenge these; nothing here is estimated.

Leak rate (2000 requests over 600 synthetic AMUs, Finance/Marketing/Support):

ConditionServedCross-department leaksLeak rate
Naive (content-gated, no lineage check)2000101050.5%
amu-pgvector (RLS-gated)99000.0%

Latency (p50/p95 at k=10; RLS and hnsw.iterative_scan each on/off, same role/queries/data per row):

nRLSiterative_scanp50 (ms)p95 (ms)
10,000onon (amu.search() default)66.870.2
10,000onoff81.988.2
10,000offon19.521.8
10,000offoff49.252.3
100,000onon (amu.search() default)712.9851.2
100,000onoff43.465.7
100,000offon376.8418.5
100,000offoff46.670.9

Read honestly: hnsw.iterative_scan=relaxed_order (what amu.search() uses by default, so that filtered results still hit k even when most rows are hidden) costs real latency at scale -- roughly 16x slower than iterative-off at 100k rows in this run. That's the price of the recall guarantee below; if your visible fraction is consistently high, you may prefer to query without it. 1M-row scale was not attempted: the 100k HNSW index build alone took about 7 minutes on the machine this was run on (Docker Desktop on macOS, sharing the host with unrelated workloads) -- recorded honestly rather than extrapolated.

Filtered recall (recall@10 of gated HNSW search vs. exact brute-force over the same role's actually-visible rows, n=20,000):

Visible fractionrecall@10 (mean)recall@10 (min)
50%100.0%100.0%
10%100.0%100.0%
1%100.0%100.0%

Integrations

  • Plain SQL -- sql/amu_pgvector.sql is the artifact that matters most: idempotent, installs on a managed Postgres as a normal database owner (no superuser), no C extensions beyond vector. Works identically on Supabase and Neon (see submissions/supabase-neon-guide.md for a from-scratch tutorial covering both).
  • LangChain -- langchain-amu provides AMUVectorStore and AMURetriever. Every read runs under the store's own Postgres role, so RLS gates LangChain the same way it gates raw SQL. See packages/langchain-amu/.
  • MCP -- pip install amu-pgvector[mcp] adds an amu-pgvector-mcp console script exposing amu_search, amu_record and amu_check_conflict as tools, gated the same way. See packages/amu-pgvector/src/amu_pgvector/mcp_server.py.

Citation

@article{sangaraju2026lineage,

title = {Lineage-Aware Memory Governance: A Derivation-Gated Framework for Privacy-Preserving Column-Level Access Control in Enterprise AI Agents}, author = {Sangaraju, Venkata and Vissa, Sudhir}, journal = {IEEE Access}, year = {2026}, doi = {10.1109/ACCESS.2026.3730363} }

See CITATION.cff to also cite this software directly.

License

MIT. See LICENSE.

Related

  • Paper: Sangaraju & Vissa, *IEEE Access*, DOI 10.1109/ACCESS.2026.3730363
  • Reference library: amu-governance (PyPI)
  • docs/design.md -- paper concepts mapped to SQL objects, plus every real gotcha found while building this
  • docs/threat-model.md -- what's protected, what's not
  • docs/sql-reference.md -- every table, function, role and policy
Pregunta a PopNx