MCP.so
Sign In
Servers

Simple MCP Streamable HTTP Server

@hydroweaver

Simple MCP Streamable HTTP Server with Express based on Anthropic Example

Overview

What is Simple MCP Streamable HTTP Server?

It is an MCP (Model Context Protocol) server that implements the Streamable HTTP transport, built on Express. The server is designed to be exposed publicly via ngrok so that MCP tools can be accessed from remote clients such as the MCP inspector or Anthropic’s Claude. It is intended for developers who need a quick way to serve MCP tools over the internet.

How to use Simple MCP Streamable HTTP Server?

Clone or set up the project, then run npm i to install dependencies, npm run build to compile, and npm start to launch the server. The server listens on an Express endpoint at /mcp. To access it from outside your local network, expose the local port using ngrok. Then supply the public ngrok URL (with the /mcp path) to the MCP inspector configured with “Streamable HTTP” transport.

Key features of Simple MCP Streamable HTTP Server

  • Implements Streamable HTTP transport for MCP.
  • Runs on the Express web framework.
  • Can be exposed publicly via ngrok.
  • Simple setup with standard npm commands.
  • Integrates with the official MCP inspector for testing.

Use cases of Simple MCP Streamable HTTP Server

  • Exposing MCP tools to Anthropic’s Claude over the internet.
  • Testing MCP servers locally with a public tunnel (ngrok).
  • Running Playwright tool calls on a local machine from a remote client (planned).

FAQ from Simple MCP Streamable HTTP Server

How do I set up Simple MCP Streamable HTTP Server?

Run npm i, npm run build, and npm start in the project directory.

How do I expose the server to the internet?

Use ngrok to create a tunnel to the local port where the Express server is running. Then use the ngrok URL.

How do I test Simple MCP Streamable HTTP Server?

Open the MCP inspector, select “Streamable HTTP” transport, and enter the public URL followed by /mcp.

What tools does Simple MCP Streamable HTTP Server provide?

No tools are specified in the current README. A planned todo is to include Playwright (called via npx) for use by Anthropic.

What are the runtime requirements?

Node.js and npm are required. No other runtime dependencies are mentioned.

Tags

More from Other