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
-
Clone the repository
git clone https://github.com/transformsen/mcp-server.git
-
Navigate to the project directory
cd mcp-server
-
Install dependencies
npm install
-
Build the project
npm run build
π§ͺ Test with MCP Inspector
- Start the server with MCP Inspector:
npx @modelcontextprotocol/inspector node dist/index.js
- Open MCP Inspector:
- Go to: http://127.0.0.1:6274/
- Try it out:
- Click:
Connect
βTools
βList Tools
βAdd
- Enter two numbers and click
Run Tool
- Click:
π€ Use with VS Code GitHub Copilot
-
Install Extensions:
- GitHub Copilot
- GitHub Copilot Chat
- If you donβt have Copilot, try the Free Tier
-
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
-
Try it out:
- In Copilot Chat, enter:
Add 2 and 5
- Youβll see your tool run by GitHub Copilot!
- In Copilot Chat, enter:
Enjoy building with MCP and GitHub Copilot On VS Code! π