productivity_note
Create structured notes with timestamps, titles, content, and tags to organize information and track productivity tasks.
Instructions
Create a structured note with timestamp
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | Note title | |
| content | Yes | Note content | |
| tags | No | Comma-separated tags |
Implementation Reference
- src/modules/productivity.ts:56-64 (handler)The handler implementation for the 'productivity_note' MCP tool, which creates a structured note string with title, date, and tags.
server.tool("productivity_note", "Create a structured note with timestamp", { title: z.string().describe("Note title"), content: z.string().describe("Note content"), tags: z.string().default("").describe("Comma-separated tags") }, async ({ title, content, tags }) => { const date = new Date().toISOString(); const tagList = tags ? tags.split(",").map(t => `#${t.trim()}`).join(" ") : ""; return { content: [{ type: "text", text: `---\ntitle: ${title}\ndate: ${date}\ntags: ${tagList}\n---\n\n# ${title}\n\n${content}\n\n---\n*Created: ${date}*` }] }; });