Skip to content
xNotePadAI
📝 App

WebMCP — In-Browser Agent Tools

xNotePadAI exposes 5 tools directly inside the browser tab using the emerging WebMCP API. An AI agent running in your browser can discover and call these tools directly in the xNotePadAI app, where your notes live — no API key, no server round-trip, no configuration.

WebMCP Enabled badge

A self-declared badge: xNotePadAI exposes WebMCP tools to in-browser AI agents. WebMCP is a proposed standard with no formal certification — this is a factual capability statement, not an official seal.

🔐 Why this matters for encrypted notes

Your notes are client-side encrypted — the plaintext only ever exists in your browser, never on our servers. A remote MCP server can never see that content. But a WebMCP agent runs inside the browser, where your notes are already decrypted for you. So an agent can genuinely read and write real note content without any plaintext leaving your device. That's a guarantee a server-only note app cannot make.

WebMCP vs. the MCP server — two ways in

WebMCP (in the app) MCP server
Where it runsInside your browser tabRemote Cloudflare Worker
Entry pointdocument.modelContextPOST /api/mcp/
Sees encrypted notes?Yes — decrypted in-browserNo — server never has plaintext
AuthNone — you're already the userBearer token per tenant
Best forBrowser agents (future Chrome AI, Playwright)Desktop agents (Claude, Cursor, ChatGPT)
Tools5 core note actions13 full tools →

Note: tool names differ slightly between the two surfaces — e.g. tagging is add_tag in WebMCP and tag_note on the MCP server. Use the names listed for whichever surface you're on.

The 5 WebMCP tools

Write

create_note

Create a new note in the notebook. Returns the new note id and title.

Parameters:

titlestring, requiredNote title
contentstring, optionalNote body (markdown or plain text)

Returns:

{ id, title }

Read

search_notes

Search notes by a query string in title or content. Returns matching notes (id + title), up to 25.

Parameters:

querystring, requiredSearch text

Returns:

{ count, results: [{ id, title, updated_at }] }

Read

list_notes

List all notes (id, title, updated_at), newest first, up to 100.

Parameters:

None

Returns:

{ count, notes: [{ id, title, updated_at }] }

Read

get_note

Get the full content of a note by its id.

Parameters:

idstring, requiredNote id

Returns:

{ id, title, content, tags, updated_at }

Write

add_tag

Add a tag to a note by its id. Tags are de-duplicated automatically.

Parameters:

idstring, requiredNote id
tagstring, requiredTag to add

Returns:

{ id, tags }

Where the tools run: the 5 tools are registered on the xNotePadAI app itself — that's where your (decrypted, in-browser) notes are. This documentation page describes them; to actually discover and run them, open the app.

Try it in the console

WebMCP is experimental. Today you need Chrome Canary or Beta (146+) with the flag #enable-webmcp-testing set to Enabled, then relaunch. (A second flag, #devtools-webmcp-support, is only needed if you also want the DevTools WebMCP Inspector panel — it isn't required for the API itself.) Then open the app and run the following in its DevTools console — you're acting as the AI agent:

1. Discover the tools

await document.modelContext.getTools()

2. Create a note (agent side)

const tools = await document.modelContext.getTools();
const t = tools.find(x => x.name === "create_note");
await document.modelContext.executeTool(
  t,
  '{"title":"Made by an agent","content":"Hello from WebMCP"}'
);

Calling convention (current Chrome preview):

Who can use these tools

✅ Browser-automation agents — Playwright, Puppeteer, browser-use and similar can open the app and call the tools today (with the Canary/Beta flag).

⏳ The browser's built-in agent — once Chrome ships WebMCP to stable, an in-browser AI will call these tools automatically on whatever page you're on. Not in stable Chrome yet.

➡️ Desktop agents (Claude, Cursor, ChatGPT) — these connect to remote MCP servers, not a browser tab. For them, use the MCP server instead.

View the raw discovery manifest (/.well-known/webmcp) →
MCP Overview → Full 13 MCP Tools → API Docs → Privacy Centre →