Skip to main content
Glama

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

-
security - not tested
F
license - not found
-
quality - not tested

A simple MCP server implementation that demonstrates streaming capabilities with tools for greetings and notifications, accessible through an interactive command-line client.

  1. You will find the below output in Terminal -
    1. Execute the below command in the terminal -
      1. You will find the below output in Terminal -

        Related MCP Servers

        • A
          security
          A
          license
          A
          quality
          A simple MCP server that can send notifications on mac devices.
          Last updated -
          5
          9
          8
          TypeScript
          MIT License
          • Apple
        • -
          security
          F
          license
          -
          quality
          A simple MCP server that allows accessing and executing shell commands on a VM machine through a web-based terminal interface, with automatic tunneling to make the VM accessible from anywhere.
          Last updated -
          39
          2
          JavaScript
        • -
          security
          F
          license
          -
          quality
          A simple MCP server implementing a note storage system with one tool to add notes and one prompt to summarize stored notes.
          Last updated -
          1
          Python
          • Apple
        • A
          security
          F
          license
          A
          quality
          A simple note-taking MCP server that stores notes and can generate summaries of stored content.
          Last updated -
          4
          Python
          • Apple

        View all related MCP servers

        MCP directory API

        We provide all the information about MCP servers via our MCP API.

        curl -X GET 'https://glama.ai/api/mcp/v1/servers/rmavuluri/streamable-http-mcp'

        If you have feedback or need assistance with the MCP directory API, please join our Discord server