note-mcp-server 2.2.0 → 2.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.js +4 -4
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -76,7 +76,7 @@ const APP_NAME = firstEnv("app_name", "APP_NAME", "notes_app_name", "NOTES_APP_N
76
76
  const server = new Server(
77
77
  {
78
78
  name: `note-mcp-server (${APP_NAME})`,
79
- version: "2.2.0",
79
+ version: "2.2.2",
80
80
  },
81
81
  {
82
82
  capabilities: {
@@ -147,7 +147,7 @@ server.setRequestHandler(ListToolsRequestSchema, async () => {
147
147
  {
148
148
  name: "create_note",
149
149
  description:
150
- `在 ${APP_NAME} 中新增筆記(POST:title、content)。內容請符合 AdminLTE 4 樣式,程式碼請標註語言並符合 PrismJS 格式。`,
150
+ `在 ${APP_NAME} 中新增筆記。內容請優先使用簡潔的 AdminLTE 4 card 結構,並避免與 blockquote 等標籤過度嵌套以確保行動端不破版。`,
151
151
  inputSchema: {
152
152
  type: "object",
153
153
  properties: {
@@ -159,7 +159,7 @@ server.setRequestHandler(ListToolsRequestSchema, async () => {
159
159
  },
160
160
  {
161
161
  name: "update_note",
162
- description: `在 ${APP_NAME} 中修改筆記(POST:c_id、title、content)。內容請符合 AdminLTE 4 樣式,亦支援以 append/prepend 追加內容。`,
162
+ description: `在 ${APP_NAME} 中修改筆記。內容請優先使用簡潔的 AdminLTE 4 card 結構,避免嵌套破版,支援以 append/prepend 追加內容。`,
163
163
  inputSchema: {
164
164
  type: "object",
165
165
  properties: {
@@ -186,7 +186,7 @@ server.setRequestHandler(ListToolsRequestSchema, async () => {
186
186
  {
187
187
  name: "upload_image",
188
188
  description:
189
- "上傳圖片(multipart:action=upload_image、image=檔案)。請傳 image_base64 與可選 filename。",
189
+ `將圖片上傳至 ${APP_NAME}。此工具會回傳圖片的永久網址(URL)。若用戶要求生成圖片及內容,請務必分兩步執行:1. 先呼叫此工具傳圖獲取網址;2. 將獲取的網址以 <img> 標籤補進筆記內容(create_note 或 update_note)中。`,
190
190
  inputSchema: {
191
191
  type: "object",
192
192
  properties: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "note-mcp-server",
3
- "version": "2.2.0",
3
+ "version": "2.2.2",
4
4
  "description": "MCP (stdio) server for Notes API v2 — list/read/write notes, upload images, Web Push from Cursor and compatible clients.",
5
5
  "main": "index.js",
6
6
  "bin": {