model-context-protocol
A custom server project built using the Model Context Protocol (MCP) in Python. This repository documents my learning, experiments, and development progress.
Documentation
model-context-protocol
A custom server project built using the Model Context Protocol (MCP) in Python. This repository implements a simple AI Sticky Notes application that demonstrates the core functionality of MCP.
What We've Built
This project implements a simple but functional MCP server that acts as an AI Sticky Notes application with the following features:
- Adding Notes: Users can add new notes to a persistent storage file
- Reading Notes: Users can retrieve all stored notes
- Accessing Latest Note: A resource endpoint to get only the most recent note
- Note Summarization: A prompt generator that asks an AI to summarize all current notes
Core Components
1. FastMCP Server: The main server implementation using the MCP framework
2. Tools: Function endpoints that perform specific actions
3. Resources: Data endpoints that provide specific information
4. Prompts: Template generators for AI interactions
What You Can Do With This Server
For Developers
- Extend Functionality: Add new tools, resources, or prompts to enhance the application
- Integrate with AI Models: Connect this server to LLMs to create an intelligent note-taking application
- Use as a Reference: Learn how to structure MCP applications for your own projects
- Build a UI: Create a frontend that interacts with these endpoints
For Users
- Manage Notes: Add and retrieve notes through the API
- Get AI Summaries: Use the prompt endpoint to generate summaries of your notes
- Access Latest Information: Quickly retrieve the most recent note
Getting Started
To run the server:
python main.pyThe server will start and expose endpoints for adding notes, reading notes, accessing the latest note, and generating summary prompts.
Future Enhancements
Potential improvements for this project:
- Add note deletion and editing capabilities
- Implement note categorization and tagging
- Create a web interface for easier interaction
- Add authentication for multi-user support
- Integrate with external AI services for automatic note analysis
Frequently asked questions
What is model-context-protocol?
model-context-protocol is A custom server project built using the Model Context Protocol (MCP) in Python. This repository documents my learning, experiments, and development progress.
How do I install model-context-protocol?
Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.
Is model-context-protocol open source?
Yes — it is hosted on GitHub at https://github.com/PyBhagya/model-context-protocol.
Related MCP tools
AWS MCP Servers — helping you get the most out of AWS, wherever you use MCP. Python-based implementation. Trusted by 6900+ developers.
A simple, secure MCP-to-OpenAPI proxy server Python-based implementation. Trusted by 3500+ developers. Trusted by 3500+ developers.
MCP server that interacts with Obsidian via the Obsidian rest API community plugin Python-based implementation. Trusted by 2300+ developers.
Default Configuration: MCP CLI defaults to using Ollama with the gpt-oss reasoning model for local, privacy-focused operation without requiring API keys.
Official MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
MCP server for long term agent memory with Mem0. Also useful as a template to get you started building your own MCP server with Python!
Run your own MCP server? See who uses it and what to fix.
Measure it with TrackMCP