pgmnemo-mcp

v0.21.0
pgmnemo-mcp Checked 10 hours ago Published 1 month ago

MCP server wrapping pgmnemo ingest and recall for AI agent memory

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

pgmnemo.ingest

Ingest a lesson into pgmnemo agent memory.

ParameterTypeDescription
text *string
artifact_hash
commit_sha
importanceinteger
item_kindstring
metadata
project_idinteger
rolestring
source_dag_id
topicstring

pgmnemo.recall

Recall lessons from pgmnemo agent memory.

ParameterTypeDescription
query *string
content_types
deepboolean
exclude_dag_id
project_id_filter
role_filter
top_kinteger

pgmnemo.patch

Update lesson text for an existing lesson (increments version_n and patch_count).

ParameterTypeDescription
lesson_id *integer
lesson_text *string

pgmnemo.remember_fact

Store a typed fact about an entity — property-value pair with bitemporal supersession. Wraps pgmnemo.remember_fact() SP.

ParameterTypeDescription
entity_key *string
property *string
role *string
value *string
artifact_hash
commit_sha
confidencenumber
has_contact_pii
project_id
source_type

pgmnemo.remember_event

Record an immutable event for an entity (append-only). Wraps pgmnemo.remember_event() SP.

ParameterTypeDescription
entity_key *string
event_body *string
event_label *string
role *string
artifact_hash
commit_sha
confidencenumber
occurred_at
project_id
source_type

pgmnemo.remember_relation

Record a directed typed association between two entity slugs. Idempotent on (from_key, relation_type, to_key). Wraps pgmnemo.remember_relation() SP.

ParameterTypeDescription
from_key *string
relation_type *string
role *string
to_key *string
artifact_hash
commit_sha
confidencenumber
project_id
source_type

pgmnemo.reinforce

Record the outcome of applying a lesson and update its posterior confidence. Wraps pgmnemo.reinforce() SP (v0.13.0 scalar form).

ParameterTypeDescription
lesson_id *integer
outcome *string
used

pgmnemo.get_params

Return the current pgmnemo MCP server configuration. DATABASE_URL password is masked. Use this to verify the server is connected to the expected PostgreSQL instance and embedding service.