MCP.so
ログイン

MCP Demo App

@sameerfa

基本情報

カテゴリ

開発者ツール

トランスポート

stdio

作者

sameerfa

MCP Demo App について

A simple Node.js/Express API server using TypeScript for managing products and orders, with Model Context Protocol (MCP) integration.

MCP Demo App の設定

標準の設定はありません

このサーバーの README には解析可能な MCP 設定ブロックが含まれていません。インストール手順はリポジトリをご確認ください。

リポジトリ

MCP Demo App のツール

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

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

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

概要

What is MCP Demo App?

MCP Demo App is a Node.js/Express API server with TypeScript for managing products and orders. It integrates a Model Context Protocol (MCP) server that exposes tools for product and order queries. It uses JSON files for data storage and requires Bearer token authentication.

How to use MCP Demo App?

Install dependencies with npm install, then build using npm run build. Run the REST API server with npm run dev (development) or npm start (production). Run the MCP server separately with npm run mcp. All API endpoints except /health require a valid Bearer token in the Authorization header.

Key features of MCP Demo App

  • RESTful API for products and orders
  • Bearer token authentication
  • Data stored in JSON files
  • MCP server with four query tools
  • TypeScript for type safety

Use cases of MCP Demo App

  • Manage product catalog and order records via a simple REST API
  • Query product details and related orders using MCP tools
  • Filter orders by customer ID
  • Search products by name or category

よくある質問

1

What runtimes or dependencies are required?

Node.js v16 or later and npm are required. The server is built with Express and TypeScript.

2

How is data stored and where?

Data is persisted in JSON files located in `src/data/`. Products are in `products.json` and orders in `orders.json`.

3

What tools does the MCP server expose?

The MCP server provides four tools: `getProductInfo`, `listProducts`, `getProductOrders`, and `searchProducts`.

4

What tokens are valid for authentication?

Example valid tokens are `valid_token_123` and `client_abc_token`. Tokens are sent in the `Authorization` header as `Bearer <token>`.

5

Are there any known limits?

The README does not mention specific limits such as request rate, file size, or concurrency.

コメント

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