MCP.so
ログイン

MCP Template

@myyrakle

基本情報

カテゴリ

開発者ツール

トランスポート

stdio

作者

myyrakle

MCP Template について

MCP Server Example

MCP Template の設定

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

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

MCP Template のツール

ツール一覧はまだありません

この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。

ツールは 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

よくある質問

1

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.

2

What are the runtime requirements?

The only requirement is `uv`, a Python package manager.

3

How do I run the server?

Run `uv run server.py` in the terminal.

4

How can I debug the server?

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

5

What data does the server use?

It uses a weather API for the United States.

コメント

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