mcp-typescript-server

mmorhaf/mcp-typescript-server

3.1

If you are the rightful owner of mcp-typescript-server 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.

This document provides a structured summary of the MCP TypeScript Server, highlighting its features, tools, resources, and usage instructions.

Tools
2
Resources
0
Prompts
0

MCP TypeScript Server

A Model Context Protocol (MCP) server built with TypeScript that demonstrates basic MCP functionality.

Features

  • Tools: Echo messages and perform calculations
  • Resources: Dynamic greeting generator
  • Prompts: Help prompt for server usage

Setup

  1. Install dependencies:

    npm install
    
  2. Run the server:

    npm start
    
  3. For development with auto-reload:

    npm run dev
    
  4. Build the project:

    npm run build
    

Testing

You can test this MCP server using the MCP Inspector:

npx @modelcontextprotocol/inspector npm run start

VS Code Integration

This project includes an .vscode/mcp.json configuration file that allows you to debug this MCP server in VS Code when the MCP extension is installed.

Server Capabilities

Tools

  • echo: Echoes back any message you send
  • add: Adds two numbers together

Resources

  • greeting://{name}: Generates a personalized greeting

Prompts

  • help: Provides information about using this server

License

ISC