私の最初のMCPプロジェクト
このプロジェクトは、 DummyJSON APIからデータを取得するMCP(Model Context Protocol)サーバーの使用方法を示します。Cursor IDEとデフォルトのエージェントを使用して構築されています。
目次
特徴
製品APIツール
get_products
説明: オプションのフィルタリングとページ区切りを使用して製品リストを取得します
パラメータ:
id
(文字列、オプション): IDで製品をフィルタリングするq
(文字列、オプション): タイトルで製品をフィルタリングするcategory
(文字列、オプション): カテゴリ別に製品をフィルタリングbrand
(文字列、オプション): ブランドで製品をフィルタリングするprice
(数値、オプション): 価格で商品をフィルタリングrating
(数値、オプション): 評価で製品をフィルタリングskip
(数値、オプション、デフォルト: 0): スキップする商品の数limit
(数値、オプション、デフォルト:10):返される製品の最大数
戻り値: 指定された条件に一致する製品のリスト
データソース: DummyJSON API ( https://dummyjson.com/products )
インストールと使用方法
前提条件
Node.js (バージョン 23 以上)
Docker と Docker Compose
WSL2 (Windows を使用している場合)
カーソルの設定
この MCP サーバーを Cursor で構成するには:
オープンカーソル
プレス:
Windows/Linux:
Ctrl + Shift + P
macOS:
Cmd + Shift + P
「MCPサーバーの構成」と入力して選択します
設定に応じて適切な構成を追加します。
Windows (WSL なし) または Linux の場合:
WSL ユーザーの場合:
Node.js パスを見つけるには、次のコマンドを実行します。
ライセンス
このプロジェクトは MIT ライセンスに基づいてライセンスされています。
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.
Tools
DummyJSON API から製品データを取得し、ID、タイトル、カテゴリ、ブランド、価格、評価などのさまざまなパラメータによるフィルタリングをサポートする MCP サーバー。
Related MCP Servers
- -securityAlicense-qualityThis MCP server connects clients with Shopify store data, enabling retrieval of product and customer information via exposed tools.Last updated -4MIT License
- AsecurityAlicenseAqualityMCP server that integrates with Shopify API, allowing Claude Desktop users to retrieve and manipulate product information from Shopify stores.Last updated -52MIT License
- -securityFlicense-qualityAn MCP Server that provides access to the Jumpseller e-commerce platform API, allowing users to interact with Jumpseller's functionality through natural language commands.Last updated -
- -securityFlicense-qualityAn MCP server that enables large language models to directly access and analyze Amazon product information, including product details, variants, and reviews.Last updated -