{
  "schema_version": "1.0",
  "name": "Infinite Context (ICX) MCP Server",
  "description": "Zero-loss persistent memory, sub-5ms associative lattice recall, and deterministic verbatim register quoting for AI agent workflows.",
  "version": "0.4.0",
  "capabilities": {
    "tools": true,
    "prompts": true,
    "resources": true
  },
  "endpoints": {
    "mcp": "https://icx.caleralabs.com/mcp",
    "chat_completions": "https://icx.api.caleralabs.com/v1/chat/completions",
    "ingest_file": "https://icx.api.caleralabs.com/api/ingest/file",
    "memory_quote": "https://icx.api.caleralabs.com/v1/memory/quote",
    "lattice_stats": "https://icx.api.caleralabs.com/api/lattice/stats"
  },
  "tools": [
    {
      "name": "icx_remember",
      "description": "Ingests text, documents, code snippets, or conversational facts directly into the Volumetric Lattice Network memory manifold with sub-5ms crystallization.",
      "endpoint": "/mcp",
      "parameters": {
        "type": "object",
        "properties": {
          "text": {
            "type": "string",
            "description": "The raw text, markdown document, code file, or factual statement to memorize."
          },
          "space_id": {
            "type": "string",
            "description": "Optional memory space partition (e.g. 'codebase_docs', 'contracts_v2', 'user_preferences')."
          },
          "filename": {
            "type": "string",
            "description": "Optional filename or document title provenance tag."
          },
          "family": {
            "type": "string",
            "description": "Optional document family grouping for deterministic verbatim register quoting."
          }
        },
        "required": ["text"]
      }
    },
    {
      "name": "icx_recall_scoped",
      "description": "Performs geodesic associative recall across the Volumetric Lattice Network to retrieve exact Grounded Facts and citations without needle loss.",
      "endpoint": "/mcp",
      "parameters": {
        "type": "object",
        "properties": {
          "query": {
            "type": "string",
            "description": "Natural language question, keyword, or concept to recall from persistent lattice memory."
          },
          "space_id": {
            "type": "string",
            "description": "Optional memory space partition to restrict recall to."
          },
          "top_k": {
            "type": "integer",
            "description": "Maximum number of grounded facts to retrieve (default: 10, max: 50)."
          }
        },
        "required": ["query"]
      }
    },
    {
      "name": "icx_search_facts",
      "description": "Searches simplicial lattice nodes and decoded facts by partial query overlap and manifold proximity.",
      "endpoint": "/mcp",
      "parameters": {
        "type": "object",
        "properties": {
          "query": {
            "type": "string",
            "description": "Search terms or entity names to search across simplicial lattice nodes."
          },
          "space_id": {
            "type": "string",
            "description": "Optional memory space partition to search within."
          },
          "limit": {
            "type": "integer",
            "description": "Maximum number of node matches to return (default: 20)."
          }
        },
        "required": ["query"]
      }
    },
    {
      "name": "icx_quote_slot",
      "description": "Deterministic zero-LLM verbatim register quoting by document family and ordinal slot index.",
      "endpoint": "/mcp",
      "parameters": {
        "type": "object",
        "properties": {
          "family": {
            "type": "string",
            "description": "Document family identifier (e.g. 'contract.indemnity', 'msa.pricing')."
          },
          "index": {
            "type": "integer",
            "description": "1-based ordinal member index."
          },
          "space_id": {
            "type": "string",
            "description": "Optional memory space partition where the family was stored."
          }
        },
        "required": ["family", "index"]
      }
    },
    {
      "name": "icx_inspect_space",
      "description": "Audits and retrieves real-time telemetry for a partitioned memory space on the Volumetric Lattice Network.",
      "endpoint": "/mcp",
      "parameters": {
        "type": "object",
        "properties": {
          "space_id": {
            "type": "string",
            "description": "Optional memory space partition to inspect."
          }
        }
      }
    },
    {
      "name": "icx_reset_session",
      "description": "Resets conversational dialogue history for a session while strictly preserving all underlying crystallized knowledge in the memory space.",
      "endpoint": "/mcp",
      "parameters": {
        "type": "object",
        "properties": {
          "space_id": {
            "type": "string",
            "description": "Optional memory space partition whose turn history should be reset."
          }
        }
      }
    }
  ]
}
