New:Socket for Asana Is Now Available.Learn more
Get Started

@memoweft/mcp-server

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@memoweft/mcp-server

MCP server for MemoWeft — expose a portable AI memory through five read tools and three controlled writes.

Source
npmnpm
Version
0.2.0
Version published
Weekly downloads
36
-37.93%
Maintainers
1
Weekly downloads
 
Created
Source

@memoweft/mcp-server

English · 简体中文

An MCP server that exposes a MemoWeft database to an external AI client. It uses MemoWeft's public Core facade and registers exactly eight tools: five reads and three controlled writes.

Install

The npm-published server is @memoweft/mcp-server@0.1.0. Install it with its compatible Core release:

npm install memoweft@0.5.1 @memoweft/mcp-server@0.1.0

The 0.2.0 package on main is an unreleased workspace version. Build it from this checkout when using Core 0.5.1 or 0.6; its peer range is ^0.5.1 || ^0.6.0. Do not use --legacy-peer-deps to force npm's 0.1.0 package onto Core 0.6.

Tools and data access

ToolCore methodKind
memoweft_recallcore.recallread
memoweft_list_cognitionscore.memory.listCognitionsread
memoweft_list_evidencecore.memory.listEvidenceread
memoweft_list_eventscore.memory.listEventsread
memoweft_graphcore.graph.buildMemoryGraphread
memoweft_ingest_user_messagecore.ingestUserMessagecontrolled write
memoweft_ingest_tool_resultcore.ingestToolResultcontrolled write
memoweft_mute_cognitioncore.memory.muteCognitioncontrolled write

The two ingest tools record one raw evidence item each; they do not update the profile, run consolidation, or change cloud-read authorization. mute_cognition only toggles whether an existing cognition participates in recall; it does not delete it, alter its confidence, or change authorization. Destructive operations, authorization changes, profile updates, observations, and portable import/export are not registered.

Connecting an MCP client grants that client access to database content returned by these read tools, including evidence, cognitions, events, and graph output. Treat the client as a database reader and apply host-level consent and access controls before configuring it. allowCloudRead only qualifies evidence for MemoWeft's built-in cloud-model write prompts; it does not constrain the list, cognition, event, graph, or MCP output surfaces.

memoweft_recall accepts optional contentTypes and explain. With explain, restricted provenance omits its summary, but this is not end-to-end disclosure control for cognitions or other MCP results.

Run

The server talks MCP over stdio. It requires MEMOWEFT_DB_PATH; use :memory: for an ephemeral database.

{
  "mcpServers": {
    "memoweft": {
      "command": "npx",
      "args": ["-y", "@memoweft/mcp-server@0.1.0"],
      "env": { "MEMOWEFT_DB_PATH": "/absolute/path/to/memoweft.db" }
    }
  }
}

Programmatic use

import { createMemoWeftCore } from 'memoweft';
import { createMcpServer } from '@memoweft/mcp-server';
import { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js';

const core = createMemoWeftCore({ dbPath: process.env.MEMOWEFT_DB_PATH! });
const server = createMcpServer(core);
await server.connect(new StdioServerTransport());

Registry

io.github.memoweft/memoweft version 0.1.0 is active in the official MCP registry and points to the published npm package. This repository's server.json is the candidate metadata for the unreleased 0.2.0 server; update and validate it only when that npm package is ready to publish. package.json's mcpName must remain identical to server.json's name.

License

MIT

Keywords

mcp

FAQs

Package last updated on 21 Jul 2026

Related posts