Basic information
About MCP サーバーサンプル Server
# MCP サーバーサンプル
MCP サーバーサンプル is a MCP server in the Other category listed in the AddMCP.net directory, published by ykitaza. Supported transport: stdio. Runtime: node. Source code is hosted on github.com. Related topics: mcp, number-comparison, server.
Setup
{
"mcpServers": {
"mcp-server-example-ykitaza": {
"command": "bun",
"args": [
"build"
]
}
}
}
{
"mcpServers": {
"mcp-server-example-ykitaza": {
"command": "bun",
"args": [
"build"
]
}
}
}
{
"servers": {
"mcp-server-example-ykitaza": {
"command": "bun",
"args": [
"build"
]
}
}
}
MCP サーバーサンプル config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"mcp-server-example-ykitaza": {
"command": "bun",
"args": [
"build"
]
}
}
}
MCP サーバーサンプル tools
Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is MCP サーバーサンプル?
MCP サーバーサンプル is a sample implementation of a Model Context Protocol (MCP) server that provides a number comparison tool. It is designed for developers and users of MCP‑compatible clients (such as Claude Desktop App, Cline, or Cursor) who need a reference for building or using MCP servers.
How to use MCP サーバーサンプル?
Install dependencies with bun install, build the project with bun build, then configure your MCP client to point to the server using an absolute path to src/index.ts. Once configured, invoke the compare-numbers tool via the client to compare two numbers.
Key features of MCP サーバーサンプル
- Provides a
compare-numberstool that returns the larger of two numbers. - Runs on the Bun runtime (v1.0.0+).
- Fully compatible with MCP clients like Claude Desktop, Cline, and Cursor.
- Configuration uses absolute paths and supports auto‑approve settings.
- Easily extensible: custom tools can be added by creating new files and registering them.
- Serves as a reusable sample for developers building their own MCP servers.
Use cases of MCP サーバーサンプル
- Learning how to implement a basic MCP server step by step.
- Verifying AI‑generated calculations by comparing numbers with a reliable tool.
- Prototyping new MCP tools by extending the sample server with custom logic.
- Testing MCP client configurations and auto‑approve workflows.
Frequently asked questions
1 What runtime does MCP サーバーサンプル require?
The server requires Bun runtime version 1.0.0 or higher.
2 Which clients can connect to MCP サーバーサンプル?
It works with any MCP‑compatible client, including Claude Desktop App, Cline, and Cursor.
3 How do I add a custom tool to MCP サーバーサンプル?
Create a new tool implementation file in server/src/tools/, then register it in server/src/index.ts using the server.tool() method with Zod parameters and a handler function.
4 How do I configure the server for my MCP client?
Edit the client’s MCP configuration to include a server entry with command set to "bun", args set to ["run", "/absolute/path/to/server/src/index.ts"], and optional settings like disabled and autoApprove.
5 Where does the server store data or logs?
The README does not mention any persistent data storage or logging; the server appears stateless with no external database.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In