Skip to main content
Glama

ziweihui-mcp

Ziweihui MCP server: memory tools with hard secret-screening gates, plus one-time privilege tokens (verify-and-burn) with a fingerprint-only audit ledger.

Tools (6, all read-only surfaces)

Tool

Description

ops_memory_digest

Session digest: one-line conclusion + up to 5 points; suspected secret/sensitive lines are hard-filtered.

ops_memory_search

Memory search: queries containing suspected secret fragments are rejected outright; sensitive hit lines never enter results.

ops_ledger_snapshot

Ledger snapshot: total count, per-type counts, latest entry.

ops_spec_lint

Spec lint: checks seven required sections (name/input/output/preconditions/side-effect boundary/risk level/gate).

ziweihui_verify

Verify a one-time privilege token: verify-and-burn, one token one use.

ziweihui_audit

Audit ledger: full history, fingerprints only — no plaintext token values.

Privilege granting is deliberately not exposed over MCP: the escalation path never hangs on the tool bus.

Related MCP server: akatsuki

Run

pip install ziweihui-mcp
ziweihui-mcp          # stdio transport

Any MCP client can connect over stdio. No credentials, no persistent storage, no network calls.

Design notes

  • Hard gates, both directions: queries that look like secrets are rejected; results that look like secrets are filtered out. The gate list covers common markers (key, token, secret, password, bearer, sk-, passwd, credential).

  • Verify-and-burn tokens: a granted token works exactly once; reuse is rejected. The audit ledger records only SHA-256 fingerprints, never plaintext values.

  • In-memory state: everything lives in the session; nothing touches disk.

License

MIT

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      B
      maintenance
      Hosted memory for coding agents, exposing commit_mem, recall, and status over stdio. Each write carries provenance, contradictions surface as inspectable state changes, and a bad run can be rolled back from a snapshot.
      15
      1
      Business Source 1.1
    • A
      license
      Not graded
      quality
      B
      maintenance
      Exposes a living systems memory vault to autonomous agents, letting them search notes with BM25 ranking, read sections within token budgets, extract API/port/schema contracts, compute dependency blast radius, and run machine-verifiable invariant assertions before mutating code. It also supports surgical frontmatter edits, schema linting, wikilink integrity checks, and worklog recording, over stdio MCP.
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables MCP-capable AI agents to recall from and write to an encrypted, portable memory vault over stdio, with search, context packing, stats, verification, and forget operations.
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables MCP clients to search, record, correct, and review the provenance and version history of memories, and to obtain answers composed from guarded context in which private values are replaced by placeholders and resolved locally on the device. Exposes these capabilities through dependency-free tools over stdio.
      MIT