
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.
Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
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 · Fetched 2026-11-13 10:13:01 UTC
Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.
Showing the last retrieved documentation snapshot; check the source for current changes.
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.
Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.
No reviewed package or image identity; download statistics are not listed yet.
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.