Ashishmehta108 MCP

MCP运维云端

提供方 Ashishmehta108

运维云端 未标注 会话登录 社区 / 第三方

基于Node.js和Express.js构建的MCP服务器,提供产品管理和订单处理API。

一句话选型结论

按资料字段整理

Ashishmehta108 MCP 属于运维云端类 MCP 服务器,传输方式未标注,会话登录,没有现成安装命令,需按官方文档接入。接入前先确认权限范围;涉及写入、删除或付款的操作,建议先在测试环境验证。

分类运维云端 传输方式未标注 鉴权会话登录 部署方式未标注
GitHub 星标 0 仓库热度,无公开仓库时显示未标注
工具数 8 暴露给模型的工具数量
资源 / 提示词 0 / 0 资源与提示词模板数量
维护方 社区 / 第三方 核验等级 仅资料核对

工具与能力

运维云端
数量来自来源目录的标注,具体工具清单以官方文档为准
工具数量8暴露给模型可调用的工具个数
资源数量0可读取的资源条目
提示词数量0内置提示词模板数量

能力标签

适用场景

云端部署TypeScript产品管理订单处理MCP协议Node.jsExpress.js

安装与配置

未标注 会话登录
上游未给出传输方式
  1. 1
    准备运行环境

    按官方文档确认运行环境(常见为 Node.js 或 Python),装好后再执行安装命令。

  2. 2
    安装服务

    复制上面的安装命令执行;命令里带占位符的位置,换成自己的密钥或路径。

  3. 3
    写入客户端配置

    在客户端的 MCP 配置里填好启动命令和参数,保存后完全退出客户端再打开,让新配置生效。

  4. 4
    验证是否可用

    连接成功后客户端会列出约 8 个工具,随便调一个只读工具确认能返回结果。

典型使用场景

3 类
按分类与标签整理的常见用法,具体以官方文档为准
云资源查询

查实例、存储、账单等云上资源状态。

部署与发布

把部署、重启、回滚这类操作接进对话。

监控与告警

拉取监控指标,异常时让模型帮你判断。

选择建议

选之前先看这几条
按条目字段给出的判断,不替你决定用不用

值得选的地方

  • 资料标注 8 个工具,职责相对集中,接入后不容易误操作。

先想清楚的地方

  • 没有现成安装命令,需要按官方文档自己填启动命令和参数。
  • 使用前要准备好会话登录对应的凭据,并按最小权限配置。
  • 版本更新与行为细节以官方仓库为准。

更适合

  • 需要在运维云端场景里让模型直接调用外部能力的人。
  • 想先快速试一下、能接受在本地或自有环境跑服务的人。

不太适合

  • 不方便管理密钥或第三方授权的人。
  • 需要厂商级 SLA 和技术支持的生产环境。

同类对比

6 个同类
同分类里挑最接近的几条,字段以各自详情页为准
MCP 服务器工具数传输方式部署方式安装命令最后核验
Ashishmehta108 MCP当前 8 未标注 未标注 无 2026-05-17
lobehub 未标注 stdio · 本地进程 本地部署 有 2026-04-11
TrendRadar 未标注 stdio · 本地进程 本地部署 有 2026-04-13
Ui Tars Desktop 8a825770 未标注 stdio · 本地进程 本地部署 有 2026-05-17
ruflo 未标注 stdio · 本地进程 本地部署 有 2026-04-13
FastGPT 未标注 stdio · 本地进程 本地部署 有 2026-04-11

服务器档案

运维云端
字段来自项目仓库与公开索引,中文说明由本站标注
提供方Ashishmehta108上游标注的维护方 Ashishmehta108
分类运维云端本站按上游分类展示
连接方式未标注上游未给出传输方式
鉴权方式会话登录远程服务建议用最小权限凭据
维护方社区 / 第三方核验等级 仅资料核对
包名 / 运行时未标注 · 未标注本地安装时用到的包标识与运行时
部署类型未标注上游给出的部署形态
最近核验2026-05-17上游最后核验时间

详细介绍

8.7 KB
来自项目仓库与上游目录的原文,未做删改

Bytecraft MCP Server Documentation

=====================================

Overview


This is a documentation of the Bytecraft MCP server, a Node.js application built using Express.js and Model Context Protocol (MCP) SDK. The server provides a set of tools and APIs for managing products and orders.

Directory Structure


  • backend: Contains the server-side code
  • index.ts: Entry point of the application
  • prisma: Contains the Prisma models
  • supabase: Contains the Supabase client configuration
  • README.md: This documentation file

Index.ts


The index.ts file is the entry point of the application. It sets up the Express.js server, configures the MCP server, and defines the routes for the APIs.

Server

const server = new McpServer({ name: "Bytecraft-mcp", version: "1.0.0" });

MCP Server Configuration

The MCP server is configured with the following settings:

  • name: "Bytecraft-mcp"
  • version: "1.0.0"
  • connection:using streamable Http requests as a transport

Code```javascript

const transports: Record<string, StreamableHTTPServerTransport> = {};


## Tool Usage```javascript
server.registerTool(
  &quot;findProductByUse&quot;,
  {
    description:
      &quot;Fetch products designed for a specific use case or context, like &#x27;outdoor seating&#x27;, &#x27;study area&#x27;, or &#x27;living room&#x27;. Use this when user prompts refer to how or where the product will be used.&quot;,
    inputSchema: {
      areaOfUse: z
        .string()
        .nonempty()
        .describe(&quot;Usage context (e.g., &#x27;outdoor&#x27;, &#x27;indoor&#x27;)&quot;),
    },
  },
  async ({ areaOfUse }) =&gt; {
    console.log(&quot;[Tool Called] findProductByUse with areaOfUse:&quot;, areaOfUse);

    const products = await prisma.product.findMany({ where: { areaOfUse } });
    return { content: [{ type: &quot;text&quot;, text: JSON.stringify(products) }] };
  }
);
``````javascript
app.post(&quot;/mcp&quot;, async (req: Request, res: Response) =&gt; {
  const sessionId = req.headers[&quot;mcp-session-id&quot;] as string | undefined;
  let transport: StreamableHTTPServerTransport;

  if (!sessionId &amp;&amp; isInitializeRequest(req.body)) {
    transport = new StreamableHTTPServerTransport({
      sessionIdGenerator: () =&gt; randomUUID(),
      onsessioninitialized: (sid) =&gt; {
        transports[sid] = transport;
      },
    });
    transport.onclose = () =&gt; {
      if (transport.sessionId) delete transports[transport.sessionId];
    };
    await server.connect(transport);
  } else if (sessionId &amp;&amp; transports[sessionId]) {
    transport = transports[sessionId];
  } else {
    res.status(400).json({
      jsonrpc: &quot;2.0&quot;,
      error: { code: -32000, message: &quot;Invalid session ID&quot; },
      id: null,
    });
    return;
  }

  await transport.handleRequest(req, res, req.body);
});
``````javascript
const transports: Record&lt;string, StreamableHTTPServerTransport&gt; = {};

Routes

The following routes are defined:

  • /mcp: Handles MCP requests
  • /mcp/session: Handles MCP session requests
  • /cart: Handles cart-related requests

Prisma Models


The Prisma models are defined in the prisma directory. The models are used to interact with the database.

Product Model

The Product model represents a product in the database. It has the following fields:

  • id: Unique identifier for the product
  • name: Name of the product
  • description: Description of the product
  • price: Price of the product
  • type: Type of the product
  • areaOfUse: Area of use of the product

Order Model

The Order model represents an order in the database. It has the following fields:

  • id: Unique identifier for the order
  • customerId: Customer ID associated with the order
  • productId: Product ID associated with the order
  • quantity: Quantity of the product ordered
  • total: Total cost of the order

Prisma

📃️ Prisma Data Models

This project uses PostgreSQL with Prisma as the ORM. Below are the data models defined in schema.prisma.


🧑‍💼 User

Represents a registered user.```javascript
model User {
id String @id @default(cuid())
clerkId String @unique
orders Order[]
reviews Review[]
Favorite Favorite[]
Cart Cart?
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
}


---

## 🛍️ Product

Stores product catalog entries.```javascript
model Product {
  id          String      @id @default(cuid())
  name        String
  company     String
  type        String
  areaOfUse   String
  description String
  featured    Boolean
  image       String
  price       Int
  reviews     Review[]
  OrderItem   OrderItem[]
  Favorite    Favorite[]
  CartItem    CartItem[]
}

🛒 Cart

Each user has one cart.```javascript
model Cart {
id String @id @default(cuid())
userId String @unique
user User @relation(fields: [userId], references: [id])
items CartItem[]
}


---

## 🧲 CartItem

Items inside a user&#x27;s cart.```javascript
model CartItem {
  id        String   @id @default(cuid())
  cartId    String
  cart      Cart     @relation(fields: [cartId], references: [id])
  productId String   @unique
  product   Product  @relation(fields: [productId], references: [id])
  quantity  Int
  price     Int
}

📦 Order

A record of a completed purchase.```javascript
model Order {
id String @id @default(cuid())
userId String
user User @relation(fields: [userId], references: [id])
orderItems OrderItem[]
total Int
status String
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
}


---

## 📦 OrderItem

Individual product in an order.```javascript
model OrderItem {
  id        String   @id @default(cuid())
  orderId   String
  order     Order    @relation(fields: [orderId], references: [id])
  productId String
  product   Product  @relation(fields: [productId], references: [id])
  quantity  Int      @default(1)
  price     Int
  createdAt DateTime @default(now())
  updatedAt DateTime @updatedAt
}

✍️ Review

Customer reviews for products.```javascript
model Review {
reviewId String @id @default(cuid())
content String
stars Int
productId String
userId String
product Product @relation(fields: [productId], references: [id])
user User @relation(fields: [userId], references: [id])
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
}


---

## ❤️ Favorite

User’s favorite (wishlist) products.```javascript
model Favorite {
  id        String   @id @default(cuid())
  userId    String
  productId String
  user      User     @relation(fields: [userId], references: [id])
  product   Product  @relation(fields: [productId], references: [id])
  createdAt DateTime @default(now())
  updatedAt DateTime @updatedAt
}

Product data```json

{
"id": "cmcracmy40000ovpgm0avuzf6",
"name": "avant-garde lamp",
"company": "Modenza",
"type": "lamp",
"areaOfUse": "lighting",
"description": "Crafted from hand-blown smoked glass and brushed brass, this avant-garde lamp casts sculptural pools of warm light. Its asymmetrical design and integrated dimmer make it both a centerpiece and a functional reading light in modern interiors.",
"featured": true,
"image": "https://images.pexels.com/photos/943150/pexels-photo-943150.jpeg?auto=compress&cs=tinysrgb&w=1600",
"price": 100
}


## Supabase Client

---

The Supabase client is used to interact with the Supabase database. The client is configured with the following settings:

- `SUPABASE_URL`: URL of the Supabase database
- `SUPABASE_ANON_KEY`: Anonymous key for the Supabase database

## MCP Server Tools

The following tools are available:

- `getCart`: Fetches the cart contents for a user
- `productInfoViaType`: Fetches product information by type
- `productInfoViaUse`: Fetches product information by area of use
- `getPriceofProduct`: Fetches the price of a product
- `initializeMcpSession`: Initializes a new MCP session
- `addProductToCart`: Adds a product to the cart
- `removeProductFromCart`: Removes a product from the cart
- `checkout`: Checks out the cart

## Frontend APIs which are used to query data of the user

The following MCP APIs are available:

- `initialize`: Initializes a new MCP session
- `getCart`: Fetches the cart contents for a user
- `addProductToCart`: Adds a product to the cart
- `removeProductFromCart`: Removes a product from the cart
- `checkout`: Checks out the cart

Note: This documentation is a summary of the code and may not be exhaustive.

MCP Server Tools:

- `getCart`
- `productInfoViaType`
- `productInfoViaUse`
- `getPriceofProduct`
- `initializeMcpSession`
- `addProductToCart`
- `removeProductFromCart`
- `checkout`
````
# Mcp-server
# Mcp-server
# Mcp-server
# Mcp-server
# Mcp-server

常见问题

5 问
答案由本站依据条目字段整理,不引用上游原文
Ashishmehta108 MCP 怎么安装?

资料没有给出安装命令,请到官方仓库或文档按说明接入;这类条目多数是生态应用,或尚未发布可安装包。

Ashishmehta108 MCP 怎么在客户端里配置?

它的传输方式未标注,在客户端 MCP 配置里按官方文档填写启动命令和参数,保存后重启客户端生效。

Ashishmehta108 MCP 收费吗?

本站不代收费用,也没有标注具体价格。是否收费取决于服务本身和背后的接口额度,正式使用前按官方说明确认。

Ashishmehta108 MCP 需要 API Key 吗?

资料标注需要会话登录认证,使用前准备好对应凭据,并按最小权限配置。

Ashishmehta108 MCP 能提供哪些能力?

资料显示约 8 个工具;能力标签包括 产品管理、JavaScript、TypeScript。具体工具清单以官方文档为准。

热门专题

按标签挑服务器
全部专题 →

服务器信息以作者仓库与官方文档为准;分类、传输方式与鉴权方式的中文说明为中文整理,最近核验 2026-05-17。