Simple MCP Streamable HTTP Server
LocalAbout Simple MCP Streamable HTTP Server
Simple MCP Streamable HTTP Server is a minimal Express-based example for exposing an MCP endpoint over Streamable HTTP. It is aimed at developers who want to build and inspect a basic server using the TypeScript SDK pattern.
Key features
- 01Express-based HTTP server
- 02Streamable HTTP MCP endpoint
- 03ngrok exposure workflow
- 04Build and start scripts
Use cases
- 01Testing an MCP endpoint with MCP Inspector
- 02Exposing a local server through ngrok
MCP support
It exposes an MCP endpoint over Streamable HTTP, intended for use with MCP Inspector at the server URL followed by /mcp.
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- From https://github.com/modelcontextprotocol/typescript-sdk?tab=readme-ov-file#streamable-http
- Run on express and expose via ngrok
- Just use the exposed URL with /mcp on the MCP inspector with Streamable HTTP
- npm i
- npm run build
- npm start
- todo
- playwright npx on local to be called by anthropic
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.