A Model Context Protocol (MCP) server for integrating Memos with AI assistants that support the MCP protocol, such as Claude.
Install Claude Desktop
Configure MCP Server
{
"mcpServers": {
"memos": {
"command": "npx",
"args": [
"memos-mcp-server"
],
"env": {
"MEMOS_URL": "https://your-memos-instance.com",
"MEMOS_API_KEY": "your_api_key"
}
}
}
}
Search for memos using keywords.
Parameters:
key_word
(string): The keywords to search for in memo contentstate
(string, optional): The state of memos to list (default: "NORMAL", can also be "ARCHIVED")Create a new memo.
Parameters:
content
(string): Memo contentvisibility
(string, optional): Visibility setting (default: "PRIVATE", options: "PUBLIC", "PROTECTED", "PRIVATE")tags
(array of strings, optional): List of tags for the memoRetrieve a specific memo by its ID.
Parameters:
name
(string): Memo name, format is memos/{id}
or just the ID numberGet current user information.
This project uses TypeScript with the FastMCP framework for MCP server development.
# Install dependencies
npm install
# Create .env file and set environment variables
cp .env.example .env
# Edit .env file with your Memos API details
npm run dev
npm run build
npm start
mcp-cli
The fastest way to test and debug your server is with fastmcp dev
:
npx fastmcp dev src/server.ts
This will run your server with mcp-cli
for testing and debugging your MCP server in the terminal.
MCP Inspector
You can also use the official MCP Inspector
to inspect your server with a Web UI:
npx fastmcp inspect src/server.ts
Contributions, issues and feature requests are welcome! Visit the issues page.
MIT License - Copyright (c) 2025 Stephen J. Li
Seamless access to top MCP servers powering the future of AI integration.