Notes MCP
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., "@Notes MCPlist my notes and show the full content of the one about groceries"
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.
MCP Eval Demo
A worked example of using evaluations to verify that an LLM agent can actually use an MCP server effectively — not just that the server's code is correct.
Unit tests answer "does delete_note delete a note?" They cannot answer the questions
that decide whether an MCP server is any good in practice:
Does the agent find the right note when the user describes it in words instead of by id?
Does it notice that a listing preview was truncated, or does it answer from half a note?
Does it realize
update_noteoverwrites, or does it silently destroy the user's content when asked to "add a line to my grocery list"?Does it recover from an error message, or give up?
Those are properties of the tool surface — names, descriptions, schemas, result shapes, error text — and the only way to check them is to run a real agent against the server and grade what it did. That is what this repo is for.
Status
The MCP server, its infrastructure, and the eval harness are all in place.
Related MCP server: MCP Notepad Server
The server under test: Notes MCP
An in-memory notebook. State lives in the server process and is discarded on exit, so every eval run starts from the same known corpus (see seed.py).
Tool | Behaviour hint | What it does |
| write | Creates a note; titles must be unique case-insensitively. |
| read-only | Returns one note's full content, by id. |
| read-only | Lists notes newest-updated first, as truncated previews, with an optional substring |
| destructive | Overwrites the title and/or content of a note. |
| destructive | Permanently removes a note. |
Several design choices exist specifically to give the evals something to catch:
Ids, not titles. Every mutating tool takes a
note_id, so an agent asked to change "my grocery list" must look the id up first. This is where agents commonly guess.Truncated previews.
list_notesreturns only the first 120 characters of each note, flagged withcontent_truncatedandcontent_length. An agent that answers a content question straight from a listing gets it wrong; a good one callsget_note.Replace, not append.
update_noteoverwrites. "Add eggs to my grocery list" is therefore a read-modify-write, and an agent that skips the read destroys data.Errors that teach. Every failure names the offending value and points at the tool that would resolve it, so an agent has a path forward rather than a dead end.
Layout
src/notes_mcp/
models.py Pydantic models — also the tool input/output schemas the agent sees
store.py In-memory storage and its error types
seed.py Fixed corpus: stable ids and timestamps, so evals are reproducible
server.py MCP tool definitions, descriptions, and annotations
cli.py `notes-mcp` entry point
evals/
agent.py Builds the pydantic-ai agent under test + local trace capture
task.py One agent turn against a freshly seeded server — the thing evaluated
evaluators.py Custom pydantic-evals evaluators (tool-not-called, argument-contains)
cases.yaml The dataset itself: cases that probe specific MCP misuse patterns
cases.py Loads cases.yaml — registers the custom evaluators, picks the judge model
__main__.py `python -m evals` — runs the dataset against a live model
tests/
test_store.py Unit tests for the storage layer
test_server.py Protocol-level tests through a real MCP client session
scripts/
lint.sh Ruff + pyright + format check
test.sh Unit + protocol tests (fast, free)
evals.sh Agent-behaviour evals against a live model (slow, costs money)The tool descriptions are module-level constants in server.py rather than inline docstrings. Description wording is the main thing you tune in response to a failing eval, and keeping it in one place makes those diffs readable.
Getting started
Requires uv and Python 3.12 (pinned in .python-version).
uv sync # create .venv and install everything
uv run scripts/test.sh # unit + protocol tests
uv run scripts/lint.sh # ruff check, pyright (strict), format check
uv run pre-commit install # optional: run the same checks on commitRunning the server
uv run notes-mcp # stdio, seeded with the sample notes
uv run notes-mcp --empty # stdio, no notes
uv run notes-mcp --transport streamable-http.mcp.json registers the stdio server for this project, so an MCP host
launched from this directory — Claude Code, for instance — picks up the notes server
automatically and you can drive it by hand.
To read the tool surface an agent would see — the thing these evals are really about — without starting an agent at all:
uv run fastmcp list .mcp.json # names, signatures, descriptions
uv run fastmcp list .mcp.json --input-schema # ...with the full JSON schemas
npx @modelcontextprotocol/inspector uv run notes-mcp # MCP Inspector, for clicking aroundOn the
mcpversion: the server is built on the standalone FastMCP library rather than the copy that used to ship inside themcpSDK asmcp.server.fastmcp— mcp 2.0 removed that module. FastMCP owns whichmcpversion it needs (3.x resolves mcp 1.x), so pyproject.toml has no hand-writtenmcpbound. The eval harness arrives at the same library from the other side:pydantic-ai's MCP client is built on FastMCP'sClient. Both halves of this repo therefore agree on a version by construction rather than by a pin someone has to maintain. FastMCP 4 is the step that moves both to mcp 2.x, which is why the dependency is capped below it.
Testing approach
Two pytest layers, run by scripts/test.sh:
test_store.pycovers storage semantics — uniqueness, sort order, limits, timestamps. Fast, exhaustive, no protocol involved.test_server.pydrives the server through an in-process MCP client session (fastmcp.Client, over FastMCP's in-memory transport), so it asserts on what an agent actually receives: the tool list, JSON schemas, behaviour annotations, structured results, and error text. The protocol is real; only the subprocess and socket are not.
Async tests use the anyio pytest plugin rather than pytest-asyncio, because the MCP
client holds a cancel scope open for the life of the session and anyio runs fixture setup
and teardown in the same task.
A third kind of check — the agent-behaviour evals — calls a live model and costs money, so it isn't part of the pytest suite at all; it has its own runner and script, described next.
The eval harness
evals/ builds a minimal pydantic-ai agent — a
generic one-line system prompt, no few-shot examples, no special-cased instructions — and
wires its only tools to an in-process Notes MCP server via pydantic_ai.mcp.MCPToolset
(agent.py). The system prompt is deliberately bare: these evals exist to
check whether the server's own tool names, descriptions, and schemas are enough to guide
correct behaviour, not whether prompt engineering can paper over a weak one.
evals/ lives at the top level rather than under src/: it's dev tooling for this repo,
not part of the notes-mcp package anyone would install.
pydantic_evals runs that agent over a Dataset of
Cases, each targeting one of the four behaviours from the top of this file:
Case | Checks |
| Asked to delete "my grocery list note," the agent calls |
| A question whose answer is truncated out of the |
| "Add crackers to my grocery list" must read the full note first — the |
| Creating a note whose title already exists must not silently drop the new content or claim a duplicate was created. |
| A request to delete a note that doesn't exist must not result in a |
| A sanity-check happy path. |
The cases live in cases.yaml rather than in Python — they're data, so
adding a case or rewording a rubric doesn't touch code. cases.py is only
the loader: it hands the custom evaluators to Dataset.from_file (a YAML file can only
name an evaluator the loader registers) and sets the judge model. The YAML's
yaml-language-server header points at cases_schema.json, so an
editor can complete and validate evaluator names and their arguments; regenerate it after
adding or changing a custom evaluator:
uv run python -c "from evals.cases import write_json_schema; print(write_json_schema())"Evaluators combine pydantic-evals' built-ins (ToolCorrectness, Contains, MaxToolCalls,
LLMJudge for the two cases with more than one valid recovery) with two small custom ones
in evaluators.py: ToolNotCalled (assert a tool was never invoked —
there's no built-in negative check) and ArgumentContains (substring checks on a tool
argument, for "the old content must survive" cases where an LLM's exact wording can't be
pinned down with an equality or subset-dict match). Both, like the built-ins, read
tool-call spans that Agent.instrument_all() plus a local (send_to_logfire=False)
logfire.configure() capture — see configure_instrumentation() in
agent.py.
__main__.py runs the dataset, prints a full report, and exits
non-zero if anything failed — a task error, a crashed evaluator, or a failed assertion.
Run it with:
uv run scripts/evals.shConfiguring a provider
NOTES_MCP_EVAL_MODEL picks both the provider and model, as a pydantic-ai
provider:model string, and defaults to anthropic:claude-haiku-4-5-20251001. Copy
.env.example to .env and fill in the section for whichever of these
three you're using — scripts/evals.sh loads .env automatically (via python-dotenv;
it never overrides a variable already set in your shell) and .env is gitignored:
Anthropic API (default) — needs
ANTHROPIC_API_KEY.OpenAI —
NOTES_MCP_EVAL_MODEL=openai:gpt-5andOPENAI_API_KEY.Amazon Bedrock —
NOTES_MCP_EVAL_MODEL=bedrock:<bedrock-model-id>. Authenticates through boto3's normal credential chain, so there's nothing eval-specific to configure beyond the standard AWS SDK variables: setAWS_PROFILEto use a named profile (AWS_DEFAULT_REGIONtoo, if that profile doesn't already set a region — note it must beAWS_DEFAULT_REGION, notAWS_REGION, which boto3's region resolution doesn't check), or leave both unset to use your default profile/region.
No code branches on the provider — eval_model()'s string is handed straight to both
the agent and LLMJudge, and pydantic-ai's infer_model resolves the right client and
credentials for whichever provider prefix it sees.
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
- -licenseNot gradedqualityNot gradedmaintenanceA simple notes system that allows creating, storing, and accessing text notes through MCP resources and tools, with built-in prompt support for generating summaries of stored notes.
- FlicenseBqualityDmaintenanceA learning-focused MCP server that demonstrates core MCP concepts through a simple notepad application, enabling users to create, update, delete, and search notes while exploring tools, resources, and prompts functionality.4
- FlicenseNot gradedqualityDmaintenanceProvides MCP tools to create and retrieve notes stored in memory.
- FlicenseAqualityDmaintenanceA minimal MCP server demonstrating tools, resources, and prompts for managing notes, with a simple notes app that supports adding, listing, deleting notes and summarizing them.31
Related MCP Connectors
Cross-session, cross-device memory for your agent: remember and recall notes. No key to start.
Shared, governed long-term memory for AI agents across tools and sessions via MCP and REST.
AI access to your aNotepad online notes: read, search, write, and organize via 22 tools.
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/jasongilman/mcp-eval-demo'
If you have feedback or need assistance with the MCP directory API, please join our Discord server