janken-mcp-server.js
@Takashi-Matsumura
关于 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
FAQ from janken-mcp-server.js
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.
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": "じゃんけん"}.
What runtime does the server require?
The server runs on Node.js and is started with the command node janken-mcp-server.js.
Does janken-mcp-server.js support authentication or transport security?
The README does not mention authentication, TLS, or any transport‑level security.
What are the server's dependencies?
The README lists no additional dependencies beyond Node.js itself.
其他 分类下的更多 MCP 服务器
XcodeBuildMCP
cameroncookeA Model Context Protocol (MCP) server and CLI that provides tools for agent use when working on iOS and macOS projects.
Nginx UI
0xJackyYet another WebUI for Nginx
Blender
ahujasidOpen-source MCP to use Blender with any LLM
ICSS
chokcoco不止于 CSS
Maestro
mobile-dev-incPainless E2E Automation for Mobile and Web
评论