MCP Servers Template
@gupta-ujjwal
MCP Servers Template について
This repository provides a template for setting up Model Context Protocol (MCP) servers for local development.
基本情報
設定
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"mcp-server-templates": {
"command": "python",
"args": [
"-m",
"venv",
"venv"
]
}
}
}ツール
ツールは検出されませんでした
ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。
概要
What is MCP Servers Template?
MCP Servers Template is a starter repository for building Model Context Protocol (MCP) servers for local development. It includes three example implementations—Weather API, Calculator, and Notes—targeting developers who want to create or prototype MCP-compatible tools.
How to use MCP Servers Template?
Clone the repository, create a virtual environment (Python 3.10+ required), install dependencies with uv pip install -r requirements.txt, then run a server using mcp dev servers/<filename>.py. For VS Code integration, add the corresponding server configuration to your settings.json.
Key features of MCP Servers Template
- Weather API server with
get_alertsandget_forecasttools - Calculator server supporting basic, advanced, and trigonometric operations
- Notes server with full CRUD and keyword search functionality
- Template structure with separate server files and documentation
- Uses FastMCP library and UV package manager for fast setup
- Ready-to-use VS Code integration configuration
Use cases of MCP Servers Template
- Rapidly prototype a weather-data tool for an MCP-powered assistant
- Build a local calculator that exposes math and trig operations via MCP
- Create a persistent note‑taking application with file‑based storage
- Learn how to structure and run multiple MCP servers simultaneously
- Integrate custom MCP servers into VS Code for AI‑assisted workflows
FAQ from MCP Servers Template
What Python version is required?
Python 3.10 or higher is required. Instructions for installing the correct version on macOS, Linux, and Windows are provided in the README footnotes.
How do I run a specific server?
Use the command mcp dev servers/<filename>.py, replacing <filename> with weather, calculator, or notes.
What tools does the Weather API server provide?
It provides two tools: get_alerts to retrieve weather alerts for a US state, and get_forecast to get a weather forecast based on latitude and longitude.
How do I integrate these servers with VS Code?
Add an "mcp" entry to your settings.json with the server name, command (bash), and arguments that activate the virtual environment and run the server script, as shown in the README.
What dependencies are required besides Python?
The project requires the FastMCP library, UV package manager, and other packages listed in requirements.txt. UV is used for faster dependency installation.
「開発者ツール」の他のコンテンツ
test
harlancA simple,high performance and secure live media server in pure Rust (RTMP[cluster]/RTSP/WebRTC[whip/whep]/HTTP-FLV/HLS).🦀
mcp-excalidraw
yctimlinMCP server and Claude Code skill for Excalidraw — programmatic canvas toolkit to create, edit, and export diagrams via AI agents with real-time canvas sync.
MCP-Bridge
SecretiveShellA middleware to provide an openAI compatible endpoint that can call MCP tools
Unity MCP (Server + Plugin)
IvanMurzakAI Skills, MCP Tools, and CLI for Unity Engine. Full AI develop and test loop. Use cli for quick setup. Efficient token usage, advanced tools. Any C# method may be turned into a tool by a single line. Works with Claude Code, Gemini, Copilot, Cursor and any other absolutely for fr
JetBrains MCP Proxy Server
JetBrainsA model context protocol server to work with JetBrains IDEs: IntelliJ, PyCharm, WebStorm, etc. Also, works with Android Studio
コメント