memos-mcp-server
Version:
A Model Context Protocol (MCP) server for Memos API with search, create, retrieve, and tag listing capabilities.
97 lines (62 loc) • 2.46 kB
Markdown
# <專案名稱>
<專案描述,包含用途、目標、想法>
## ✨ Features
- <列點表示>
## 🚀 Installation
<這裡因為是 mcp server 所以寫有關 mcp server 安裝到 Claude 的方法,範例如下>
### Claude Desktop Setup
1. **Install Claude Desktop**
- Download [Claude Desktop](https://claude.ai/download)
- Ensure you have the latest version (Menu: Claude -> Check for Updates...)
2. **Configure MCP Server**
```json
{
"mcpServers": {
"joplin": {
"command": "/PATH/TO/UV/uv",
"args": [
"--directory",
"/PATH/TO/YOUR/PROJECT/joplin_mcp",
"run",
"src/mcp/joplin_mcp.py"
]
}
}
}
```
- Replace `/PATH/TO/UV/uv` with the absolute path to your uv installation
- Find the path with: `which uv`
- Example macOS: `/Users/username/.local/bin/uv`
- Example Windows: `C:\Users\username\AppData\Local\Microsoft\WindowsApps\uv.exe`
- Replace `/PATH/TO/YOUR/PROJECT/joplin_mcp` with the absolute path to your project
**Important**: Claude Desktop needs the full path to `uv` as it cannot access shell environment variables.
## 🛠️ Available Tools
<說明可用的 Available Tools,範例如下>
### search_notes
Search for notes in Joplin.
**Parameters:**
- `query` (string): Search query
- `limit` (int, optional): Maximum number of results (default: 100)
### get_note
Retrieve a specific note by its ID.
**Parameters:**
- `note_id` (string): ID of the note
## 🧪 Development
<開發要使用 typescript 的 fastmcp 開發,說明如下,另外要加上詳細使用方式要參考 [FastMCP](https://github.com/punkpeye/fastmcp)>
### Test with `mcp-cli`
The fastest way to test and debug your server is with `fastmcp dev`:
```bash
npx fastmcp dev server.js
npx fastmcp dev server.ts
```
This will run your server with [`mcp-cli`](https://github.com/wong2/mcp-cli) for testing and debugging your MCP server in the terminal.
### Inspect with `MCP Inspector`
Another way is to use the official [`MCP Inspector`](https://modelcontextprotocol.io/docs/tools/inspector) to inspect your server with a Web UI:
```bash
npx fastmcp inspect server.ts
```
## 🤝 Contributing
Contributions, issues and feature requests are welcome!
Visit the [issues page](https://github.com/stephen9412/memos-mcp-server/issues).
## 📄 License
[MIT License](LICENSE) - Copyright (c) 2025 Stephen J. Li