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.

评论

开发工具 分类下的更多 MCP 服务器