Memos MCP Server
Memos MCP Server
A Model Context Protocol (MCP) server for Memos, enabling AI assistants to interact with your Memos instances.
Features
🔗 Multi-Instance Support: Connect to multiple Memos instances and query them individually or collectively
📝 Note Management: Create, read, update, and delete memos with full Markdown support
🏷️ Tag Management: List and manage tags across your memos
📎 Attachment Support: Upload and manage file attachments
🔖 Shortcuts: Create and manage saved filters
🔒 Secure Storage: API keys are stored locally in your configuration directory
🎚️ Tiered Tool Exposure: Control which tools are enabled to minimize context usage
Usage
With Claude Desktop
Add to your Claude Desktop configuration (~/Library/Application Support/Claude/claude_desktop_config.json):
{
"mcpServers": {
"memos": {
"command": "npx",
"args": ["-y", "@0xlimao/memos-mcp-server"]
}
}
}Tool Tiers
The server supports three tiers of tools to minimize context usage:
Tier | Flag | Description |
Tier 1 | (default) | Core note-taking tools |
Tier 2 |
| User advanced features (PAT, webhooks) |
Tier 3 |
| Instance administration |
All |
| All tools enabled |
Example configurations:
// Default: Only note-taking tools
{
"command": "npx",
"args": ["-y", "@0xlimao/memos-mcp-server"]
}
// With user advanced tools
{
"command": "npx",
"args": ["-y", "@0xlimao/memos-mcp-server", "--user-tools"]
}
// With admin tools
{
"command": "npx",
"args": ["-y", "@0xlimao/memos-mcp-server", "--admin-tools"]
}
// All tools
{
"command": "npx",
"args": ["-y", "@0xlimao/memos-mcp-server", "--full-tools"]
}Configuration File Location
Instance configurations are stored at:
macOS/Linux:
~/.config/memos-mcp/instances.jsonWindows:
%APPDATA%\memos-mcp\instances.json
Available Tools
Tier 1: Core Tools (Default)
Tool | Description |
| Connect to a new Memos instance |
| Remove a connected instance |
| List all connected instances |
| List memos with optional filtering |
| Get a specific memo by ID |
| Create a new memo |
| Update an existing memo |
| Delete a memo |
| List all tags |
| List saved shortcuts |
| Create a new shortcut |
| Update a shortcut |
| Delete a shortcut |
| List attachments |
| Upload a new attachment |
| Delete an attachment |
Tier 2: User Advanced Tools (--user-tools)
Tool | Description |
| List PATs for a user |
| Create a new PAT |
| Delete a PAT |
| List webhooks for a user |
| Create a new webhook |
| Update a webhook |
| Delete a webhook |
| Get user settings |
| Update user settings |
| List all user settings |
| List user notifications |
| Update a notification |
| Delete a notification |
Tier 3: Admin Tools (--admin-tools)
Tool | Description |
| List all users |
| Get a specific user by ID or username |
| Create a new user |
| Update a user |
| Delete a user |
| Get instance information |
| Get instance settings |
| Update instance settings |
| List activities |
| Get a specific activity |
Examples
Connecting to a Memos Instance
"Connect to my Memos instance at https://memos.example.com with the API key abc123"
The AI will use the connect_instance tool to save the connection:
Host:
https://memos.example.comName: A friendly name (e.g.,
personal,work)API Key: Your access token from Memos → Settings → My Account → Access Tokens
Searching Across All Instances
"Find all memos containing 'project ideas' in all my memos instances"
The server will query all connected instances and return matching results.
Querying a Specific Instance
"Create a new memo in my work-memos instance about the meeting today"
The server will create the memo only in the specified instance.
Using Filters
"List all archived memos with the #important tag"
The server supports CEL filter expressions for advanced queries.
Development
# Clone the repository
git clone https://github.com/flyinglimao/mcp-server-memos.git
cd mcp-server-memos
# Install dependencies
pnpm install
# Run in development mode
pnpm run dev
# Run tests
pnpm test
# Lint code
pnpm run lint
# Format code
pnpm run formatLicense
MIT License - see LICENSE for details.
Contributing
Contributions are welcome! Please read our contributing guidelines before submitting PRs.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/flyinglimao/mcp-server-memos'
If you have feedback or need assistance with the MCP directory API, please join our Discord server