MemoFSMemoFS
API Reference

API Reference Overview

Complete API reference for MemoFS npm packages: @memofs/core, @memofs/server, @memofs/mcp-server, and @memofs/connectors.

Welcome to the MemoFS API Reference documentation.

MemoFS's application programming interfaces are structured around modular, scoped npm packages.

Core Packages

  • @memofs/core: The central memory runtime, virtual AgentFS, graph engine, and hybrid recall router.
  • @memofs/cli: The command-line interface, configuration generator, and programmatic CLI runner.
  • @memofs/server: The hosted, self-deployable server wrapping the memory engine behind a JSON-RPC 2.0 API.
  • @memofs/mcp-server: Exposes memory-control tools to AI agents using the Model Context Protocol.
  • @memofs/connectors: Local ingestion plug-in framework for loading third-party sources (e.g. GitHub, Notion).

Provider Adapters

Developer Utilities

  • @memofs/json-rpc: Validation schemas and types for the JSON-RPC 2.0 protocol.
  • @memofs/testing: Reusable contract tests, mock fakes, and test fixtures.
  • @memofs/benchmark-kit: Workloads and statistical runners to profile memory components.

On this page