Memory Bank MCP Server

1

Add it to Claude Code

Run this in a terminal.

Run in terminal
claude mcp add mb-mcp -- npx -y @morsa-dev/mb-mcp
README.md

Public MCP server for generating Memory Bank baselines and documentation.

Memory Bank MCP

Public MCP server for Morsa.

Morsa is a governance layer for AI coding. This server is the public MCP entrypoint for generating Memory Bank baselines and returning supporting documentation context for supported project types.

This repository contains the open-source implementation of the server.

Quick Start

Connect your MCP client to the hosted server endpoint.

  • Hosted landing page: https://mb-mcp.morsa.io/
  • MCP endpoint: https://mb-mcp.morsa.io/mcp
  • Transport: Streamable HTTP
  • Setup instructions for Cursor / Codex / Claude: https://mb-mcp.morsa.io/instructions

If you are using a self-hosted deployment, point your client to that deployment URL.

Why Connect To This Server

Use this MCP if you want an agent to generate a project-specific Memory Bank without hand-writing the workflow yourself.

  • create is the main capability: it returns executable instructions for building a Memory Bank from real codebase patterns
  • it gives teams a consistent starting point for AI coding standards and project guidance
  • it exposes that workflow through a public MCP interface, so it can be used from external agents and clients

What This MCP Does

  • create: returns instructions for generating a project-specific Memory Bank from a real codebase
  • docs_context: returns documentation context that can be attached to supported flows when extra reference material is useful

Supported Scope

create is currently intended for these project types:

  • iOS
  • Angular
  • React
  • Next.js
  • Node.js

Current docs_context support is intentionally narrow:

  • stack: ios, angular
  • version: optional hint for version-aware documentation sources
  • detailLevel: compact, structured

Security / Safety

  • does not receive the user's code or repository contents directly
  • code inspection and file changes happen on the client-side coding agent, not on this server
  • does not index repositories
  • does not store user data or project contents
  • does not require auth
  • only returns instructions and documentation context

Technical Details

  • Node.js 22.9+
  • official MCP TypeScript SDK
  • stateless Streamable HTTP transport
  • JSON response mode enabled
  • public setup guide served at / and /instructions
  • MCP endpoint served at /mcp by default

Open Source

  • src/tools: MCP tool registration
  • src/features/create: instruction generation for Memory Bank flows
  • src/features/docsContext: documentation-context orchestration
  • src/adapters/appleDocs: Apple documentation lookup and extraction
  • src/adapters/angularDocs: Angular documentation lookup and extraction

Local Development

Show local setup

Local development is optional.

npm install
npm run dev

Checks:

npm run test
npm run typecheck
npm run lint
npm run build

Optional local .env:

PORT=3000

For localhost-only development:

HOST=127.0.0.1 npm run dev

License

MIT

Links

Tools (2)

createReturns executable instructions for building a Memory Bank from real codebase patterns.
docs_contextReturns documentation context that can be attached to supported flows when extra reference material is useful.

Environment Variables

PORTPort for local development server
HOSTHost address for local development

Configuration

claude_desktop_config.json
{"mcpServers": {"mb-mcp": {"command": "npx", "args": ["-y", "@morsa-dev/mb-mcp"]}}}

Try it

Generate instructions for creating a Memory Bank for my new iOS project.
I need documentation context for an Angular project to help with my current coding task.
Create a Memory Bank baseline for a React project.
Provide structured documentation context for iOS development.

Frequently Asked Questions

What are the key features of Memory Bank MCP?

Generates executable instructions for building project-specific Memory Banks. Provides structured documentation context for supported stacks like iOS and Angular. Stateless Streamable HTTP transport for efficient communication. Supports multiple project types including iOS, Angular, React, Next.js, and Node.js.

What can I use Memory Bank MCP for?

Standardizing AI coding workflows across a development team. Quickly generating project-specific documentation baselines for new codebases. Retrieving relevant framework documentation context directly within an AI coding agent. Establishing consistent AI coding standards for iOS and web projects.

How do I install Memory Bank MCP?

Install Memory Bank MCP by running: npx -y @morsa-dev/mb-mcp

What MCP clients work with Memory Bank MCP?

Memory Bank MCP works with any MCP-compatible client including Claude Desktop, Claude Code, Cursor, and other editors with MCP support.

Turn this server into reusable context

Keep Memory Bank MCP docs, env vars, and workflow notes in Conare so your agent carries them across sessions.

Need the old visual installer? Open Conare IDE.
Open Conare