HTTP Server with MCP Support
About
An HTTP server built with Express and TypeScript that serves both a webpage and a Model Context Protocol (MCP) endpoint. It provides a stateless MCP implementation using modern Streamable HTTP transport.
Explore
- HTTP server with both web and MCP functionality
- Stateless MCP server implementation with modern Streamable HTTP transport
- TypeScript for type safety
- Express.js for HTTP handling
- Node.js 18+
- npm or yarn
npm install
``
Send a POST request to /mcp with a JSON-RPC payload:
The token was made with:
fly tokens create deploy --name gh-jakegaylor-com-mcp-server --expiry 2160h`
curl -X POST http://localhost:3000/mcp \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "Accept: text/event-stream" \
-d '{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "echo",
"arguments": {
"message": "Hello, World!"
}
},
"id": 1
}'
An HTTP server built with Express and TypeScript that serves both a webpage and a Model Context Protocol (MCP) endpoint.
Features
- HTTP server with both web and MCP functionality
- Stateless MCP server implementation with modern Streamable HTTP transport
- TypeScript for type safety
- Express.js for HTTP handling
Requirements
- Node.js 18+
- npm or yarn
Installation
```bash
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.



