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.
createis 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 codebasedocs_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,angularversion: optional hint for version-aware documentation sourcesdetailLevel: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
/mcpby default
Open Source
src/tools: MCP tool registrationsrc/features/create: instruction generation for Memory Bank flowssrc/features/docsContext: documentation-context orchestrationsrc/adapters/appleDocs: Apple documentation lookup and extractionsrc/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
- Product website: https://www.morsa.io/
- Hosted instructions: https://mb-mcp.morsa.io/instructions
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 serverHOSTHost address for local developmentConfiguration
{"mcpServers": {"mb-mcp": {"command": "npx", "args": ["-y", "@morsa-dev/mb-mcp"]}}}