This project contains two components related to the Model Context Protocol (MCP): an MCP server and a UI server for browsing MCP servers.
This is a sample MCP server built with the @modelcontextprotocol/sdk. It registers a single tool, search_mcp_servers, which allows searching for MCP servers on the public registry (registry.modelcontextprotocol.io). The server communicates over stdio.
This is a web server built with Express.js. It provides a user interface to browse, search, and view details of MCP servers listed on the public registry.
- Node.js
For each component (mcp-server and ui-server):
-
Navigate to the component's directory:
cd <component-directory>
-
Install dependencies:
npm install
-
For
mcp-server: Build the server:npm run build
Run the server:
node build/index.js
-
For
ui-server: Start the server:node server.js
The UI will be available at
http://localhost:3000.