Sarutahiko MCP 計算ツール
@lil-shimon
Sarutahiko MCP 計算ツール について
My MCP server
基本情報
設定
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"Sarutahiko": {
"command": "node",
"args": [
"dist/calculator-client.js"
]
}
}
}ツール
ツールは検出されませんでした
ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。
概要
What is Sarutahiko MCP 計算ツール?
Sarutahiko MCP 計算ツール is a sample calculator implementation that uses the Model Context Protocol (MCP) to provide basic arithmetic operations. It is built with TypeScript and communicates via standard input/output (STDIO), making it suitable for integration with any MCP-compatible client.
How to use Sarutahiko MCP 計算ツール?
Install dependencies with npm install, compile TypeScript with npm run build, then start the server with npm start. For testing, run node dist/calculator-client.js. To integrate with a custom MCP client, use the @modelcontextprotocol/sdk to connect via StdioClientTransport and call the available tools (add, subtract, multiply, divide, power).
Key features of Sarutahiko MCP 計算ツール
- Five arithmetic tools: add, subtract, multiply, divide, power.
- Division includes zero-division error handling.
- Communicates over STDIO (standard input/output).
- TypeScript implementation with build and run scripts.
- Includes a test client for verification.
Use cases of Sarutahiko MCP 計算ツール
- Learning how to build an MCP server from a minimal example.
- Prototyping a remote calculator tool for MCP clients.
- Testing the MCP SDK client-server interaction.
- Providing basic arithmetic capabilities to an MCP-enabled application.
FAQ from Sarutahiko MCP 計算ツール
What operations does Sarutahiko MCP 計算ツール support?
It supports addition (add), subtraction (subtract), multiplication (multiply), division (divide) with zero-division error handling, and exponentiation (power).
How do I start the server?
Run npm start after installing dependencies and building with npm run build. The server listens on STDIO.
How can I test the server without a custom client?
Run node dist/calculator-client.js after building the project.
How are new calculation features added?
Edit the calculator-server.ts file and add a new tool definition following the existing patterns.
What transport protocol does the server use?
It uses standard input/output (STDIO) for communication, as specified in the MCP SDK example.
Is this server production-ready?
No. The project is explicitly stated as a sample created entirely by AI (Claude) and intended for learning or demonstration purposes.
「その他」の他のコンテンツ

Sequential Thinking
modelcontextprotocolModel Context Protocol Servers
MCP Toolbox for Databases
googleapisMCP Toolbox for Databases is an open source MCP server for databases.
Awesome Mlops
visengerA curated list of references for MLOps
Nginx UI
0xJackyYet another WebUI for Nginx
Unity MCP ✨
justinpbarnettUnity MCP acts as a bridge between AI assistants and your Unity Editor. Give your LLM tools to manage assets, control scenes, edit scripts, and automate tasks within Unity.
コメント