oezguercelebi/MCP-Server-Simple-Example
If you are the rightful owner of MCP-Server-Simple-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 henry@mcphub.com.
A Model Context Protocol (MCP) server implemented with Node.js, Express, and TypeScript.
The MCP Express Server is a robust implementation of the Model Context Protocol using Node.js, Express, and TypeScript. It is designed to facilitate the development and testing of MCP tools, resources, and prompts. The server supports both command-line usage through StdioServerTransport and an Express HTTP server for testing and debugging purposes. This dual functionality allows developers to seamlessly integrate MCP capabilities into their applications while also providing a platform for testing and development. The server includes built-in tools such as an echo function and a current time retriever, as well as resources and prompt templates to aid in the development process. The server is easily configurable and can be added to the Cursor environment for enhanced usability.
Features
- Implements MCP tools, resources, and prompts
- Supports StdioServerTransport for command-line usage
- Express HTTP server for testing and debugging
- Includes built-in tools like echo and getCurrentTime
- Easily configurable for integration with Cursor
Usages
usage with Cursor
{ "mcpServers": { "Express MCP Server": { "command": "node", "args": ["path/to/dist/index.js"], "transport": "stdio" } } }
Tools
echo
Echoes back a message
getCurrentTime
Returns the current time in ISO format