influx-inc/sample-mcp-server
If you are the rightful owner of sample-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 dayong@mcphub.com.
A Model Context Protocol (MCP) server built with Node.js, Express, and TypeScript.
MCP Node Server
A Model Context Protocol (MCP) server built with Node.js, Express, and TypeScript.
Prerequisites
- Node.js (v18 or higher)
- npm (comes with Node.js)
Installation
- Install dependencies:
npm install
Running the Server
Start the server:
npx -y tsx main.ts
The server will start on http://localhost:3000/mcp by default.
PORT=8080 npx tsx main.ts
API Endpoint
- POST
/mcp- MCP server endpoint
Connect to Intercom
Easiest way to connect to Intercom locally is to use ngrok to tunnel the MCP server to the internet.
-
Go to https://app.intercom.com/a/apps/${app_id}$/settings/app-settings/custom-actions
-
Click on "Custom MCP"
-
Enter the MCP server URL:
https://<ngrok-url>/mcp -
Click on "Add MCP Server"
-
Once the Custom MCP is added, go to the Data Connector and click "New". It will show you a list of tools that can be integrated with Intercom.