MCP.so
ログイン

MCP Server Example

@czy88840616

基本情報

カテゴリ

その他

トランスポート

stdio

作者

czy88840616

MCP Server Example について

概要はまだありません

MCP Server Example の設定

標準の設定はありません

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

リポジトリ

MCP Server Example のツール

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

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

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

概要

What is MCP Server Example?

MCP Server Example is a basic implementation of a Model Context Protocol server using the official MCP SDK. It demonstrates a simple "hello world" tool with an optional name parameter, communicating via stdio transport.

How to use MCP Server Example?

Clone the repository, install dependencies with npm install, then start the server with npm start. The server listens for incoming MCP connections via stdio.

Key features of MCP Server Example

  • Built with the official @modelcontextprotocol/sdk
  • Provides a "hello world" tool with optional name parameter
  • Uses stdio for transport between client and server
  • Implements type-safe tool definitions using Zod schema validation

Use cases of MCP Server Example

  • Learning how to build an MCP server from scratch
  • Testing MCP client implementations with a minimal server
  • Prototyping MCP-based tool interactions

よくある質問

1

What does MCP Server Example do?

It is a minimal MCP server that exposes a single "hello world" tool. The tool can accept an optional name parameter and returns a greeting. It uses the official MCP SDK and communicates over stdio.

2

What are the prerequisites to run MCP Server Example?

You need Node.js version 14 or higher and npm or yarn.

3

How do I start MCP Server Example?

Run `npm start` in the project directory after installing dependencies with `npm install`.

4

What transport does MCP Server Example use?

It uses stdio transport for communication between the MCP host and the server.

5

What dependencies does MCP Server Example require?

It depends on `@modelcontextprotocol/sdk` and `zod`. All dependencies are listed in `package.json`.

コメント

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