Skip to main content
Glama
ejoliet

mcp-starter

by ejoliet

mcp-starter

A minimal MCP (Model Context Protocol) server that demonstrates the three core capability types — Tools, Resources, and Prompts — through a simple notes app.

Use this as a learning template or starting point for building your own MCP server.

What's inside

Capability

Name

What it does

Tool

add_note

Save a note with a title and body

Tool

list_notes

List all note IDs and titles

Tool

delete_note

Delete a note by ID

Resource

notes://all

Read full content of all notes as JSON

Prompt

summarize_notes

Ask Claude to summarize all notes as bullet points

Notes are persisted to notes.json alongside server.py.

Requirements

  • Python 3.12+

  • uv package manager

  • Claude Code (to register and use the server)

Setup

git clone <this-repo> ~/mcp-starter
cd ~/mcp-starter
uv sync                          # install dependencies

Register with Claude Code:

claude mcp add mcp-starter -- uv --directory ~/mcp-starter run server.py

Then start a new Claude Code session — the server will be available automatically.

Usage in Claude

Once registered, Claude can call tools directly:

"Add a note titled 'standup' with body 'review PR #42'"
"List my notes"
"Delete note #1"

Or read the resource and prompt via the MCP panel (/mcp).

CLI development & testing

See DEV_GUIDE.md for how to iterate on the server from the terminal without relying on Claude Code.

Quick test:

uv run python test_resource.py

Project structure

mcp-starter/
├── server.py          # MCP server implementation
├── test_resource.py   # CLI test harness
├── notes.json         # Runtime data (auto-created)
├── pyproject.toml     # Dependencies
└── DEV_GUIDE.md       # Developer iteration guide

Extending

Add a new tool in server.py:

  1. Append a types.Tool(...) entry in list_tools()

  2. Handle name == "your_tool" in call_tool()

  3. Test with test_resource.py before restarting Claude Code

Install Server
F
license - not found
A
quality
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

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/ejoliet/mcp-starter'

If you have feedback or need assistance with the MCP directory API, please join our Discord server