npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@mubit-ai/mcp

v0.1.0

Published

MuBit Memory MCP Server — expose MuBit memory engine as tools for AI coding agents

Downloads

29

Readme

@mubit-ai/mcp

MCP server for MuBit, exposing the current control-plane memory and MAS surfaces as tools for coding agents.

This package now routes MuBit calls through the canonical JS SDK transport layer instead of maintaining its own raw HTTP client. That keeps endpoint/auth behavior aligned with the SDK while still exposing current MuBit-only tools.

Install

npm install -g @mubit-ai/mcp

Or run it directly:

npx @mubit-ai/mcp

Env vars

| Variable | Required | Default | Purpose | | --- | --- | --- | --- | | MUBIT_API_KEY | Yes | — | MuBit instance API key | | MUBIT_ENDPOINT | No | http://127.0.0.1:3000 | MuBit HTTP endpoint | | MUBIT_DEFAULT_SESSION_ID | No | default | Default run/session for tool calls | | MUBIT_DEFAULT_USER_ID | No | — | Default user scope |

MCP setup

Claude Code:

claude mcp add mubit-memory -- npx @mubit-ai/mcp

Generic mcp.json:

{
  "mcpServers": {
    "mubit-memory": {
      "command": "npx",
      "args": ["@mubit-ai/mcp"],
      "env": {
        "MUBIT_API_KEY": "mbt_...",
        "MUBIT_ENDPOINT": "http://127.0.0.1:3000",
        "MUBIT_DEFAULT_SESSION_ID": "coding-session"
      }
    }
  }
}

Tool surface

Core memory tools:

  • mubit_remember
  • mubit_recall
  • mubit_context
  • mubit_archive
  • mubit_dereference
  • mubit_reflect
  • mubit_lessons
  • mubit_forget
  • mubit_status

MAS and learning-loop tools:

  • mubit_checkpoint
  • mubit_outcome
  • mubit_strategies
  • mubit_register_agent
  • mubit_list_agents
  • mubit_handoff
  • mubit_feedback

Observability tools:

  • mubit_memory_health
  • mubit_diagnose

Current parameter coverage

mubit_remember supports current MuBit structured ingest fields:

  • intent: fact, observation, lesson, rule, handoff, feedback, tool_output, tool_input, trace, reflection, task_result, log, context
  • lesson_type, lesson_scope, lesson_importance
  • lesson_conditions
  • source
  • upsert_key
  • metadata

mubit_recall supports:

  • entry_types
  • include_working_memory
  • agent_id
  • session_id / user_id

mubit_context supports current context assembly controls:

  • mode: full, summary, sections
  • sections
  • entry_types
  • max_token_budget
  • agent_id

mubit_archive and mubit_dereference support exact-reference reuse:

  • artifact_kind
  • origin_agent_id
  • source_attempt_id
  • source_tool
  • labels
  • family
  • reference_id

Example flows

Checkpoint + reflection:

1. mubit_checkpoint
2. mubit_reflect
3. mubit_lessons

MAS coordination:

1. mubit_register_agent
2. mubit_handoff
3. mubit_feedback
4. mubit_context (sections=["handoffs","feedback"])

Failure diagnosis:

1. mubit_diagnose
2. mubit_memory_health
3. mubit_recall (entry_types=["lesson","rule"])

Development

cd integrations/mcp
npm install
npm test
npm run lint
npm run build

The published runtime entrypoint is dist/index.js, so dist/ must be regenerated whenever src/ changes.

License

Apache-2.0