MCP.so
ログイン

Example MCP SSE Server

@yunusemredilber

Example MCP SSE Server について

概要はまだありません

基本情報

カテゴリ

開発者ツール

ランタイム

node

トランスポート

stdio

公開者

yunusemredilber

設定

標準の設定はありません

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

リポジトリ

ツール

ツールは検出されませんでした

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

概要

What is Example MCP SSE Server?

Example MCP SSE Server is a Node.js implementation of the Model Context Protocol (MCP) that uses Server-Sent Events (SSE) for real-time communication. It provides a standardized way for applications to manage and communicate with models and resources.

How to use Example MCP SSE Server?

Clone the repository, run yarn install, then start the server with yarn dev (development, includes MCP inspector) or yarn start (production). The SSE endpoint is at /sse and the message endpoint at /messages. Change the default port (3001) by setting the PORT environment variable.

Key features of Example MCP SSE Server

  • Implements the Model Context Protocol (MCP)
  • Uses Server-Sent Events (SSE) for real-time communication
  • Provides resource templating and management
  • Simple development and production startup scripts

Use cases of Example MCP SSE Server

  • Real‑time model interaction in web applications
  • Standardized resource management across multiple clients
  • Prototyping and debugging MCP integrations using the built‑in inspector

FAQ from Example MCP SSE Server

What are the runtime requirements?

Node.js v14 or higher and Yarn package manager are required.

What endpoints does the server expose?

/sse for establishing persistent SSE connections and /messages for sending messages to the MCP server.

How can I change the default port?

Set the PORT environment variable before starting the server, for example PORT=5000 yarn start.

What are the main dependencies?

The server uses the @modelcontextprotocol/sdk for MCP and Express as the web framework.

Can I run the server in production mode?

Yes, run yarn start to start the server in production mode without the MCP inspector.

コメント

「開発者ツール」の他のコンテンツ