Provides build and run capabilities for both server and client components through npm scripts, allowing users to compile and execute the MCP server and client applications.
Manages persistent connections with session IDs, supporting session termination and reconnection capabilities for maintaining state between client and server.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Streamable HTTP MCP Servergreet my team with a multi-greet"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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 programExecute 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