MCP.so
ログイン

Build Custom MCP Servers

@sourangshupal

基本情報

カテゴリ

開発者ツール

トランスポート

stdio

作者

sourangshupal

Build Custom MCP Servers について

概要はまだありません

Build Custom MCP Servers の設定

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

{
  "mcpServers": {
    "Build-Custom-MCP-Servers": {
      "command": "uv",
      "args": [
        "sync"
      ]
    }
  }
}

Build Custom MCP Servers のツール

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

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

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

概要

What is Build Custom MCP Servers?

This project demonstrates building simple MCP servers using the MCP Python SDK (mcp[cli]). It provides tools for note management, weather fetching, and news searching, using external API keys stored in a .env file.

How to use Build Custom MCP Servers?

Install Python 3.12 and a virtual environment manager. Clone the repository, set up a virtual environment, and install dependencies (e.g., uv sync). Copy .env.example to .env and add your WEATHER_API_KEY and BRAVE_API_KEY. Run the server with mcp install main.py to add it to Claude Desktop, or use mcp dev main.py for development.

Key features of Build Custom MCP Servers

  • Note-taking: add, read, latest, and summarize notes.
  • Current weather data for any city via WeatherAPI.com.
  • News search using the Brave Search API.
  • Configuration via .env file with API keys.
  • Built with mcp[cli] Python SDK.

Use cases of Build Custom MCP Servers

  • Manage personal notes through an MCP client like Claude Desktop.
  • Check real‑time weather during conversations.
  • Search for news articles without leaving the chat interface.
  • Learn how to build and run custom MCP servers.

よくある質問

1

What tools does the MCP server provide?

It offers note management (add, read, latest, summarize), current weather fetching, and Brave Search news retrieval.

2

What API keys are required?

You need a WeatherAPI.com key (`WEATHER_API_KEY`) and a Brave Search API key (`BRAVE_API_KEY`).

3

What Python version is needed?

Python 3.12 is required.

4

How do I run the server?

Use `mcp install main.py` to register the server with Claude Desktop, or `mcp dev main.py`

コメント

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