Cover image
Try Now
2025-03-11

3 years

Works with Finder

1

Github Watches

1

Github Forks

3

Github Stars

Example MCP SSE Server

A Model Context Protocol (MCP) server implementation, enabling server-sent events (SSE) based communication.

Overview

Example MCP SSE Server provides a Model Context Protocol implementation that allows for real-time communication using Server-Sent Events (SSE). It's designed to work with applications and provides a standardized way of managing and communicating with models and resources.

Features

  • Model Context Protocol (MCP) implementation
  • Server-Sent Events (SSE) for real-time communication
  • Resource templating and management

Prerequisites

  • Node.js (v14 or higher recommended)
  • Yarn package manager (can be changed easily)

Installation

Clone the repository and install dependencies:

git clone git@github.com:yunusemredilber/express-mcp-sse-server.git
cd express-mcp-sse-server
yarn install

Usage

Starting the Server

To start the server in development mode:

yarn dev

This will run the server with the MCP inspector for debugging.

dev-ss

To start the server in production mode:

yarn start

By default, the server runs on port 3001. You can override this by setting the PORT environment variable:

PORT=5000 yarn start

Endpoints

  • /sse - SSE endpoint for establishing persistent connections
  • /messages - Endpoint for sending messages to the MCP server

Project Structure

  • src/index.ts - Main entry point of the application
  • src/mcp-server.ts - Implementation of the MCP server and resource definitions
  • src/sse-server.ts - SSE server implementation using Express

Dependencies

相关推荐

  • NiKole Maxwell
  • I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Khalid kalib
  • Write professional emails

  • ANGEL LEON
  • A world class elite tech co-founder entrepreneur, expert in software development, entrepreneurship, marketing, coaching style leadership and aligned with ambition for excellence, global market penetration and worldy perspectives.

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • INFOLAB OPERATIONS 2
  • A medical specialist offering assistance grounded in clinical guidelines. Disclaimer: This is intended for research and is NOT safe for clinical use!

  • Yasir Eryilmaz
  • AI scriptwriting assistant for short, engaging video content.

  • apappascs
  • Découvrez la collection la plus complète et la plus à jour de serveurs MCP sur le marché. Ce référentiel sert de centre centralisé, offrant un vaste catalogue de serveurs MCP open-source et propriétaires, avec des fonctionnalités, des liens de documentation et des contributeurs.

  • ShrimpingIt
  • Manipulation basée sur Micropython I2C de l'exposition GPIO de la série MCP, dérivée d'Adafruit_MCP230XX

  • OffchainLabs
  • Aller la mise en œuvre de la preuve de la participation Ethereum

  • huahuayu
  • Une passerelle API unifiée pour intégrer plusieurs API d'explorateur de blockchain de type étherscan avec la prise en charge du protocole de contexte modèle (MCP) pour les assistants d'IA.

  • deemkeen
  • Contrôlez votre MBOT2 avec un combo d'alimentation: MQTT + MCP + LLM

  • zhaoyunxing92
  • 本项目是一个钉钉 MCP (Protocole de connecteur de message) 服务 , 提供了与钉钉企业应用交互的 API 接口。项目基于 Go 语言开发 , 支持员工信息查询和消息发送等功能。

  • pontusab
  • La communauté du curseur et de la planche à voile, recherchez des règles et des MCP

    Reviews

    3 (1)
    Avatar
    user_wKTZuEQp
    2025-04-16

    Express-mcp-sse-server by yunusemredilber is a fantastic tool for building SSE (Server-Sent Events) servers using Express. The ease of integration and the clear documentation provided makes it a go-to choice for real-time applications. Check out the repository at https://github.com/yunusemredilber/express-mcp-sse-server and start building your next project with confidence!