model-context-protocol
@PyBhagya
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.
基本情報
設定
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"model-context-protocol-pybhagya": {
"command": "python",
"args": [
"main.py"
]
}
}
}ツール
ツールは検出されませんでした
ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。
概要
What is model-context-protocol?
model-context-protocol is a Python MCP server that implements a simple AI Sticky Notes application. It demonstrates core Model Context Protocol concepts by providing tools, resources, and prompts for note management and AI summarization. It is intended for developers learning MCP or building note‑taking integrations with LLMs.
How to use model-context-protocol?
Run python main.py from the project root to start the server. The server exposes endpoints for adding notes (add_note tool), reading all notes (read_notes tool), accessing the latest note (notes://latest resource), and generating a prompt for note summarization (note_summary_prompt prompt). No additional configuration is required.
Key features of model-context-protocol
- Persistent note storage using a file‑based backend
- Add and retrieve notes via MCP tool endpoints
- Resource endpoint for the most recent note
- Prompt template for AI summarization of all notes
- Built on the FastMCP server framework in Python
Use cases of model-context-protocol
- Learning how to structure an MCP server with tools, resources, and prompts
- Building a simple note‑taking API that can be consumed by AI models
- Prototyping a backend for an AI‑assisted sticky notes application
- Extending the server with new functionality like editing or deletion
FAQ from model-context-protocol
What does model-context-protocol do?
It is a demonstration MCP server that manages sticky notes (add, read, get latest) and provides a prompt to ask an AI to summarize them.
How do I run model-context-protocol?
Run python main.py in the project directory. The server will start using the FastMCP framework.
What dependencies are required?
The README only specifies Python and the MCP framework (FastMCP). Other dependencies are not listed.
What transport protocol does the server use?
The README does not specify the transport (e.g., stdio or HTTP). The default FastMCP transport is likely used but not documented here.
Can I use model-context-protocol with any LLM?
Yes, the server is designed to be connected to LLMs via MCP. The note_summary_prompt generates a prompt that can be sent to any compatible AI.
「その他」の他のコンテンツ
Activepieces
activepiecesAI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
Production-ready MCP integrations for AI applications
Klavis-AIKlavis AI: MCP integration platforms that let AI agents use tools reliably at any scale
MCP Registry
modelcontextprotocolA community driven registry service for Model Context Protocol (MCP) servers.
MaxKB
1Panel-dev🔥 MaxKB is an open-source platform for building enterprise-grade agents. 强大易用的开源企业级智能体平台。
Nginx UI
0xJackyYet another WebUI for Nginx
コメント