
A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

A demo project with an MCP server built using NestJS that provides a current time context tool, paired with a LangChain.js backend client.
NestJS MCP Server Time Demo is cataloged as an MCP server attributed to liusdev. A demo project with an MCP server built using NestJS that provides a current time context tool, paired with a LangChain.js backend client. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: UNLICENSED License. Check the source repository's current license and terms before using, modifying or distributing this software.
能力定义尚未审核。未核验的采集内容不会作为可信接口展示。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for NestJS MCP Server Time Demo are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
The backend connects to the MCP server, retrieves available tools, and uses them with LangChain.js to process user queries.
Yes, the backend can connect to multiple MCP servers simultaneously by modifying the McpClientModule.register configuration.
README.md · 8038fc43a309 · 采集于 2026-11-13 10:13:01 UTC
保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。
当前显示最后一次成功采集的文档快照,请以来源页面为准。
By: @LiusDev
This repository demonstrates a NestJS implementation of the Model Context Protocol (MCP) with a microservice architecture. It consists of two main services:
npm install
.env.example to .env and add your OpenAI API key:cp .env.example .env
Then edit the .env file to include your OpenAI API key:
OPENAI_API_KEY=your_openai_api_key_here
OPENAI_API_URL=https://api.openai.com/v1
PORT=3001
You need to run both services for the complete functionality:
npm run start:dev mcp-server
This will start the MCP server on port 3000 (default).
npm run start:dev mcp-backend
This will start the MCP backend on port 3001 (default).
Once both services are running, you can test the functionality by sending a POST request to the MCP backend:
Send a POST request to http://localhost:3001 with the following JSON body:
{
"message": "What time is it in Viet Nam?"
}
curl -X POST http://localhost:3001 -H "Content-Type: application/json" -d "{\"message\": \"What time is it in Viet Nam?\"}"
http://localhost:3001application/json{
"message": "What time is it in Viet Nam?"
}
The response will contain the current time in Vietnam, retrieved through the MCP server's time context function.
The backend can connect to multiple MCP servers simultaneously. To add additional servers, modify the McpClientModule.register configuration in apps/mcp-backend/src/mcp-backend.module.ts:
McpClientModule.register({
throwOnLoadError: true,
prefixToolNameWithServerName: false, // Set to true to prefix tool names with server names
additionalToolNamePrefix: '',
mcpServers: {
myServer: {
transport: 'sse',
url: 'http://localhost:3000/sse',
useNodeEventSource: true,
reconnect: {
enabled: true,
maxAttempts: 5,
delayMs: 2000,
},
},
// Add additional servers here
anotherServer: {
transport: 'sse',
url: 'http://localhost:4000/sse', // Different port for another server
useNodeEventSource: true,
reconnect: {
enabled: true,
maxAttempts: 5,
delayMs: 2000,
},
},
},
}),
When connecting to multiple servers:
prefixToolNameWithServerName: true to avoid tool name conflictsmcpServers objectThe MCP client will automatically fetch tools from all configured servers and make them available to the LLM.
mcp-server/
├── apps/
│ ├── mcp-server/ # MCP server implementation
│ └── mcp-backend/ # MCP client implementation
├── dist/ # Compiled output
├── node_modules/
├── .env # Environment variables
└── package.json
This project is licensed under the UNLICENSED License - see the LICENSE file for details.
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for NestJS MCP Server Time Demo from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/nestjs-mcp-server-langchainjs-demo)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。
尚无已审核的包 / 镜像标识,暂不展示下载统计。
Alternative and complementary servers in the same category

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.