gpitrella/memxus-remote-mcp

๐Ÿง  Knowledge & Memory
0 Views
0 Installs

๐Ÿ“‡ โ˜๏ธ - Shared context engine for devs and teams. Syncs GitHub, Notion, and saved decisions into reusable project context, so Claude, ChatGPT, Cursor, VS Code and Gemini start each session with the architecture and decisions the team already made. OAuth 2.1 PKCE, AES-256 encrypted, RFC 9728 compliant. https://mcp.memxus.com/mcp

Quick Install

One-Click IDE Configuration
claude_desktop_config.json
{
  "mcpServers": {
    "gpitrella-memxus-remote-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "gpitrella-memxus-remote-mcp"
      ]
    }
  }
}
Or

Using an AI coding agent (Claude Code, Cursor, etc.)? Copy a ready-made prompt that tells it to fetch the setup instructions and install this server for you.

Documentation Overview

Memxus โ€” Context Engineering

One context layer. Every AI.

Multiply your productivity by giving every AI the right context.

Memxus brings Context Engineering to your entire AI workflow.

Save your real decisions, preferences and work context once. Find them in seconds and give Claude, Cursor, ChatGPT, Gemini or any MCP client the exact context required for each task.

No repeated explanations. No starting from zero. Better answers, faster.

Glama MCP Server License: AGPL-3.0 Node 20+ Railway MCP Registry v1.2.1

Website ยท Docs ยท Connect your first AI


Watch the Memxus demo on YouTube

โ–ถ๏ธ Watch the demo on YouTube ยท Demo page


Memxus Context Engineering hub: save from anywhere, recall in any AI, control via Dashboard

remember a decision in Claude, recall it later in Cursor, get the exact answer back


The problem

AI tools are powerful, but their productivity drops when they do not have the right context.

Claude does not know what Cursor knows. Cursor does not know what ChatGPT knows. Your project decisions, preferences, architecture and workflow context get repeated across every tool and every new conversation.

That creates unnecessary work:

  • Re-explaining the same information
  • Searching across repositories, documents and conversations
  • Correcting answers based on missing context
  • Repeating technical and product decisions
  • Starting every AI task from zero

Memxus solves this through Context Engineering.

Save what matters once, find it in seconds and give every AI the exact context it needs for the task.

The result is less repetition, less back-and-forth, faster execution and better answers across your entire AI workflow.

Save a decision in Claude โ†’ recall it in Cursor โ†’ reuse it in ChatGPT.
Need deeper context? Connect GitHub and Notion whenever you are ready.


What is Memxus?

Memxus is a Context Engineering designed to multiply your productivity by giving every AI the right context.

It creates a shared context layer across Claude, Cursor, ChatGPT, Gemini and any MCP-compatible client.

The core workflow is simple:

  • remember what matters
  • recall it from any AI
  • find relevant context in seconds
  • give each AI the information it needs to produce a better answer

Connect once with OAuth and your decisions, preferences and work context become portable across your entire AI workflow โ€” without local setup, repeated explanations or copying and pasting between tools.

For deeper context, Memxus can also connect to real work sources such as GitHub and Notion. Repositories, documentation, commits, pull requests, issues and selected workspace pages become searchable alongside your manually saved context.

GitHub and Notion connectors are live in production. This deeper synchronization is optional: Memxus delivers value from the first saved decision.

Save once. Find it fast. Give every AI the right context. Work faster.


Why developers use Memxus

  • Save once, recall in every AI โ€” stop repeating your stack, decisions and preferences across Claude, Cursor and ChatGPT
  • Ask once โ€” no more hunting through 5 tools to remember why you chose X
  • Keep project architecture and stack context available across Claude, Cursor, and ChatGPT
  • Sync GitHub and Notion into unified project collections โ€” one context per repo
  • Stop pasting the same context into every new AI session
  • Share team context across agents and workflows
  • Build AI apps with persistent context through MCP or API

Real context from GitHub & Notion

Memxus reads your real work โ€” not generic memory snippets. Synced content lands in a unified collection per project: project:<slug>.

What gets synced

SourceContent indexed into context
GitHubRepos, READMEs, commits, pull requests, issues
NotionSelected workspace pages and docs
ManualDecisions, preferences, and notes via remember

How to connect

  1. Dashboard โ€” dashboard.memxus.com/integrations (GitHub App + Notion OAuth)
  2. From chat (MCP) โ€” connect_source โ†’ check_connect_status โ†’ list_syncable_items โ†’ set_sync_selection

How to use synced context

Call recall or get_context with collection=project:<slug> (or let semantic search find it). GitHub/Notion content is tagged and searchable alongside manual memories.

flowchart LR
  Save["๐Ÿ’พ Save โ€” from any AI"] --> Memxus["๐Ÿง  Memxus โ€” your persistent memory"] --> Recall["โœจ Recall anywhere โ€” Claude ยท Cursor ยท ChatGPT ยท Gemini"]

Start saving in one message

After you connect Memxus to any AI, paste a line like this โ€” Memxus calls remember and your context is available everywhere:

Remember this in Memxus: we use Postgres + pgvector for semantic search.

No GitHub/Notion sync needed to start. Sync later when you want deeper project context.

Optional โ€” sync your whole stack: GitHub repos, Notion pages, files, docs and decisions become recallable context too.

Context Engine connector tools (4): connect GitHub/Notion from chat via MCP. Production ships a 13-tool public manifest (9 core + 4 connect) with skill routing deferred.


Connect in 1 second, one click

URL:       https://mcp.memxus.com/mcp
Auth:      OAuth 2.1 (handled automatically)
Transport: Streamable HTTP

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "memxus": {
      "url": "https://mcp.memxus.com/mcp",
      "transport": "streamable-http"
    }
  }
}

Cursor / VS Code

{
  "mcp": {
    "servers": {
      "memxus": {
        "url": "https://mcp.memxus.com/mcp",
        "transport": "http"
      }
    }
  }
}

Or open directly in Glama Inspector โ†’
[https://glama.ai/mcp/inspector?url=https://mcp.memxus.com/mcp](https://glama.ai/mcp/inspector?url=https://mcp.memxus.com/mcp)

For marketplace reviewers: see REVIEWER.md for OAuth and Bearer token setup.


Supported platforms

PlatformIntegrationStatus
Claude Desktop / claude.aiRemote MCPโœ… Live
CursorRemote MCPโœ… Live
VS Code / Copilot MCPRemote MCPโœ… Live
ChatGPTCustom GPT / APIโœ… Live
GeminiMCP-compatible workflowโœ… Live
TelegramBot connectorโœ… Live
GitHubRepo sync (commits, PRs, issues, README)โœ… Live
NotionWorkspace page syncโœ… Live
DiscordBot connector๐Ÿ”œ Coming soon
SlackBot connector๐Ÿ”œ Coming soon
Any MCP-compatible clientRemote MCPโœ… Live

Available tools

Registry com.memxus/memxus v1.2.1 โ€” 9 core tools always available, plus 4 connector tools for GitHub/Notion sync from chat.

Core tools (9)

ToolDescription
rememberSave context โ€” manual input, decisions, or notes; optional project:<slug> collection
recallSemantic search across memories; GitHub/Notion synced content via project:<slug> or tags
get_contextFormatted context block from GitHub, Notion, and saved decisions for agent prompts
list_memoriesBrowse memories by collection, tags, type, or visibility
get_memoryRetrieve full content and metadata by memory ID
list_collectionsList scopes; GitHub/Notion syncs appear under project:<slug>
forgetDelete a memory permanently
memory_statsStats by type and collection
updatePatch or append existing memory content, tags, or type

Context Engine connector tools (4) โ€” v1.2.1

ToolDescription
connect_sourceStart GitHub App install or Notion OAuth from chat
list_syncable_itemsList repos or Notion pages available after connecting
set_sync_selectionChoose what to sync and trigger initial sync into project:<slug>
check_connect_statusPoll connection status after connect_source

Full tool reference: memxus.com/docs/mcp ยท Marketplace reviewers: REVIEWER.md


Architecture

GitHub App โ”€โ”€โ”
Notion OAuth โ”ผโ”€โ”€โ–บ sync (API + connector tools) โ”€โ”€โ–บ Supabase  project:<slug>
Manual MCP   โ”˜                                              โ”‚
                                                            โ”‚ pgvector
MCP Client (Claude, Cursor, etc.)                           โ”‚
        โ”‚                                                   โ”‚
        โ”‚  POST /mcp   Bearer aimem_*                       โ”‚
        โ–ผ                                                   โ–ผ
  mcp.memxus.com  โ† This repo (Railway) โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ–บ  Supabase (Postgres + pgvector)
        โ”‚
        โ–ผ
  Dash-AIMemory (Dashboard + integrations)

Sync runs server-side via dashboard or MCP connector tools โ€” no local files to manage.

Transport: Streamable HTTP (MCP 2.0)
Auth: OAuth 2.1 + PKCE + Dynamic Client Registration (RFC 9728)


Security

  • OAuth 2.1 + PKCE โ€” no passwords, no API keys to manage
  • Encrypted at rest (AES-256)
  • User-controlled memory โ€” view, edit and delete anytime from the dashboard
  • No local files or manual syncing
  • Pre-publication secrets audit passed: 2026-06-17
  • Memory is advisory context, not instruction authority โ€” see TRUST-POLICY.md for what is read automatically, what requires an explicit write, and what the memory layer never does.

OAuth flow

1. Client  โ†’  GET  /.well-known/oauth-authorization-server
2. Client  โ†’  GET  /oauth/authorize  โ†’  redirect to dashboard login
3. User signs in (Google) in the dashboard
4. Client  โ†’  POST /oauth/token  (PKCE)  โ†’  aimem_* bearer token
5. Client  โ†’  POST /mcp  Authorization: Bearer aimem_*

Dynamic Client Registration is supported โ€” clients register automatically on first connect.


Self-hosting

Prerequisites

  • Node 20+
  • Supabase project (run supabase/migration.sql after the dashboard migration)
  • Railway account (or any Node host)

Environment variables

cp .env.example .env
VariableDescription
MCP_PUBLIC_URLPublic URL of this server (no trailing slash)
DASHBOARD_URLDash-AIMemory URL for login redirect
SUPABASE_URLSupabase project URL
SUPABASE_SERVICE_ROLE_KEYSupabase service role key
OAUTH_CLIENT_IDOAuth client ID
ALLOWED_REDIRECT_URISComma-separated allowed redirect URIs
CORS_ORIGINSComma-separated allowed CORS origins
OPENAI_API_KEY(Optional) Vector search embeddings

Run locally

npm install
npm run dev       # tsx watch
npm run build     # tsc โ†’ dist/
npm start         # node dist/index.js

Deploy to Railway

Set all variables under Settings โ†’ Variables (never commit .env).
MCP_PUBLIC_URL = your Railway networking URL (no trailing /mcp).
Health check endpoint: /health (configured in [railway.toml](railway.toml)).

Note: Node 20 on Railway โ€” Supabase Realtime needs the ws package (configured in src/lib/supabase.ts).
Optional: set RAILPACK_NODE_VERSION=22 for native WebSocket support.


Development

npm install
npm run dev        # tsx watch
npm run lint       # ESLint
npm run typecheck  # tsc --noEmit
npm run build      # compile โ†’ dist/
npm start          # node dist/index.js

Marketplace reviewers: REVIEWER.md ยท MCP docs: memxus.com/docs/mcp ยท Registry: com.memxus/memxus v1.2.1


Releases

  1. Add entries under ## [Unreleased] in [CHANGELOG.md](CHANGELOG.md)
  2. Bump version in package.json, server.json, src/mcp/server.ts, and src/mcp/public-discovery.ts
  3. Move the changelog section to ## [X.Y.Z] - YYYY-MM-DD
  4. Commit, tag, and push:
git tag -a vX.Y.Z -m "Memxus MCP vX.Y.Z"
git push origin vX.Y.Z

Pushing a v* tag triggers [.github/workflows/release.yml](.github/workflows/release.yml) โ€” quality gate + GitHub Release with server.json attached.


Secrets audit

Run from the repo root before making the repository public.
Last audit: 2026-06-17 โ€” PASSED

# 1. Verify .env was never committed
git log --all --full-history -- .env .env.local .env.production

# 2. Check for .env* files added in history
git log --all --oneline --diff-filter=A -- "*.env*"

# 3. Grep current tree for dangerous patterns (exclude .example)
git grep -rn -E "(service_role|anon_key|sk-[a-zA-Z0-9]{20,}|aimem_[a-zA-Z0-9]+|eyJ[a-zA-Z0-9_-]{20,})" \
  -- ":(exclude)*.example" ":(exclude)CHANGELOG*"

# 4. Search full git history for leaked keys
git log --all -p --follow -S "service_role" -- . | head -100
git log --all -p --follow -S "SUPABASE_SERVICE_ROLE_KEY=" -- . | head -100
CheckExpected
Commands 1โ€“2No .env commits (only .env.example in initial commit)
Command 3Only placeholders (aimem_YOUR_KEY), test fixtures, SQL comments
Command 4No real key values in diffs

If commands 1 or 4 find real secrets, rotate keys immediately and run git filter-repo --path .env --invert-paths before publishing.


Roadmap

  • GitHub connector (repo sync โ†’ project:<slug>)
  • Notion connector (workspace page sync)
  • MCP Registry v1.2.0 (com.memxus/memxus โ€” AI Context Engine)
  • Context Engine connector tools (GitHub/Notion from chat)
  • Skill routing (deferred)
  • Discord bot connector
  • Slack bot connector
  • Refresh tokens
  • Multi-client OAuth UX
  • npm publish

License

Licensed under the GNU Affero General Public License v3.0 (AGPL-3.0).

You can use, modify, and distribute this code freely. If you use it to run a network service (SaaS), you must publish your source code under the same license.

ยฉ 2026 Gabriel Pitrella ยท memxus.com

Memxus Remote MCP Server
Copyright (C) 2026 Gabriel Pitrella - Memxus

Related MCP Servers

modelcontextprotocol/server-memoryVerified

๐Ÿ“‡ ๐Ÿ  - Knowledge graph-based persistent memory system for maintaining context

๐Ÿง  Knowledge & Memory2 views
0xshellming/mcp-summarizer

๐Ÿ“• โ˜๏ธ - AI Summarization MCP Server, Support for multiple content types: Plain text, Web pages, PDF documents, EPUB books, HTML content

๐Ÿง  Knowledge & Memory0 views
20alexl/claude-engram

๐Ÿ ๐Ÿ  - Persistent memory and session intelligence for Claude Code. Auto-tracks mistakes, decisions, and context via hooks. Mines session history for patterns and cross-session search. Loop detection, pre-edit warnings, context compaction survival. Runs locally with Ollama.

๐Ÿง  Knowledge & Memory0 views
a2cr/a2cr

๐Ÿ โ˜๏ธ ๐Ÿ  ๐ŸŽ ๐ŸชŸ ๐Ÿง - MCP server for AI-agent handoffs. Saves client-encrypted WorkBaton checkpoints and WorkStash notes so Codex, Claude Code, Roo Code, and other MCP clients can resume work without passing full chat history.

๐Ÿง  Knowledge & Memory0 views

Engagement

Views
0
Installs
0
Upvotes
0

Views and upvotes are unique per visitor network (hashed IP). Installs count copy actions.

Status

Health: Not checked yet

We have not completed a health check for this listing yet.

No check timestamp yet.

Unclaimed listing (imported or pending owner verification). Claim it โ†’
โ˜… Spotlight Slot

Feature Your MCP Server

Get maximum visibility for your server across our directory, search results, and detail pages.

Spotlight Your Server

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to get the verified badge and attach your website.

Claim this listing

Promote this listing

Optional paid placement. Free listings stay free forever.

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.