MCP Server Sample
@antonioscapellato
MCP Server Sample について
MCP Server Sample
基本情報
設定
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"mcp-server-sample-antonioscapellato": {
"command": "uv",
"args": [
"run",
"mcp"
]
}
}
}ツール
ツールは検出されませんでした
ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。
概要
What is MCP Server Sample?
MCP Server Sample is an educational implementation of a Model Context Protocol (MCP) server. It demonstrates how to build a functional MCP server that integrates with various LLM clients.
How to use MCP Server Sample?
Install Python 3.10 or higher and the MCP SDK 1.2.0 or higher. Use uv or pip to add "mcp[cli]" to your project. Create a server script using FastMCP, then run it with mcp dev server.py for testing or mcp install server.py to use with Claude Desktop.
Key features of MCP Server Sample
- Demonstrates a fully functional MCP server with tools and resources
- Built with FastMCP for minimal boilerplate
- Provides a calculator tool (
add) and a dynamic greeting resource (greeting://{name}) - Easy integration with MCP‑compatible clients like Claude Desktop
- Serves as a reference for building custom MCP servers
Use cases of MCP Server Sample
- Learning how to create and deploy MCP servers
- Prototyping LLM integrations with custom tools and data sources
- Testing the MCP protocol in a safe, minimal environment
- Demonstrating the MCP client‑server architecture in workshops or tutorials
FAQ from MCP Server Sample
What is MCP?
MCP (Model Context Protocol) is an open protocol that standardizes how applications provide context to LLMs. It works like a USB‑C port for AI applications, connecting models to data sources and tools.
What are the system requirements?
Python 3.10 or higher, MCP SDK 1.2.0 or higher, and the uv package manager.
How do I install and run the server?
Add "mcp[cli]" to your project with uv add "mcp[cli]" or pip install "mcp[cli]". Write a server.py file, then run mcp dev server.py for interactive testing or mcp install server.py to register with Claude Desktop.
What capabilities does this server demonstrate?
It demonstrates two core MCP capabilities: a tool (add that sums two integers) and a resource (greeting://{name} that returns a personalized greeting).
How can I extend this server?
Add more @mcp.tool() or @mcp.resource() decorators with your own functions, following the patterns shown in the quickstart code.
「その他」の他のコンテンツ
Nginx UI
0xJackyYet another WebUI for Nginx
ICSS
chokcoco不止于 CSS
Production-ready MCP integrations for AI applications
Klavis-AIKlavis AI: MCP integration platforms that let AI agents use tools reliably at any scale
Unity MCP ✨
justinpbarnettUnity MCP acts as a bridge between AI assistants and your Unity Editor. Give your LLM tools to manage assets, control scenes, edit scripts, and automate tasks within Unity.
Awesome Mlops
visengerA curated list of references for MLOps
コメント