updated 2026-11-26·7 min read
MCP Setup Guide
Connect Claude Desktop, Cursor, OpenAI Codex CLI, and Antigravity to Noether over stdio MCP, with automatic vault discovery, stdio and in-app tool catalogs, prompts, and custom scripts.
How to connect AI assistants like Claude Desktop, Cursor, and Antigravity directly to your Noether notes and tasks.
1. What is MCP?
Model Context Protocol (MCP) is an open standard that allows AI agents to discover and call tools exposed by applications. Noether implements an in-app MCP tool registry (NativeMcpTools) plus a standalone stdio MCP server (bin/noether-mcp-server.cjs) for external clients.
2. Architecture & Tool Scopes
Noether exposes MCP tools in two environments:
- Standalone Stdio Server (
bin/noether-mcp-server.cjs): Used by external clients (Claude Desktop, Cursor, Codex, Antigravity). Exposes 16noether_*tools, 2 built-in vault readers (tasks_get_allandfsrs-spaced-repetition_get_due_cards), and any.noether/tools/*.jscustom tools in the active vault. - In-App Tool Registry (
appInstance.tools): Used inside the running desktop app. Registers 27 nativenoether_*tools (adding UI, property, tag, and PDF helpers) plus any tools registered by enabled extensions ({extensionId}_{toolName}).
3. In-App Agent Usage
If you are writing an extension or internal feature, you can call the in-app registry directly:
import { appInstance } from 'noether';
// List all available tools
const tools = appInstance.tools.getAllTools();
console.log(tools.map(t => t.name));
// Execute a tool
const result = await appInstance.tools.executeTool('noether_search_notes', { query: 'meeting notes' });
console.log(result.content);
// Get MCP-formatted schemas for LLM function calling
const schemas = appInstance.tools.getMcpToolSchemas();
4. Automatic Vault Discovery
Noether discovers all your Vaults automatically without requiring you to hardcode folder paths in your AI client settings.
When an AI agent connects to noether-mcp-server.cjs:
- It reads Noether’s saved config to attach to the currently active Vault.
- It can call
noether_list_vaultsto list known Vaults on your computer. - It can switch workspaces via
noether_switch_vaultwithout restarting the connection. - It can search across all workspaces via
noether_search_across_vaults.
5. External Agent Setup (Claude Desktop / Cursor / Antigravity)
Because Noether finds your active vault on its own, connecting external assistants only requires pointing them to bin/noether-mcp-server.cjs:
Claude Desktop
Add Noether to claude_desktop_config.json:
{
"mcpServers": {
"noether": {
"command": "node",
"args": ["<path-to-noether>/bin/noether-mcp-server.cjs"]
}
}
}
Cursor
Add to .cursor/mcp.json in your project or home directory:
{
"mcpServers": {
"noether": {
"command": "node",
"args": ["<path-to-noether>/bin/noether-mcp-server.cjs"]
}
}
}
OpenAI Codex CLI
Add to ~/.codex/config.toml:
[mcp_servers.noether]
command = "node"
args = ["<path-to-noether>/bin/noether-mcp-server.cjs"]
Or add via CLI:
codex mcp add noether -- node <path-to-noether>/bin/noether-mcp-server.cjs
Antigravity & Agent CLI
Noether tools are auto-discovered when the MCP server is configured in your agent workspace settings.
6. Available Core Tools
Tools marked Stdio + In-App work everywhere; tools marked In-App only are registered by NativeMcpTools inside the running desktop app.
| Tool | Scope | Description |
|---|---|---|
noether_search_notes | Stdio + In-App | Full-text or disk search across notes in the active Vault |
noether_read_note | Stdio + In-App | Read a note’s content and frontmatter |
noether_create_note | Stdio + In-App | Create (or upsert over stdio) a markdown note |
noether_update_note | Stdio + In-App | Update a note’s content |
noether_delete_note | Stdio + In-App | Move a note to .trash/ |
noether_list_all_notes | Stdio + In-App | List notes in the active Vault |
noether_get_backlinks | Stdio + In-App | Get incoming backlinks and references |
noether_list_vaults | Stdio + In-App | List all known Vaults |
noether_get_active_vault | Stdio + In-App | Get name, path, and stats for the active Vault |
noether_switch_vault | Stdio + In-App | Switch the active Vault workspace on the fly |
noether_search_across_vaults | Stdio + In-App | Search notes across all known Vaults |
noether_run_script | Stdio + In-App | Execute an ad-hoc script against the active Vault |
noether_create_custom_tool | Stdio + In-App | Persist a custom tool script into .noether/tools/ |
noether_list_custom_tools | Stdio + In-App | List saved custom tools in the active Vault |
noether_run_custom_tool | Stdio + In-App | Execute a saved custom tool by name |
noether_delete_custom_tool | Stdio + In-App | Remove a custom tool from .noether/tools/ |
noether_rename_note | In-App only | Rename a note and refactor wikilinks |
noether_get_note_properties | In-App only | Get frontmatter properties |
noether_set_note_properties | In-App only | Set frontmatter properties |
noether_toggle_bookmark | In-App only | Toggle bookmark status |
noether_get_tags | In-App only | List all tags with counts |
noether_get_documents_by_tag | In-App only | Find documents by tag |
noether_create_vault | In-App only | Create a new Vault workspace |
noether_toggle_sidebar | In-App only | Toggle left or right sidebar visibility |
noether_toggle_split_view | In-App only | Toggle split editor pane |
noether_insert_table | In-App only | Insert an interactive table grid |
noether_pdf_get_info | In-App only | Inspect attached PDF metadata |
7. Built-in MCP Prompts
| Prompt Name | Scope | Description | Arguments |
|---|---|---|---|
noether_system_instructions | Stdio + In-App | Explains Noether’s formatting, wikilinks, flashcards, tasks, and cascades | None over stdio; mode?: "concise" | "comprehensive" in-app |
noether_daily_review | In-App only | Pulls today’s journal note and workspace stats for a daily summary | date?: string (YYYY-MM-DD) |
noether_synthesize_topic | In-App only | Collects matching notes on a subject to build a synthesis prompt | topic: string (required) |
8. Extension Tools & Custom Registration
The standalone stdio server includes built-in shortcuts for tasks_get_all and fsrs-spaced-repetition_get_due_cards. Inside the desktop app, enabled extensions register additional tools automatically:
tasks_get_all: Retrieve pending and completed tasks across the vault.canvas_get_board: Retrieve canvas nodes and connection edges.journal_open_today: Open or create today’s journal note.fsrs-spaced-repetition_get_due_cards: Retrieve flashcards due for review (when the FSRS community extension is installed).noether-cascade_list: List sequential cascade books (when the Cascade community extension is installed).
Registering Tools in Extensions
Extensions register tools in their onload() method via the Noether SDK:
// Inside Extension.onload()
this.registerTool({
name: 'my_tool',
description: 'Calculates custom metrics for a document',
schema: z.object({
documentId: z.string().describe('Target document ID'),
}),
handler: async ({ documentId }) => {
return {
content: [{ type: 'text', text: 'Result computed successfully' }],
};
},
});
9. Dynamic Script Execution & Custom Agent Tools
External agents can also run ad-hoc JavaScript or save reusable custom tools under .noether/tools/.
Running Ad-Hoc Scripts (noether_run_script)
Agents can execute JavaScript against the active Vault inside a vm.Script sandbox:
{
"name": "noether_run_script",
"arguments": {
"script": "const notes = vault.scanNotes('Projects'); const tasks = vault.getTasks('pending'); return { projectsCount: notes.length, pendingTasks: tasks.length };"
}
}
The vm.Script sandbox exposes vault (also aliased on context.vault with readNote, writeNote, deleteNote, scanNotes, searchNotes, getBacklinks, getTasks, getDueCards, resolveNote, listVaults), console, path, Buffer, args, parseFrontmatter, and serializeFrontmatter.
Authoring Persistent Custom Tools (noether_create_custom_tool)
For recurring workflows, an agent can persist a tool module into <vault>/.noether/tools/<name>.js. Saved tool scripts execute via handler(args, context) where vault sits on context.vault:
{
"name": "noether_create_custom_tool",
"arguments": {
"name": "summarize_weekly_journal",
"description": "Scans all daily notes from the last 7 days and extracts key achievements and blockers",
"parameters": {
"type": "object",
"properties": {
"days": { "type": "number", "description": "Number of days to inspect (default: 7)" }
}
},
"script": "const days = Number(args.days) || 7; const notes = context.vault.scanNotes('Journal'); return { inspected: notes.length, days };"
}
}
Once created:
noether-mcp-server.cjsvalidates syntax withnew vm.Script(...)and saves<vault>/.noether/tools/<name>.js.- It registers
custom_<name>intools/list(loaded viarequire()when called). - The server emits
notifications/tools/list_changedso clients refresh their tool list. - Agents can call
noether_run_custom_toolimmediately, inspect tools withnoether_list_custom_tools, or delete them withnoether_delete_custom_tool.