List Notes

List every note stored in the "advanced" sample MCP server as a formatted ASCII table. Use when the user says "list notes", "show all notes", "show my notes", or asks to see everything stored.

StaffinityAI Updated

File contents

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

  1. Read the notes://all resource.

  2. If the array is empty, tell the user there are no notes yet — do not print an empty table.

  3. Otherwise render the notes as a Markdown-fenced ASCII table with columns ID | Title | Body, one row per note, ordered by id ascending. 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      |
    +----+-----------+---------------+
    
  4. 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.

StaffinityAI/skill-mcp-sample/tree/main/.claude/skills/list-notes commit f5a3a2764c

Frequently asked questions

npx skillmds@latest add staffinityai/list-notes