MCP.so
ログイン

Janken MCP Server.js

@Takashi-Matsumura

基本情報

カテゴリ

その他

トランスポート

stdio

作者

Takashi-Matsumura

Janken MCP Server.js について

概要はまだありません

Janken MCP Server.js の設定

標準の設定はありません

このサーバーの README には解析可能な MCP 設定ブロックが含まれていません。インストール手順はリポジトリをご確認ください。

リポジトリ

Janken MCP Server.js のツール

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

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

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

概要

What is janken-mcp-server.js?

janken-mcp-server.js is a simple HTTP server that provides a "janken" (rock-paper-scissors) game using the Model Context Protocol (MCP). It returns a random choice of グー, チョキ, or パー in response to MCP-formatted requests.

How to use janken-mcp-server.js?

Clone the repository, navigate to its directory, and start the server with node janken-mcp-server.js. It listens on http://localhost:3000 by default. Send a POST request with a JSON body containing {"query": "じゃんけん"} to receive a random hand.

Key features of janken-mcp-server.js

  • Implements the MCP request/response protocol
  • Randomly selects グー, チョキ, or パー
  • CORS‑enabled for cross‑origin requests
  • Lightweight and simple to run

Use cases of janken-mcp-server.js

  • Demonstrating a basic MCP server implementation
  • Adding a random rock‑paper‑scissors tool to an MCP‑compatible client
  • Testing or prototyping MCP protocol interactions

よくある質問

1

What does the server return?

It returns a JSON object with a `result` field containing the chosen hand (e.g., `"グー"`) and a `metadata` object with the same `choice`.

2

How do I send a request to the server?

Send a POST request to `http://localhost:3000` with `Content-Type: application/json` and a body like `{"query": "じゃんけん"}`.

3

What runtime does the server require?

The server runs on Node.js and is started with the command `node janken-mcp-server.js`.

4

Does janken-mcp-server.js support authentication or transport security?

The README does not mention authentication, TLS, or any transport‑level security.

5

What are the server's dependencies?

The README lists no additional dependencies beyond Node.js itself.

コメント

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