mcp-server

transformsen/mcp-server

3.1

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

A simple Model Context Protocol (MCP) server built with TypeScript, designed for testing with MCP Inspector or integration with GitHub Copilot in VS Code.

πŸš€ MCP Server (TypeScript)

A simple Model Context Protocol (MCP) server built with TypeScript. You can test this server using the MCP Inspector or integrate it with GitHub Copilot in VS Code.


Quick Start

  1. Clone the repository

    git clone https://github.com/transformsen/mcp-server.git
    
  2. Navigate to the project directory

    cd mcp-server
    
  3. Install dependencies

    npm install
    
  4. Build the project

    npm run build
    

πŸ§ͺ Test with MCP Inspector

  1. Start the server with MCP Inspector:
    npx @modelcontextprotocol/inspector node dist/index.js
    
  2. Open MCP Inspector:
  3. Try it out:
    • Click: Connect β†’ Tools β†’ List Tools β†’ Add
    • Enter two numbers and click Run Tool

πŸ€– Use with VS Code GitHub Copilot

  1. Install Extensions:

  2. Connect MCP Server in Copilot:

    • Switch to Agent Mode
    • Go to Tools
    • Click + Add More Tools
    • Select + Add MCP Server
    • Enter: node <your_full_path_to>/dist/index.js
    • Your tool status will appear in the output panel
  3. Try it out:

    • In Copilot Chat, enter: Add 2 and 5
    • You’ll see your tool run by GitHub Copilot!

Enjoy building with MCP and GitHub Copilot On VS Code! πŸš€