mcp-server
by: AI-FOR-DEVS
mcp server
📌Overview
Purpose: The MCP server facilitates a structured note storage and summarization system.
Overview: This server enables users to store, access, and manipulate notes in a simple and efficient manner. It employs a custom URI scheme for note retrieval and provides functionality to summarize notes based on user preferences.
Key Features:
-
Note Storage System: Allows users to create and manage notes with a unique identifier, including metadata such as name and description, promoting organized and accessible information retrieval.
-
Summarization Prompt: Implements a prompt that generates concise summaries of all stored notes, with adjustable detail levels for different user needs, enhancing the usability and efficiency of information consumption.
-
Add Note Tool: Facilitates the addition of new notes to the server, ensuring updates are communicated to clients in real time for a seamless interaction experience.
pokemon-server MCP server
A MCP server project.
Components
Resources
The server implements a simple note storage system with:
- Custom note:// URI scheme for accessing individual notes
- Each note resource has a name, description, and text/plain mimetype
Prompts
The server provides a single prompt:
- summarize-notes: Creates summaries of all stored notes
- Optional "style" argument to control detail level (brief/detailed)
- Generates prompt combining all current notes with style preference
Tools
The server implements one tool:
- add-note: Adds a new note to the server
- Takes "name" and "content" as required string arguments
- Updates server state and notifies clients of resource changes
Configuration
TODO: Add configuration details specific to your implementation
Quickstart
Install
Claude Desktop
On MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json
On Windows: %APPDATA%/Claude/claude_desktop_config.json
Development/Unpublished Servers Configuration
"mcpServers": {
"pokemon-server": {
"command": "uv",
"args": [
"--directory",
"/Users/sebastianschlaak/AI-For-Devs-Videos/pokemon-server",
"run",
"pokemon-server"
]
}
}
Published Servers Configuration
"mcpServers": {
"pokemon-server": {
"command": "uvx",
"args": [
"pokemon-server"
]
}
}
Development
Building and Publishing
To prepare the package for distribution:
- Sync dependencies and update lockfile:
uv sync
- Build package distributions:
uv build
This will create source and wheel distributions in the dist/
directory.
- Publish to PyPI:
uv publish
Note: You'll need to set PyPI credentials via environment variables or command flags:
- Token:
--token
orUV_PUBLISH_TOKEN
- Or username/password:
--username
/UV_PUBLISH_USERNAME
and--password
/UV_PUBLISH_PASSWORD
Debugging
Since MCP servers run over stdio, debugging can be challenging. For the best debugging experience, we strongly recommend using the MCP Inspector.
You can launch the MCP Inspector via npm with this command:
npx @modelcontextprotocol/inspector uv --directory /Users/sebastianschlaak/AI-For-Devs-Videos/pokemon-server run pokemon-server
Upon launching, the Inspector will display a URL that you can access in your browser to begin debugging.