MCP.so
Sign In

MCP (Model Context Protocol) Server

@kritsanan1

About MCP (Model Context Protocol) Server

No overview available yet

Basic information

Category

Other

Runtime

node

Transports

stdio

Publisher

kritsanan1

Config

Add this server to your MCP-compatible client using the configuration below.

{
  "mcpServers": {
    "mcp-server-kritsanan1": {
      "command": "node",
      "args": [
        "server.js"
      ]
    }
  }
}

Tools

No tools detected

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is MCP (Model Context Protocol) Server?

A simple server implementation that provides WebSocket real‑time communication and REST API endpoints, built with Node.js. It is intended for developers who need a lightweight server for testing or building applications that require both HTTP and WebSocket support.

How to use MCP (Model Context Protocol) Server?

Install Node.js v14+, clone the repository, run npm install, then start with node server.js. The server runs on port 3000 by default; set the PORT environment variable to change the port.

Key features of MCP (Model Context Protocol) Server

  • WebSocket server for real‑time communication
  • REST API endpoints (status and echo)
  • Static file serving
  • CORS support

Use cases of MCP (Model Context Protocol) Server

  • Quickly testing WebSocket connections with a built‑in test page
  • Building prototypes that need both HTTP and WebSocket on the same port
  • Providing an echo service for debugging client‑server communication

FAQ from MCP (Model Context Protocol) Server

What are the prerequisites?

Node.js version 14 or later and npm.

How can I change the port?

Set the PORT environment variable before starting the server.

What endpoints are available?

GET / returns server status; POST /api/echo echoes a JSON message.

How do I connect via WebSocket?

Use ws://localhost:3000 (or your custom port).

How can I test the server?

Open http://localhost:3000 in a browser to access the built‑in test page for WebSocket and REST API testing.

Comments

More Other MCP servers