MCP服务器与UI浏览工具

包含MCP服务器和UI浏览器的项目,用于浏览和搜索公共注册表中的MCP服务器。

  • by Fredibau
  • EJS
  • 本地部署
  • 更新于
在 GitHub 查看 Fredibau/mcp-subregistry

使用说明

MCP Subregistry

This project contains two components related to the Model Context Protocol (MCP): an MCP server and a UI server for browsing MCP servers.

Components

mcp-server

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.

ui-server

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.

Getting Started

Prerequisites

  • Node.js

Installation & Running

For each component (mcp-server and ui-server):

  1. Navigate to the component's directory:

    cd <component-directory>
    
  2. Install dependencies:

    npm install
    
  3. For mcp-server: Build the server:

    npm run build
    

    Run the server:

    node build/index.js
    
  4. For ui-server: Start the server:

    node server.js
    

    The UI will be available at http://localhost:3000.