Products API MCP Server
私の最初のMCPプロジェクト
このプロジェクトは、 DummyJSON APIからデータを取得するMCP(Model Context Protocol)サーバーの使用方法を示します。Cursor IDEとデフォルトのエージェントを使用して構築されています。
目次
Related MCP server: openfoodfacts-mcp-server
特徴
製品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 + PmacOS:
Cmd + Shift + P
「MCPサーバーの構成」と入力して選択します
設定に応じて適切な構成を追加します。
Windows (WSL なし) または Linux の場合:
{
"mcpServers": {
"postgres": {
"command": "node",
"args": ["ABSOLUTE_PATH_TO_PROJECT/src/index.ts"]
}
}
}WSL ユーザーの場合:
{
"mcpServers": {
"postgres": {
"command": "wsl.exe",
"args": [
"-e",
"ABSOLUTE_PATH_TO_NODE/.nvm/versions/node/v23.11.0/bin/node",
"ABSOLUTE_PATH_TO_PROJECT/src/index.ts"
]
}
}
}Node.js パスを見つけるには、次のコマンドを実行します。
which nodeライセンス
このプロジェクトは MIT ライセンスに基づいてライセンスされています。
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Tools
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceA small MCP server that manages a product inventory using SQLite, providing CRUD operations through exposed MCP tools.
- AlicenseAqualityDmaintenanceMCP server for Open Food Facts, enabling food product lookup by barcode, search, nutrition facts, allergen checks, and eco-scores without an API key.8MIT
- AlicenseNot gradedqualityAmaintenanceMCP server for reading, querying, and filtering local JSON files with extended JSONPath syntax, supporting sorting, aggregations, and complex conditions.152MIT
- FlicenseAqualityDmaintenanceAn MCP server that provides tools to interact with the JSONPlaceholder fake REST API for testing and prototyping, supporting CRUD operations on posts, comments, todos, and users.7
Related MCP Connectors
This MCP server provides seamless access to Malaysia's government open data, including datasets, w…
A basic MCP server to operate on the Postman API.
MCP server for accessing curated awesome list documentation
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Demontie/my-first-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server