MCP サーバーデモ
モデル制御プロトコル(MCP)サーバー実装のためのシンプルなデモプロジェクトです。MCPクライアント実装は将来提供される予定です。
概要
このプロジェクトでは、AI アシスタントが使用できるいくつかのツールとリソースを提供する、FastMCP で構築されたシンプルな MCP サーバーを紹介します。
ニュース記事の取得: WorldNewsAPI からニュース記事をクエリして取得する
シンプルな計算:基本的な加算機能
天気情報:シンプルな天気データの取得
ダイナミックグリーティング:パーソナライズされたグリーティングリソース
設定
前提条件
Python 3.x
必要な Python パッケージ (テストに使用):
mcp-serverworldnewsapi
インストール
このリポジトリをクローンする
依存関係をインストールします:
uv add mcp-serveruv add worldnewsapipip install mcp-server worldnewsapi
使用法
サーバーの実行
Python を使用してサーバーを実行します。MCP 関連の構成から、claude desktop や cursor ide mcp などのクライアントを再起動します。
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
AI アシスタントがニュース記事を取得したり、計算を実行したり、天気データを取得したり、パーソナライズされた挨拶を生成したりするためのツールを提供する、モデル制御プロトコル (MCP) サーバーのシンプルなデモ プロジェクトです。
Related MCP Servers
- Asecurity-licenseAqualityA modern Model Context Protocol (MCP) server that enables AI assistants to collect interactive user feedback, supporting text and image-based responses.Last updated -3MIT License
- -security-license-qualityModel Context Protocol (MCP) server that provides AI assistants with advanced web research capabilities, including Google search integration, intelligent content extraction, and multi-source synthesis.Last updated -114MIT License
- Asecurity-licenseAqualityA demonstration server based on Model Context Protocol (MCP) that showcases how to build custom tools for AI assistants, providing mathematical calculation and multilingual greeting capabilities.Last updated -3
- -security-license-qualityA guide for implementing Model Context Protocol (MCP) servers that provide AI models with external tools like web search, text manipulation, and mathematical operations.Last updated -8MIT License