Express MCP Server

by jhgaylor

1 313 downloads Not rated yet

About

An MCP server providing tools to extract text from things

Explore

- 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:

curl -X POST http://localhost:3001/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
  }'

A stateless Model Context Protocol (MCP) server built with Express and TypeScript.

Features

- 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

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.