Skip to content

feature request: read and write bases through the MCP server #1073

Open

Description

@andradejoelwp

I use the MCP server with AI every day. Scheduled daily plans and weekly wrap-ups read the vault, and meeting decisions get written back into notes. Converting a table into a base takes it out of that loop completely. The note now holds a [[link]], and nothing on the MCP side can follow it.

After converting five tables in one note, this is what I checked:

  • read_note returns the links and none of the rows.
  • search_by_title doesn't resolve the link to anything.
  • list_notes on the .base folder returns [].
  • search_text doesn't find values that are in the rows.
  • No tool reads or writes a base, and list_tasks doesn't see them either.

Why it's worth having

Bases are the structured part of the vault. That's exactly the data an assistant is best at summarising, filling in and checking, and right now it's the one part it can't see. For a vault used with any MCP client, converting a table makes things worse rather than better.

Shape that would fit

Named like the existing tools:

  • read_base(path): columns with their types, rows as JSON
  • update_base_rows(path, rows): write by row ID or key column
  • base content included in search_text
  • read_note returns embedded bases inline as markdown tables, or at least their paths, so a client knows where to look

A read-only first step (read_base plus search) would already cover most of it.

Related

  • [feature] Bases do not appear in search #857, bases don't appear in search. That's the same gap on the app side.
  • Possibly separate: list_notes with folder: "inbox" and a subpath returns [] for ordinary subfolders that hold notes, in a root-mode vault. One example is a folder with three notes that search_by_title and search_by_tag both find. Happy to file it on its own if it turns out to be unrelated.

Version: 2.84.0 desktop + self-hosted server, MCP

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions