MCP Notes Server Example
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
MCP Notes Server Example
The companion code for the Model Context Protocol course on the Mind & Matter YouTube channel, from Advanced AI Systems Research Corporation (AAIRC).
It's a small notebook server and client built with the official MCP Python SDK. The same code works over both the stateless 2026-07-28 protocol and the older initialize handshake.
The course is presented by Maya, an AI avatar.
Quick start
You need Python 3.10 or newer.
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
python notes_client.py auto # discover first, fall back to the handshake if needed
python notes_client.py legacy # force the initialize handshakeExpected output includes:
tools: ['search_notes', 'add_note', 'reindex']
add_note -> saved note 'stdio'
progress 1.0/3.0: pass 1 of 3
progress 2.0/3.0: pass 2 of 3
progress 3.0/3.0: pass 3 of 3
reindex -> index rebuilt
notes://mcp -> MCP connects AI apps to tools and data.Related MCP server: claude-bridge
What's here
File | What it shows | Course chapter |
| Tools, structured output, annotations, progress, a resource template and a prompt | 12 |
| A delete tool that asks the user to confirm | 12 |
| A client that launches the server over stdio and uses each feature | 13 |
| Answering the server's confirmation question | 12 |
| A small agent: Claude decides, the MCP server acts | 13 |
| Log every JSON-RPC message between client and server | 3, 13 |
| Sample message traces from both protocol versions | 3, 4, 7 |
See the protocol on the wire
python traced_client.py auto
python confirm_client.py auto # input_required, then a retry
python confirm_client.py legacy # a mid-call elicitation/create requestThese commands append to the wire_*.log files in this folder.
Run the agent
python agent.py --fake # offline, uses a scripted model
python agent.py "What do my notes say about MCP?" # needs Anthropic credentialsWhat was tested
With mcp 2.3.0 on Python 3.12, these all ran successfully: notes_client.py, confirm_client.py and traced_client.py in both auto and legacy modes, and agent.py --fake.
The live Claude mode of agent.py has not been run. The fake mode tests the MCP side and the tool conversion, but not a real model.
This is teaching code
Notes live in memory and disappear when the server stops. There's no authentication, and delete_note has no per-user access checks. Before using these patterns in production, add the input validation, access control and safeguards covered in the course's security chapter.
License
This server cannot be deployed
Maintenance
Related MCP Connectors
Persistent memory, hybrid search and a goal graph for AI agents, over stdio or remote HTTP.
Serve a folder of Markdown notes as an MCP server: hybrid search, reading, and sourced answers.
Search, read, and safely update Markdown notes in your connected Phasoric knowledge vaults.
Search and read your own notes: insights, drafts, book and podcast notes. Read-only, OAuth.
Related MCP Servers
- AlicenseAqualityBmaintenanceEnables users to create, retrieve, update, delete, and full-text search a local knowledge base of notes persisted in SQLite with FTS5, exposed over stdio or authenticated Streamable HTTP. It also surfaces recent/single-note resources and prompts for summarizing notes and drafting replies.5MIT
- AlicenseNot gradedqualityBmaintenanceExposes one SQLite-backed notes store over both stdio and an HTTPS/SSE endpoint, letting Claude Code, Claude Desktop, Claude web, and Claude mobile read and write the same shared state with full-text search. Provides write, read, search, and list tools so a note created on one surface is immediately visible from any other.814 npm4MIT
- AlicenseNot gradedqualityCmaintenanceEnables MCP clients to add, search, and delete persistent namespace-scoped notes through a local stdio server backed by a SQLite database. Namespaces isolate queries and content-derived IDs make repeated writes idempotent.MIT
- AlicenseNot gradedqualityBmaintenanceEnables capturing, searching, updating, and deleting project notes stored in MongoDB, along with read-only note and tag resources and a reusable prompt template for reviewing open notes. Serves these capabilities to MCP clients over stdio or a stateless Express HTTP endpoint.15 npmMIT