Skip to content
xNotePadAI

MCP Tools

13 tools available to any MCP-compatible AI agent. Each tool is a JSON-RPC method call to POST /api/mcp/

Read

list_notes

List all notes in the notebook. Returns titles, IDs, word counts, tags, and last modified dates.

Parameters:

None

Returns:

Array of note summaries (id, title, wordCount, tags, lastModified)

Use case:

"Show me all my notes" / "What's in my notebook?"

Write

create_note

Create a new note in the notebook. Agent-created notes are tagged agent-created automatically.

Parameters:

titlestring, requiredNote title
contentstring, requiredNote body (Markdown supported)

Use case:

"Save this research to my xNotePadAI" / "Create a meeting notes template"

Read

get_note

Get the full content of a specific note by ID. Confidential sections are excluded.

Parameters:

note_idstring, requiredThe note's unique ID

Use case:

"Read my Project Alpha note" / "What's in that meeting note?"

Write

update_note

Update the content or title of an existing note. Replaces the full content.

Parameters:

note_idstring, requiredTarget note ID
contentstring, requiredNew content
titlestring, optionalNew title

Use case:

"Add today's decisions to the project note" / "Append these action items"

Delete

delete_note

Delete a note. Only notes tagged agent-created can be deleted via the API (safety guard).

Parameters:

note_idstring, requiredNote to delete

Safety:

Human-created notes cannot be deleted by agents — only archived.

Read

search_notes

Semantic search across all notes using vector embeddings. Finds notes by meaning, not just keywords.

Parameters:

querystring, requiredNatural language search query

Use case:

"Find notes about machine learning" / "What did I write about the budget?"

AI

ask_notes

Ask a question and get an AI-generated answer synthesised from your notes. Powered by Llama 3.3 70B + RAG.

Parameters:

questionstring, requiredYour question in natural language

Use case:

"What did I decide about the project timeline?" / "Summarise my meeting notes from this week"

Read

get_versions

Retrieve version history for a specific note. Shows previous content snapshots with timestamps.

Parameters:

note_idstring, requiredNote to get history for

Use case:

"Show me the previous version of this note" / "What did this note say yesterday?"

Write

tag_note

Add tags to a note. Tags are merged with existing ones (no duplicates).

Parameters:

note_idstring, requiredTarget note
tagsarray, requiredTags to add (e.g. ["work", "urgent"])

Use case:

"Tag my meeting notes with 'work' and 'Q3'" / "Organise these notes by topic"

Write

link_notes

Create a [[wiki-link]] from a source note to a target note. Appends the link to the source note's content.

Parameters:

source_idstring, requiredNote to add the link in
target_titlestring, requiredTitle of the note to link to

Use case:

"Connect my project plan to the meeting notes" / "Link related research notes"

Write

merge_notes

Merge source note into target. Source content is appended to target, then source is deleted.

Parameters:

source_idstring, requiredNote to merge from (will be deleted)
target_idstring, requiredNote to merge into (receives content)

Use case:

"Merge these two meeting notes into one" / "Combine duplicate notes"

Write

archive_note

Archive a note. Hidden from main view but recoverable. Safer than delete for human-created notes.

Parameters:

note_idstring, requiredNote to archive

Use case:

"Archive old meeting notes" / "Clean up my notebook — archive anything older than 30 days"

Safety by Design

API Docs → Connect Agent → Privacy Centre →
MCP Overview MCP for Note Taking