# 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.

- Skill: `staffinityai/list-notes` (Agent Skill)
- Install (CLI): `npx skillmds@latest add staffinityai/list-notes`
- Raw SKILL.md: https://api.skillmd.com/api/skills/staffinityai/list-notes/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: StaffinityAI (https://skillmd.com/u/staffinityai)
- Updated: 2026-09-22
- Page: https://skillmd.com/skills/staffinityai/list-notes

---


# 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.

