MCP.so
ログイン

MCP (MCP) Server

@kritsanan1

基本情報

カテゴリ

その他

トランスポート

stdio

作者

kritsanan1

MCP (MCP) Server について

概要はまだありません

MCP (MCP) Server の設定

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

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

MCP (MCP) Server のツール

ツール一覧はまだありません

この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。

ツールは 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

よくある質問

1

What are the prerequisites?

Node.js version 14 or later and npm.

2

How can I change the port?

Set the `PORT` environment variable before starting the server.

3

What endpoints are available?

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

4

How do I connect via WebSocket?

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

5

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.

コメント

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