Skip to main content
Glama
shinji0214

mcp-memo-server

by shinji0214

mcp-memo-server

A simple memo management MCP server that can be used from Claude Code. This is a sample implementation for learning purposes. It supports simple user authentication (user registration / login / session tokens), and memos are separated per user.

Provided tools

Tool name

Description

Arguments

register

Register a new user

username: string, password: string

login

Log in and obtain a session token

username: string, password: string

add_memo

Add a memo (login required)

token: string, text: string

list_memos

Get a list of your registered memos (login required)

token: string

delete_memo

Delete one of your memos by ID (login required)

token: string, id: number

Memos are saved to memos.json (in the project root), and user information is saved to users.json. Both are already in .gitignore.

Authentication mechanism (learning points)

  • Passwords are hashed with a salt using Node.js's built-in crypto.scrypt and stored in users.json (never stored in plain text).

  • A successful login issues a random session token. Tokens are managed only in the server process's memory, with a validity period of 2 hours, and they expire when the server restarts.

  • add_memo / list_memos / delete_memo validate the token and return an error if there is no valid session.

  • list_memos / delete_memo filter memos by the userId associated with the token, so other users' memos cannot be seen.

Note: This is a learning-oriented authentication implementation for stdio transport (local process). With stdio, anyone who can start the server already has execution permissions on the process, so this authentication is less about being a "real security boundary" and more about "separating multiple users" and "learning how to implement an authentication flow."

Related MCP server: memos-mcp-server

Setup

npm install
npm run build

Registering with Claude Code

After building, register it using the project's absolute path.

claude mcp add --transport stdio memo-server -- node /絶対パス/mcp-memo-server/build/index.js

To verify the registration:

claude mcp list

In a Claude Code session, typing /mcp lets you confirm that memo-server shows as connected.

Usage example (conversation within Claude Code)

> ユーザー名 taro、パスワード pass1234 で登録して
> taro でログインして
> 「Qiitaのネタを考える」というメモを追加して
> 今登録されているメモを一覧で見せて
> ID 1 のメモを削除して

Claude remembers the token issued at login within the conversation and automatically reuses it for subsequent add_memo / list_memos / delete_memo calls.

Manual verification

test-client.mjs is a simple script that sends JSON-RPC messages (initializetools/listtools/call) directly to a server launched as a child process and checks the responses.

node test-client.mjs

To remove

claude mcp remove memo-server
Install Server
F
license - not found
A
quality
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    B
    quality
    C
    maintenance
    This is an MCP server that enables agents to record, search, and retrieve memos using LowDB as a lightweight local database.
    11
    30
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    MCP server for creating, listing, updating, deleting memos, and managing attachments via the Memos API.
    24
    MIT

View all related MCP servers

Related MCP Connectors

  • An authenticated remote MCP server for user-owned devices and one-shot capability invocation.

  • MCP server for URL shortening and management

  • Shared, governed long-term memory for AI agents across tools and sessions via MCP and REST.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/shinji0214/mcp-memo-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server