Labsco
smaramwbc logo

Statewave

โ˜… 3

from smaramwbc

MCP server for Statewave, an open-source memory runtime for AI agents. Provides persistent memory, context retrieval, and memory compilation through the Model Context Protocol.

๐Ÿ”ฅ๐Ÿ”ฅโœ“ VerifiedFreeAdvanced setup

@statewavedev/mcp-server

Statewave MCP server โ€” exposes Statewave memory to MCP-compatible clients (coding assistants, agent frameworks, IDE extensions).

Part of the Statewave Connectors ecosystem. Vendor-neutral by design โ€” no IDE, model provider, or hosted dependency assumptions.

What's here

  • STATEWAVE_MCP_TOOLS โ€” the canonical tool surface (5 tools, JSON Schema input)
  • StatewaveClient โ€” thin HTTP client for the Statewave v1 API (auth, tenant, typed errors)
  • dispatchTool โ€” input-validating dispatcher that maps a tool call to a StatewaveClient method
  • startMcpServer โ€” minimal stdio JSON-RPC 2.0 transport, plus a --list-tools mode

Tools

ToolPurpose
statewave_ingest_episodeIngest a single normalized episode (deduped on idempotency_key).
statewave_search_memoriesSearch compiled memories by free-text query within a subject.
statewave_get_contextRetrieve compact, ranked context for a subject โ€” the default tool to use inside a prompt.
statewave_get_timelineChronological episodes for a subject; filterable by kinds, since, until.
statewave_compile_subjectTrigger compilation of a subject so newly ingested episodes become recallable.

Status

v0.1.0 preview โ€” minimal stdio transport included. See RELEASE_NOTES.md.