Statewave Connectors logo

Statewave Connectors

by smaramwbc

Connects MCP clients to Statewave for memory ingestion, ranked context retrieval, search, timelines, and subject compilation.

Install Statewave Connectors

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "smaramwbc-statewave-connectors": {
      "command": "npx",
      "args": [
        "-y",
        "@statewavedev/mcp-server"
      ],
      "env": {
        "STATEWAVE_URL": "YOUR_VALUE_HERE",
        "STATEWAVE_API_KEY": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Claude Code command
claude mcp add --env STATEWAVE_URL=YOUR_VALUE_HERE --env STATEWAVE_API_KEY=YOUR_VALUE_HERE --transport stdio smaramwbc-statewave-connectors -- npx -y @statewavedev/mcp-server

Run in your terminal. Add --scope project to share it with your team through .mcp.json.

Automated check passed— started and listed 6 tools correctly ().

Overview

smaramwbc/statewave-connectors exposes Statewave agent memory through five MCP tools over a minimal stdio JSON-RPC 2.0 server. Agents can ingest normalized episodes, retrieve ranked context, search compiled memories, inspect subject timelines, and trigger compilation. The server uses a typed HTTP client for the Statewave v1 API and validates tool inputs against JSON Schema. Reach for it when an agent needs durable, subject-scoped memory rather than only the current conversation.

Use cases

  • Ingest normalized agent episodes into Statewave
  • Retrieve ranked subject context inside prompts
  • Search compiled memories by free-text query
  • Review subject episodes within a time range
  • Compile a subject after adding new episodes

Key features

  • Five Statewave memory tools exposed over MCP
  • Idempotent episode ingestion
  • Ranked context retrieval
  • Subject-scoped memory search
  • Filterable chronological timelines
  • Stdio JSON-RPC 2.0 transport

Tools6

What Statewave Connectors lets your agent do. Expand a tool for its parameters.

Verified live~2.1k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

What it can do

From the 6 tools this server returned when we ran it.

Makes changes · 1Handles credentials · 2Read-only tools · 5
Network at startup3 connections
Files written at startupNone
Install scriptsNone
npm provenanceSigned build
Package age203 days
Maintainers1

Observed 2026-11-27 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 9d ago via OSV.dev · @statewavedev/mcp-server (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars4Stargazers on the source repository.
npm downloads65Package downloads in the last 30 days.
Last commit8d agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed6Callable tools this server registers over MCP.

How Statewave Connectors works

What smaramwbc/statewave-connectors does

smaramwbc/statewave-connectors connects MCP-compatible clients to Statewave's memory API. Its tool surface covers both sides of a memory workflow: adding normalized episodes and recalling information that has been compiled for a subject.

The main retrieval tool is statewave_get_context, which returns compact, ranked context for a subject and is intended for use inside a prompt. statewave_search_memories searches compiled memories with a free-text query scoped to that subject. For event-level inspection, statewave_get_timeline returns episodes in chronological order and supports filters for kinds and time bounds.

Writing and maintenance are handled by statewave_ingest_episode and statewave_compile_subject. Ingestion deduplicates episodes using an idempotency_key; compilation makes newly ingested episodes recallable.

How it works

The package includes a thin StatewaveClient for the Statewave v1 API. The client handles authentication, tenant information, and typed errors. Tool calls pass through dispatchTool, which validates inputs and maps each recognized MCP tool to a corresponding client method.

For standalone use, startMcpServer provides a stdio JSON-RPC 2.0 transport. The server can also print its complete JSON Schema tool surface and exit by using the --list-tools mode. This makes the available input shapes inspectable before connecting it to an MCP client.

Statewave memory is organized around subjects. A typical retrieval call supplies a subject such as repo:owner/name and a query describing the context an agent needs. Episodes must be normalized before they are sent for ingestion.

Setup and configuration

The command-line entry point is exposed through @statewavedev/connectors-cli:

bash
statewave-connectors mcp start --list-tools
statewave-connectors mcp start

The normal server command uses stdio JSON-RPC 2.0 and requires STATEWAVE_URL. Authentication is configured with STATEWAVE_API_KEY. The package can also be embedded in an existing MCP runtime by importing StatewaveClient and dispatchTool from @statewavedev/mcp-server:

server.ts
const client = new StatewaveClient({
  url: process.env.STATEWAVE_URL,
  apiKey: process.env.STATEWAVE_API_KEY
});

Use the first command to inspect the schemas without starting a long-running server. Use the second when an MCP client should communicate with the server over standard input and output.

Tools and capabilities

  • statewave_ingest_episode: Adds one normalized episode and avoids duplicate ingestion through its idempotency_key.
  • statewave_search_memories: Searches compiled memories by free-text query within a subject.
  • statewave_get_context: Returns compact, ranked subject context for inclusion in an agent prompt.
  • statewave_get_timeline: Retrieves chronological episodes, with optional kinds, since, and until filters.
  • statewave_compile_subject: Starts compilation for a subject so recently ingested episodes can be recalled.

Limitations and notes

The included transport is stdio JSON-RPC 2.0. The server is designed to be vendor-neutral and does not assume a particular IDE, model provider, or hosted dependency. Newly ingested episodes may require an explicit subject compilation step before they are available through memory recall tools.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Statewave Connectors

smaramwbc/statewave-connectors is an MCP server that connects MCP-compatible clients to Statewave agent memory. Its main tools ingest episodes, retrieve ranked subject context, search compiled memories, list chronological timelines, and trigger subject compilation so newly added episodes become recallable.

Start it with `statewave-connectors mcp start` after setting `STATEWAVE_URL` and `STATEWAVE_API_KEY`. The command runs a stdio JSON-RPC 2.0 server; add `--list-tools` to print the JSON Schema tool definitions and exit.

Set `STATEWAVE_URL` and `STATEWAVE_API_KEY` for the standard client configuration. The URL identifies the Statewave API, while the API key supplies authentication to the `StatewaveClient`.

Call `statewave_compile_subject` after ingestion for the relevant subject. Compilation makes newly ingested episodes available to the compiled-memory retrieval tools.

Run `statewave-connectors mcp start --list-tools` to print the complete JSON Schema tool surface without starting the normal server process.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewStatewave Connectors AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/smaramwbc-statewave-connectors?style=directory)](https://allmcps.com/mcp/smaramwbc-statewave-connectors)
HTML Embed
<a href="https://allmcps.com/mcp/smaramwbc-statewave-connectors"><img src="https://allmcps.com/api/badge/smaramwbc-statewave-connectors?style=directory" alt="Statewave Connectors on AllMCPs" /></a>