jeebx/mcp-server-example
3.1
If you are the rightful owner of mcp-server-example and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to dayong@mcphub.com.
This document provides a structured overview of a basic Model Context Protocol (MCP) server built with Express.
Express MCP Server
A basic Model Context Protocol (MCP) server built with Express.
Setup
pnpm install
Run
pnpm start
Or with auto-reload during development:
pnpm run dev
Architecture
- MCP Server: Communicates via stdio for Claude Desktop/Cursor integration
- Express Server: HTTP endpoints (optional, for health checks or other HTTP needs)
Adding Tools
Tools can be added in the ListToolsRequestSchema handler (define tools) and CallToolRequestSchema handler (implement tool logic).
Testing
pnpm test