Skip to main content
Glama

Agent Registry MCP

Shared engineering context and dynamic project memory for AI coding agents.

This project follows the attached Agent Registry architecture:

  • Git owns governed artifacts: skills, canonical context, policies, hooks, profiles, teams, and registry configuration.

  • PostgreSQL owns dynamic knowledge: feature memory, decision memory, observations, known issues, recent changes, provenance, lifecycle, and stale markers.

  • MCP is the runtime interface used by Claude, Copilot, Codex, and other agents.

  • Memory is not automatically canonical; it moves through OBSERVED -> CANDIDATE -> VERIFIED -> CANONICAL -> DEPRECATED.

  • No vector database is used in the MVP.

Run With Docker Compose

docker compose up --build

You can copy .env.example to .env when you want to override local defaults.

Services:

  • PostgreSQL: localhost:5432

  • MCP server container: agent-registry-mcp

The server reads governed context from .claude/ and dynamic memory from PostgreSQL.

Related MCP server: Recallant

Local Development

python3 -m venv .venv
. .venv/bin/activate
pip install -e ".[dev]"
python -m unittest discover -s tests/agent_registry_mcp
ruff check .

MCP Tools

Implemented MVP tools:

  • project_detect

  • project_register

  • project_get

  • context_get

  • context_search

  • skill_search

  • skill_get

  • skill_resolve

  • memory_register

  • memory_search

  • memory_get

  • memory_recent

  • registry_status

  • agent_status

Tools that modify shared memory require a server-side API key with the required role.

Each client project should register its stable slug and locally computed ProjectModel with project_register(api_key=..., ...) at the start of an agent session. The server stores that identity in PostgreSQL; subsequent memory reads and writes must use the same project_slug. The server does not need the client repository mounted to share dynamic memory between sessions.

Server-Side Roles

Configure API keys with REGISTRY_API_KEYS:

REGISTRY_API_KEYS=member-token:MEMBER,lead-token:LEAD

MEMBER can read, search, resolve, capture, and register candidate memory. LEAD can additionally promote, deprecate, and publish governed state in future commands.

Never commit real API keys. .env.example contains only placeholders.

Connect Claude Code

See docs/claude-connect.md.

AI Project Index

Agents should start with PROJECT_INDEX.md to understand the repository layout, MCP connection contract, project-scoped memory sharing pattern, and CLI bootstrap template.

Available Tools

15 tools
agent_statusD

Inputs: agent_name. Returns: object

context_getD

Inputs: path (required). Returns: object

memory_getD

Inputs: memory_id (required). Returns: object

memory_recentD

Inputs: project_slug (required), limit. Returns: object

memory_registerD

Inputs: body (required), kind (required), title (required), api_key (required), +10 more. Returns: object

memory_transitionD

Inputs: reason (required), api_key (required), to_state (required), memory_id (required). Returns: object

project_detectD

Inputs: project_model. Returns: object

project_getD

Inputs: project_slug. Returns: object

project_registerD

Inputs: api_key (required), project_slug (required), project_model (required), repository_url. Returns: object

registry_statusD

Inputs: no named parameters. Returns: object

skill_getD

Inputs: skill_name (required). Returns: object

skill_resolveD

Inputs: task (required), limit. Returns: object

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    C2/5.0

    Scored across 15 tools

    Disambiguation4/5

    Most tools clearly target a distinct resource+action pair (context/skill/project/memory/agent), and parallel search/get operations across resources are reasonably distinguishable. However, skill_resolve versus skill_get is ambiguous without descriptions, and memory_get versus memory_recent plus context_search versus context_get have overlapping retrieval semantics that an agent could easily misselect.

    Naming Consistency5/5

    All 15 tools use consistent snake_case with a resource-first, action-second pattern (e.g. context_search, skill_get, memory_register, project_detect). The two *_status tools (registry_status, agent_status) fit the same resource_action convention rather than deviating from it.

    Tool Count5/5

    15 tools is at the upper end but well-scoped for a registry spanning six resource domains (context, skill, project, memory, registry, agent), with roughly 2-3 tools per domain and no obvious redundancy.

    Completeness3/5

    The surface covers registration, lookup, and search for some resources, and memory has a full lifecycle including memory_transition. But there is no skill_register, no context_register, no update/delete operations for projects or contexts, and agent support is limited to a single status tool, leaving notable lifecycle gaps.

    Maintenance

    ActivityStale
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      B
      maintenance
      A persistent, trust-scored project memory for AI coding agents, backed by PostgreSQL + pgvector, providing durable memory of architecture decisions, bug patterns, and coding conventions.
      26 npm
      1
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Self-hosted governed project memory for coding agents, recording decisions, checkpoints, evidence, review state, and agent activity in PostgreSQL with pgvector while keeping maintainer control over what becomes reusable memory or instruction-grade guidance.
      Apache 2.0
    • F
      license
      Not graded
      quality
      A
      maintenance
      Provides a local-first persistent memory layer that AI coding agents can read and write during sessions, enabling semantic search and recall of project decisions, preferences, error patterns, research, and cross-project guidelines stored in local SQLite. It also exposes an optional task queue and orchestration tools for delegating autonomous coding work that reuses the same stored context.
      -
    • A
      license
      Not graded
      quality
      A
      maintenance
      Serves focused, token-bounded context from a project-local SQLite structural code graph to AI coding agents, exposing indexed entities, Git relationships and recorded project memory for exploration, impact analysis and session continuity. Runs locally with a CLI, hooks, authenticated dashboard and optional plugin providers.
      24 npm
      MIT