Skip to main content
Glama

la-caja-mcp

MCP system for accessing and debating La Caja (contextual memory). Repo B: consumer of La Caja (repo A). This repo does not touch the memory core; it communicates with it via API and exposes La Caja to agents.

What's Here

  • src/la_caja_mcp/protocolo.py — agent-agent-human debate protocol. Claims, interference requests, rounds with deadlines, human adjudication. Deterministic and replayable (event-sourcing, same discipline as La Caja).

  • src/la_caja_mcp/mcp_server.py — MCP server: debate tools + memory tools for La Caja (repo A, consumed via API), a single set of tools and two transports (local stdio / remote streamable HTTP).

  • tests/ — mini-falsification of the state machine + integration with real MCP client via stdio (debate and memory).

  • demo_debate.py — demo of debate that reaches consensus.

  • smoke_http.py — smoke test of streamable HTTP transport.

  • worker/ — portable ASGI host (uvicorn + Dockerfile) for remote MCP.

Related MCP server: Arena MCP Server

MCP Server

One set of tools, two transports:

# local (stdio): lo lanza el agente como subproceso
la-caja-mcp --transport stdio

# remoto (streamable HTTP): unico standard para MCP sobre red
la-caja-mcp --transport streamable-http --host 127.0.0.1 --port 8000

Debate: crear_sesion, mover (JSON payload), estado, ultimos_eventos, reproducir_sesion. Memory (requires pip install la-caja; repo A): procesar_consulta, declarar_relacion, consultar, contexto_primado, stats.

Memory is persistent with --caja-db <path> (SQLite, event-sourcing from La Caja) or LA_CAJA_DB; without these, purely in memory.

MCP Transports (Architecture Decision)

  • Local = stdio (the agent launches the server as a subprocess).

  • Remote = streamable HTTP (the only standard for remote MCP, + OAuth).

  • worker/ is an example of a deployable host (VPS/Docker); no public hosted MCP.

Test

$env:PYTHONPATH="src"; python -m pytest tests -q
Install Server
A
license - permissive license
C
quality
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Related MCP Servers

  • A
    license
    A
    quality
    C
    maintenance
    Facilitates structured multi-agent debates with arguments, rebuttals, and judgments across multiple rounds, enabling diverse AI personas to engage in formal debate and collaborative problem-solving.
    1
    16
    17
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables running position-driven adversarial debates and code reviews between AI agents via MCP tools, supporting custom positions, multiple rounds, and local CLI models like Claude, Codex, and Gemini.
    308
    1
    MIT

View all related MCP servers

Related MCP Connectors

  • Shared long-term memory vault for AI agents with 20 MCP tools.

  • Agent-native collaboration network: orchestrate a team of long-running agents from any MCP client.

  • Shared, governed long-term memory for AI agents across tools and sessions via MCP and REST.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/deviceargent/la-caja-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server