Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Node MCP Serverget weather in Tokyo"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Node MCP Server
Small example MCP (Model Context Protocol) server that exposes a weather tool using the @modelcontextprotocol/sdk.
Overview
Provides a minimal Express-based HTTP server that connects an
McpServerto a Streamable HTTP transport.Exposes endpoints:
/mcp(MCP transport),/health,/status, and/.
Requirements
Node.js 18+ recommended
npm
Install
Run
Server listens on port 3000 by default.
Endpoints
GET /health— returnsOK.GET /status— returns a JSON status object.POST /mcp— Streamable HTTP MCP transport endpoint. The server expects clients to POST JSON-RPC messages.
Important: the Streamable HTTP transport expects clients to include the following headers for POSTs:
Content-Type: application/jsonAccept: application/json, text/event-stream
Example curl (initialize):
Notes
The project uses
@modelcontextprotocol/sdk(seepackage.json) and returns structured tool results. Tool callbacks must return objects matching the SDK's expected schema (not plain strings).If you see errors about Accept headers or tool result shapes, verify headers and that tool callbacks return an object with a
contentarray.
License
MIT