remnote-mcp-server AGENTS.md

A set of instructions for working on remnote-mcp-server, a project that lets AI agents and command-line tools control RemNote, a note-taking and knowledge-management app. It explains the server, its companion projects, and its available tools.

In plain words
What is it for?
Use it when modifying, reviewing, or extending the remnote-mcp-server repository, especially its RemNote actions, command-line client, or tool interface.
Why use it?
It helps developers understand how requests travel between the server, a RemNote plugin, and client programs. This reduces the risk of changing commands or data formats without checking related code.

Instructions file for CodexOpenCode

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/robert7/remnote-mcp-server/agents-md
Clone the repo
git clone --depth 1 https://github.com/robert7/remnote-mcp-server

Made for: Codex, OpenCode.

Per session 2,146 This file is loaded in full into every session.
When invoked 2,146 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.02146 $0.02146
Opus 5 $0.01073 $0.01073
Sonnet 5 $0.00429 $0.00429
Haiku 4.5 $0.00215 $0.00215

Measured 3d ago against content hash 80575937fa13, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

remnote-mcp-server AGENTS.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

AGENTS.md · 195 lines

How it starts

The opening of the file, as written. The whole thing — 195 lines — stays where its author put it; the contents beside it link to each section on GitHub.

AGENTS.md

This file is a map for AI agents working in remnote-mcp-server.

Repo Role

This repo exposes RemNote operations as MCP tools over Streamable HTTP, bridges those tool calls to the RemNote plugin over WebSocket, and ships bundled local client entrypoints.

AI agents (HTTP MCP) <-> HTTP server (:3001) <-> WebSocket bridge (:3002) <-> RemNote plugin
AI agents (stdio MCP) <-> remnote-mcp-stdio <-> HTTP server (:3001) <-> WebSocket bridge (:3002) <-> RemNote plugin
CLI commands <-> remnote-cli <-> HTTP server (:3001) <-> WebSocket bridge (:3002) <-> RemNote plugin

Companion Repos (Sibling Dirs)

Resolve from this repo root ($(pwd)):

  • $(pwd)/../remnote-mcp-bridge - source of bridge action contracts + plugin behavior

When changing action names, payloads, or response semantics, validate this repo and bridge docs. The old standalone remnote-cli repo is discontinued; maintained CLI code lives in this repo under src/remnote-cli/.

Contract Map (Current)

External MCP Tool Surface (17)

  • remnote_create_note
  • remnote_search
  • remnote_search_by_tag
  • remnote_read_note
  • remnote_get_media
  • remnote_list_children
  • remnote_move_note
  • remnote_update_note
  • remnote_set_document_status
  • remnote_insert_children
  • remnote_replace_children
  • remnote_update_tags
  • remnote_set_property
  • remnote_append_journal
  • remnote_read_table
  • remnote_get_playbook
  • remnote_status

Bundled CLI Command Surface

  • remnote-cli create
  • remnote-cli search
  • remnote-cli search-by-tag
  • remnote-cli read
  • remnote-cli get-media
  • remnote-cli list-children
  • remnote-cli move-note
  • remnote-cli update
  • remnote-cli set-document-status
  • remnote-cli insert-children
  • remnote-cli replace-children
  • remnote-cli update-tags
  • remnote-cli journal
  • remnote-cli status
  • remnote-cli read-table

Bridge Action Mapping and Compatibility

  • Most tools map to same conceptual bridge actions (create_note, search, search_by_tag, read_note, get_media_locator, list_children, move_note, update_note, set_document_status, insert_children, replace_children, update_tags, set_property, append_journal, read_table, get_status).
  • Bridge plugin sends WebSocket hello with plugin version.
  • remnote_status enriches output with server version + optional version_warning for compatibility drift.

Read the full file on GitHub · 195 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 195 lines · 2,146 tokens per session scan A 80575937fa13

Subscribe to this mod's changes

remnote-mcp-server AGENTS.md is an instructions file published in the GitHub repository robert7/remnote-mcp-server (26 stars, last pushed 11d ago), licensed MIT. It adds 2,146 tokens to every session, about $0.0107 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.