MCP サーバーサンプル
@ykitaza
About MCP サーバーサンプル
No overview available yet
Basic information
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"mcp-server-example-ykitaza": {
"command": "bun",
"args": [
"build"
]
}
}
}Tools
No tools detected
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.
FAQ from MCP サーバーサンプル
What runtime does MCP サーバーサンプル require?
The server requires Bun runtime version 1.0.0 or higher.
Which clients can connect to MCP サーバーサンプル?
It works with any MCP‑compatible client, including Claude Desktop App, Cline, and Cursor.
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.
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.
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.
More Other MCP servers
ACI: Open-Source Infra to Power Unified MCP Servers
aipotheosis-labsACI.dev is the open source tool-calling platform that hooks up 600+ tools into any agentic IDE or custom AI agent through direct function calling or a unified MCP server. The birthplace of VibeOps.
XcodeBuildMCP
cameroncookeA Model Context Protocol (MCP) server and CLI that provides tools for agent use when working on iOS and macOS projects.
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
MCP Registry
modelcontextprotocolA community driven registry service for Model Context Protocol (MCP) servers.
Comments