About MCP Server - HTTP with SSE
A TypeScript MCP server example that launches an HTTP server with an SSE endpoint for updates and a separate endpoint for client messages. It is intended for developers exploring remote MCP communication.
Key features
- 01HTTP web server
- 02SSE endpoint for updates
- 03Separate client-message endpoint
- 04Inspector-based debugging
Use cases
- 01Trying remote MCP communication
- 02Sending server updates to clients
MCP support
Exposes an HTTP-based MCP server with an SSE endpoint for server updates and a separate endpoint for messages from clients.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project README
©collabnix.com
MCP Server - HTTP with SSE
Introduction
Get started with the Model Context Protocol (MCP) Click here
Clone, Build and Run!!
Step 1: Clone the repo
Step 2: npm install
Step 3: npm run build
Step 4: Run the MCP Server
npm start
Step 4: Run the inspector for debuging
npx @modelcontextprotocol/inspector node build/index.js
Step 5: In Inspector click the "Connect" button. That's it!!
Dependencies
npm install express
npm install typescript
npm install @types/node
npm install @types/express
npm install nodemon
npm install ts-node
npm install pre-commit
npm install rimraf
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.