MCP.so
ログイン

Hello World MCP Server

@MCP-Mirror

基本情報

カテゴリ

その他

ライセンス

MIT license

トランスポート

stdio

作者

MCP-Mirror

Hello World MCP Server について

Mirror of

Hello World MCP Server の設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "jageenshukla_hello-world-mcp-server": {
      "command": "npx",
      "args": [
        "@modelcontextprotocol/inspector",
        "./dist/server.js"
      ]
    }
  }
}

Hello World MCP Server のツール

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

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

上のボタンで一時的なサンドボックスでこのサーバーを実行し、ツール一覧を取得できます。

概要

What is Hello World MCP Server?

It is a demonstration MCP (Model Context Protocol) server built with TypeScript using the MCP SDK and Express. It shows how to integrate MCP tools, prompts, and server-sent events (SSE) endpoints. Designed for developers learning to build MCP servers for existing services.

How to use Hello World MCP Server?

Clone the repository, install dependencies (npm install), configure the .env file (default port 4000), build the project (npm run build), and start the server (npm start). For testing, use the MCP Inspector: npx @modelcontextprotocol/inspector ./dist/server.js. Development mode with live reloading is available via npm run dev.

Key features of Hello World MCP Server

  • MCP SDK integration with tools and prompts
  • Express framework for SSE and message communication
  • Environment configuration via .env files
  • Fully typed TypeScript codebase

Use cases of Hello World MCP Server

  • Learning how to build an MCP server from scratch
  • Creating a bridge between existing services and AI agents
  • Prototyping MCP-based applications for proof-of-concepts
  • Integrating with local LLM chatbots using external tools

よくある質問

1

What are the runtime requirements for Hello World MCP Server?

Node.js v16 or higher and npm or yarn are required.

2

How can I test the tools and prompts of Hello World MCP Server?

Use the MCP Inspector by running `npx @modelcontextprotocol/inspector ./dist/server.js`.

3

How do I change the default port?

Edit the `PORT` variable in the `.env` file (default is 4000).

4

What should I do if the port is already in use?

Update the `PORT` variable in the `.env` file to an available port.

5

Does Hello World MCP Server support live reloading during development?

Yes, use `npm run dev` to start the server with live reloading and detailed logs.

コメント

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