example-mcp-server
If you are the rightful owner of example-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
A Model Context Protocol server
The sample-mcp-server is a TypeScript-based Model Context Protocol (MCP) server that implements a simple notes system. It demonstrates core MCP concepts by providing resources representing text notes with URIs and metadata, tools for creating new notes, and prompts for generating summaries of notes. This server is designed to help developers understand and implement MCP concepts in their applications. It supports listing and accessing notes via `note://` URIs, creating new text notes, and generating summaries of all stored notes. The server is built with a focus on simplicity and ease of use, making it an ideal starting point for those new to MCP technology.
Features
- Resources: List and access notes via `note://` URIs, each note has a title, content, and metadata, with plain text mime type for simple content access.
- Tools: `create_note` tool allows creating new text notes by taking title and content as required parameters and storing the note in server state.
- Prompts: `summarize_notes` prompt generates a summary of all stored notes, including all note contents as embedded resources, and returns a structured prompt for LLM summarization.
Tools
create_note
Tool for creating new text notes with title and content.