MCP Tool Server Template
@mibexx
关于 MCP Tool Server Template
暂无概览
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"mbxai-mcp-server-template": {
"command": "uv",
"args": [
"venv"
]
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is MCP Tool Server Template?
It is a cookiecutter template for scaffolding Model Context Protocol (MCP) tool servers using FastAPI, uv, and Docker. It is intended for developers who want to quickly set up an MCP server with modern Python tooling and a sample weather tool.
How to use MCP Tool Server Template?
Use cookiecutter to generate a new project: cookiecutter gh:mibexx/mbxai-mcp-server-template and answer the prompts for project name, slug, etc. Then navigate into the generated directory and run uv run service to start the server locally, or use docker-compose up -d for containerized execution.
Key features of MCP Tool Server Template
- FastAPI-based REST server with MCP tool support
- Sample weather tool for quick prototyping
- Modern Python tooling: uv, ruff, mypy
- Type hints and comprehensive testing
- Docker and Docker Compose support
- Kubernetes deployment configuration
Use cases of MCP Tool Server Template
- Quickly bootstrap a new MCP tool server project
- Prototype MCP tools with a built-in weather example
- Develop and test MCP servers using modern Python stack
- Containerize and deploy MCP servers via Docker or Kubernetes
- Provide a consistent project structure for team collaboration
FAQ from MCP Tool Server Template
What dependencies are required to use this template?
The template requires Python 3.12 or higher, the uv package manager, and cookiecutter version 2.5.0 or higher.
How do I create a new MCP server project?
Run cookiecutter gh:mibexx/mbxai-mcp-server-template and follow the interactive prompts to configure your project.
How can I run the generated server locally?
Navigate into the generated project directory, create a virtual environment with uv venv, activate it, install the package with uv pip install -e ., then run uv run service.
What deployment options are provided?
The template includes Docker and Docker Compose configurations for containerized deployment, as well as Kubernetes deployment files in the kubernetes/ directory.
Is there a sample tool included to get started?
Yes, the template includes a sample weather tool implementation located at src/your_package/project/weather.py.
开发工具 分类下的更多 MCP 服务器
Smithery CLI
smithery-aiInstall, manage and develop MCP servers and skills for agents
Golf
golf-mcpProduction-Ready MCP Server Framework • Build, deploy & scale secure AI agent infrastructure • Includes Auth, Observability, Debugger, Telemetry & Runtime • Run real-world MCPs powering AI Agents
OpenSumi
opensumiA framework helps you quickly build AI Native IDE products. MCP Client, supports Model Context Protocol (MCP) tools via MCP server.
MCP-Scan: An MCP Security Scanner
invariantlabs-aiSecurity scanner for AI agents, MCP servers and agent skills.
JetBrains MCP Proxy Server
JetBrainsA model context protocol server to work with JetBrains IDEs: IntelliJ, PyCharm, WebStorm, etc. Also, works with Android Studio
评论