List notes
This skill reads the advanced sample MCP server (defined in .mcp.json) and
prints every stored note as an ASCII table. It is a read-only companion to
capture-note.
The server exposes (tool/resource names are prefixed mcp__advanced__ /
addressed on server advanced when connected):
- Resource
notes://all— every stored note as a JSON array of{id, title, body}.
To list all notes
Read the
notes://allresource.If the array is empty, tell the user there are no notes yet — do not print an empty table.
Otherwise render the notes as a Markdown-fenced ASCII table with columns
ID | Title | Body, one row per note, ordered byidascending. Size each column to its widest cell so the borders line up. Example shape:+----+-----------+---------------+ | ID | Title | Body | +----+-----------+---------------+ | 1 | groceries | milk and eggs | | 2 | todo | buy milk | +----+-----------+---------------+Below the table, state the total count.
Note: the sample server keeps notes in memory and resets when it restarts, so the list reflects only the current process.