MCP Express Server

by oezguercelebi

277 downloads
Not rated
GitHub

Description

# MCP Express Server A Model Context Protocol (MCP) server implemented with Node.js, Express, and TypeScript. ## Features - Implements MCP tools, resources, and prompts - Supports both StdioServerTransport for command-line usage - Express HTTP server for testing and debugging ##…

About

# MCP Express Server A Model Context Protocol (MCP) server implemented with Node.js, Express, and TypeScript. ## Features - Implements MCP tools, resources, and prompts - Supports both StdioServerTransport for command-line usage - Express HTTP server for testing and debugging ## Available MCP Capabilities ### Tools -…

Details

Author
oezguercelebi
Downloads
277
Categories
Developer Tools

- Implements MCP tools, resources, and prompts
- Supports StdioServerTransport for MCP clients
- Includes an Express HTTP server for testing
- Provides built-in tools: echo and getCurrentTime
- Offers a sample resource (example://resource) and greeting prompt
- Written in TypeScript for type safety

Install dependencies with npm install, build the TypeScript code with npm run build, then run with npm start for StdioServerTransport or npm run dev for the Express server. To integrate with Cursor, add the server configuration to ~/.cursor/mcp.json specifying the command and path to the built index.js.

MCP Express Server

A Model Context Protocol (MCP) server implemented with Node.js, Express, and TypeScript.

Features

- Implements MCP tools, resources, and prompts
- Supports both StdioServerTransport for command-line usage
- Express HTTP server for testing and debugging

Available MCP Capabilities

Tools

- echo - Echoes back a message - getCurrentTime - Returns the current time in ISO format

Resources

- example://resource - A simple example resource

Prompts

- greeting - A simple greeting prompt template

Setup

```bash

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.