Skip to main content
Glama
rmavuluri

Streamable HTTP MCP Server

by rmavuluri

Simple Streamable HTTP Server

Step1 - npm run build-server Step2 - npm run build-client Step3 - node build/server/simpleStreamableHttp.js Step4 - node build/client/simpleStreamableHttp.js

You will find the below output in Terminal -

MCP Interactive Client
=====================
Connecting to http://localhost:3000/mcp...
Transport created with session ID: 7ac20927-0aef-48fd-ab7a-a9f6d67cd058
Connected to MCP server

Available commands:
  connect [url]              - Connect to MCP server (default: http://localhost:3000/mcp)
  disconnect                 - Disconnect from server
  terminate-session          - Terminate the current session
  reconnect                  - Reconnect to the server
  list-tools                 - List available tools
  call-tool <name> [args]    - Call a tool with optional JSON arguments
  greet [name]               - Call the greet tool
  multi-greet [name]         - Call the multi-greet tool with notifications
  start-notifications [interval] [count] - Start periodic notifications
  run-notifications-tool-with-resumability [interval] [count] - Run notification tool with resumability
  list-prompts               - List available prompts
  get-prompt [name] [args]   - Get a prompt with optional JSON arguments
  list-resources             - List available resources
  help                       - Show this help
  quit                       - Exit the program

Execute the below command in the terminal -

list-tools

You will find the below output in Terminal -

Available tools:

  • greet: A simple greeting tool

  • multi-greet: A tool that sends different greetings with delays between them

  • start-notification-stream: Starts sending periodic notifications for testing resumability

Same way test other tools as well.

Thanks, Ramesh Mavuluri

Maintenance

ActivityInactive
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers

  • -
    license
    C
    quality
    Not graded
    maintenance
    A simple boilerplate MCP server that provides a basic greeting tool for demonstration purposes. Serves as a starting template for developers to quickly create and deploy custom MCP servers.
    1
    6
    -
  • F
    license
    Not graded
    quality
    D
    maintenance
    A simple demonstration MCP server that provides an echo tool and resource for learning how to build MCP servers. Serves as a starting point and template for creating custom MCP server implementations.
    1
    -
  • F
    license
    Not graded
    quality
    D
    maintenance
    A demonstration MCP server that runs over HTTP with streamable transport, providing a simple greeting tool for testing MCP client-server communication. Built with FastMCP framework for educational purposes in learning MCP server development.
    -
  • F
    license
    Not graded
    quality
    C
    maintenance
    MCP server providing greeting and echo tools for testing and demonstration.
    -