sample-mcp-server MCP Server
@wudongjie
sample-mcp-server MCP Server について
An MCP server for testing
基本情報
設定
ツール
1Create new text notes
概要
What is sample-mcp-server?
sample-mcp-server is a TypeScript-based MCP (Model Context Protocol) server that implements a simple notes system. It demonstrates core MCP concepts by providing resources (text notes with URIs and metadata), tools (creating new notes), and prompts (generating summaries of notes). It is intended for use with MCP clients like Claude Desktop.
How to use sample-mcp-server?
Install dependencies with npm install, then build the server with npm run build. To use with Claude Desktop, add a server configuration entry in claude_desktop_config.json (on MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json; on Windows: %APPDATA%/Claude/claude_desktop_config.json) pointing the command to the built build/index.js file. For debugging, run npm run inspector to start the MCP Inspector.
Key features of sample-mcp-server
- List and access text notes via
note://URIs - Each note has a title, content, and metadata
- Plain text mime type for simple content access
create_notetool for creating new notes with title and contentsummarize_notesprompt that returns all notes as embedded resources- Stores notes in server state
Use cases of sample-mcp-server
- Create and manage text notes through an MCP client
- Generate structured summaries of all stored notes for LLM consumption
- Learn and demonstrate MCP server development patterns
FAQ from sample-mcp-server
What does sample-mcp-server do?
It implements a simple notes system as a Model Context Protocol server, providing resources, tools, and prompts for note creation, retrieval, and summarization.
How do I install sample-mcp-server for Claude Desktop?
Add the server configuration to your Claude Desktop config file with the command pointing to the built build/index.js. The exact file location depends on your operating system.
How do I debug sample-mcp-server?
Use the MCP Inspector by running npm run inspector in the server directory. This provides a URL for accessing debugging tools in your browser.
What are the dependencies for sample-mcp-server?
The server requires Node.js and npm to install dependencies (npm install) and build the TypeScript source (npm run build). It communicates over stdio.
Where are notes stored in sample-mcp-server?
Notes are stored in the server’s state, which is volatile and not persisted across restarts.
「その他」の他のコンテンツ
Awesome Mcp Servers
punkpeyeA collection of MCP servers.
Inbox Zero AI
elie222The world's best AI personal assistant for email. Open source app to help you reach inbox zero fast.
Servers
modelcontextprotocolModel Context Protocol Servers
Maestro
mobile-dev-incPainless E2E Automation for Mobile and Web
Mcp
browsermcpBrowser MCP is a Model Context Provider (MCP) server that allows AI applications to control your browser
コメント