Overview
What is mcp-sse-server-demo?
mcp-sse-server-demo is an MCP server that runs on localhost:8083. It demonstrates a calculator tool using SSE (Server-Sent Events) transport.
How to use mcp-sse-server-demo?
Build with npm run build, then start the server on default port 8083 with npm start. For development, use npm run dev.
Key features of mcp-sse-server-demo
- Default port: localhost:8083.
- Built with TypeScript.
- Starts via
tsx dist/calculator.js. - Implements a calculator tool.
- Uses SSE transport.
Use cases of mcp-sse-server-demo
- Demonstrating an MCP server with SSE.
- Providing calculator functionality over MCP.
- Testing MCP client connections locally.
FAQ from mcp-sse-server-demo
What transport does the server use?
SSE (Server-Sent Events), as indicated by the server name.
What is the default port and host?
localhost:8083.
How do I build and run the server?
Run npm run build then npm start. For development, use npm run dev.
What does the server do?
It implements a calculator, based on the source file src/calculator.ts.