MCP.so
登录

MCP Tool Server Template

@mibexx

基本信息

分类

开发工具

最近更新

传输方式

stdio

作者

mibexx

关于 MCP Tool Server Template

暂无概览

MCP Tool Server Template 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "mbxai-mcp-server-template": {
      "command": "uv",
      "args": [
        "venv"
      ]
    }
  }
}

MCP Tool Server Template 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 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

常见问题

1

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.

2

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.

3

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`.

4

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.

5

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 服务器