MCP.so
ログイン

MCP Template

@myyrakle

MCP Template について

MCP Server Example

基本情報

カテゴリ

開発者ツール

ランタイム

python

トランスポート

stdio

公開者

myyrakle

設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "mcp-template-myyrakle": {
      "command": "uv",
      "args": [
        "run",
        "server.py"
      ]
    }
  }
}

ツール

ツールは検出されませんでした

ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。

概要

What is MCP Template?

MCP Template is a simple example MCP (Model Context Protocol) server that demonstrates the basic integration of a weather API for the United States. It is built following the official MCP quickstart documentation and is intended for developers learning how to create MCP servers.

How to use MCP Template?

Ensure you have uv (Python Package Manager) installed. Then run the server with uv run server.py. For debugging, use npx @modelcontextprotocol/inspector uv run server.py.

Key features of MCP Template

  • Simple example MCP server implementation
  • Uses USA weather API
  • Based on official MCP quickstart guide
  • Requires only uv as dependency
  • Runnable with a single command

Use cases of MCP Template

  • Learning the Model Context Protocol by example
  • Testing basic MCP server setup and execution
  • Demonstrating how to integrate an external weather data source
  • Prototyping or experimenting with MCP tool definitions

FAQ from MCP Template

What is the purpose of MCP Template?

It is a minimal example server that shows how to build an MCP server with a real‑world data source, based on the official quickstart guide.

What are the runtime requirements?

The only requirement is uv, a Python package manager.

How do I run the server?

Run uv run server.py in the terminal.

How can I debug the server?

Use the MCP inspector by running npx @modelcontextprotocol/inspector uv run server.py.

What data does the server use?

It uses a weather API for the United States.

コメント

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