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

コメント

「開発者ツール」の他のコンテンツ