memos/server/router
Johnny 803d488a5f feat(mcp): refactor MCP server to standard protocol structure
- Replace PAT-only auth with optional auth supporting both PAT and JWT
  via auth.Authenticator.Authenticate(); unauthenticated requests see
  only public memos, matching REST API visibility semantics
- Inline auth middleware into mcp.go following fileserver pattern;
  remove auth_middleware.go
- Introduce memoJSON response type that correctly serialises store.Memo
  (including Payload.Tags and Payload.Property) without proto marshalling
- Add tools: list_memo_comments, create_memo_comment, list_tags
- Extend list_memos with state (NORMAL/ARCHIVED), order_by_pinned, and
  page parameters
- Extend update_memo with pinned and state parameters
- Extract #tags from content on create/update via regex to pre-populate
  Payload.Tags without requiring a full markdown service rebuild
- Add MCP Resources: memo://memos/{uid} template returns memo as
  Markdown with YAML frontmatter, allowing clients to read memos by URI
- Add MCP Prompts: capture (save a thought) and review (search + summarise)
2026-03-01 23:10:23 +08:00
..
api/v1 feat(webhook): dispatch webhook on memo comment creation 2026-03-01 20:11:23 +08:00
fileserver refactor: consolidate duplicated auth logic into auth package 2026-02-24 23:08:16 +08:00
frontend chore: upgrade Echo v4 to v5.0.3 2026-02-10 09:15:27 +08:00
mcp feat(mcp): refactor MCP server to standard protocol structure 2026-03-01 23:10:23 +08:00
rss chore: upgrade Echo v4 to v5.0.3 2026-02-10 09:15:27 +08:00