MCP.so
ログイン

MCP (Model Context Protocol) Server

@kritsanan1

MCP (Model Context Protocol) Server について

概要はまだありません

基本情報

カテゴリ

その他

ランタイム

node

トランスポート

stdio

公開者

kritsanan1

設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

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

ツール

ツールは検出されませんでした

ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。

概要

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.

コメント

「その他」の他のコンテンツ