agent-notes-mcp
Allows AI agents to search, list, read, create, append, replace, move, and batch-update local Markdown notes within configured root directories.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@agent-notes-mcpsearch my notes for 'MCP server setup' and show the newest result"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
agent-notes-mcp
agent-notes-mcp is a local stdio MCP server for safely searching and editing personal Markdown notes from MCP clients such as Codex.
It uses ordinary full-text search across filenames, YAML frontmatter, and the Markdown body. No vector DB or embedding model is required.
Main Features
Search, list, and read Markdown notes within the configured roots
Create, append to, replace, and move notes within writable roots
SHA-256-based conflict detection when replacing or moving notes
Safe batch updates of explicitly marked Markdown blocks
Arbitrary batch updates, update timestamp recording, and an activity log
No delete operations and no network listening
See the security model for access boundaries and update guarantees.
Related MCP server: Notes — local markdown knowledge base
Requirements
Python 3.14 or higher
Installation
To install from a local checkout:
uv tool install .To install from the GitHub main branch:
uv tool install git+https://github.com/mitszo/agent-notes-mcp.gitFor a specific commit or tag, append @<ref> to the end of the URL.
Configuration
Copy the example configuration and replace each path with a directory you manage.
mkdir -p ~/.config/agent-notes-mcp
cp config.example.toml ~/.config/agent-notes-mcp/config.tomlread_roots allows searching and reading. write_roots allows searching, reading, and editing, and must be placed inside a readable root. Start with a narrow writable root, such as inbox or memos.
Registering with Codex
Register the installed command as a stdio MCP server.
[mcp_servers.agent_notes]
command = "agent_notes"If using a source checkout, specify a config file explicitly.
[mcp_servers.agent_notes]
command = "uv"
args = ["run", "agent_notes", "--config", "/absolute/path/to/config.toml"]First 5 Minutes
Open a new thread in Codex and start by asking it to do the following:
agent_notes で設定済みの root を確認し、ノートを検索できるか試してください。Codex can use MCP tools such as list_roots, search_notes, and read_note. When you want to try writing, ask it to create a new test Markdown file inside the narrow write_roots that your configuration allows.
For handing notes across multiple development repositories, see the example Codex project context and the example skill that you can copy and adapt. This workflow is optional; the server does not impose a particular note layout or format.
Safe Updates
Before replacing or moving an existing note, read it and specify the returned sha256 as expected_sha256. If the content has changed in the meantime, the server rejects the update rather than overwriting it.
To limit which parts of a note may be updated, wrap those parts in managed blocks.
<!-- agent-notes:managed next-actions -->
## 次の行動
- 下書きを確認する
<!-- /agent-notes:managed next-actions -->update_managed_blocks updates only managed blocks whose structure could be verified. batch_update_notes validates every target update before it starts writing.
Development
uv sync --all-groups
uv run pytestLicense
About Development
This project uses Codex as a development aid. The maintainer reviews content and makes all decisions before anything is released.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityAmaintenanceEnables reading, writing, and searching a local markdown-based memory store using MCP tools, with safety checks and index consistency.MIT
- AlicenseNot gradedqualityAmaintenanceLocal markdown notes for any MCP client: ranked + semantic search, tags, todos, a wiki-link knowledge graph, daily notes, templates, and slash-command workflows. Pure-JS, local, no API keys.101MIT
- AlicenseAqualityAmaintenanceMCP server for managing a local, domain-agnostic knowledge base using Markdown notes with frontmatter. Enables AI agents to capture, read, search, link, and maintain notes with atomic writes and privacy controls.13MIT
- AlicenseAqualityAmaintenanceLocal MCP server for querying and maintaining a Markdown vault. Provides full-text search, backlinks, note retrieval, and optional confined write tools, without sending the whole vault to the client context.14Apache 2.0
Related MCP Connectors
Markdown-based note-taking with a hosted MCP server. Your notes serve you and your AI.
MCP-native open-source Notion alternative: read & write pages, databases and kanban boards.
Serve a folder of Markdown notes as an MCP server: hybrid search, reading, and sourced answers.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/mitszo/agent-notes-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server