Get the FREE Ultimate OpenClaw Setup Guide →

mcp-agents-hub

The open-source ecosystem for building, discovering, and deploying Model Context Protocol servers and clients.

Installation
Run this command in your terminal to add the MCP server to Claude Code.
Run in terminal:
Command
claude mcp add --transport stdio mcp-agents-ai-mcp-agents-hub node server.js \
  --env PORT="Port to run the MCP Agents Hub server" \
  --env NODE_ENV="development|production" \
  --env DATABASE_URL="Optional: database connection string if used"

How to use

MCP Agents Hub is a centralized open-source marketplace and registry for MCP servers and clients. It provides a framework to discover, publish, and deploy MCP-compatible servers (connectors to data sources and tools) and clients (AI-powered applications) within an enterprise. The hub emphasizes enterprise-ready deployment, discovery of pre-built MCP servers (e.g., for Google Drive, GitHub, databases, and custom APIs), and collaboration across teams by sharing MCP resources. With the Hub, organizations can catalog their MCP resources, learn best practices for building connectors, and deploy the entire marketplace on-premise for governance and security. The included ecosystem content and templates help developers build standardized MCP servers and clients quickly, while the tool discovery feature simplifies finding adapters that match your data sources and workflows. You can use the Hub to set up server templates, contribute new servers, and browse client integrations to extend AI assistants and IDE extensions with contextual data from your enterprise.

To use it, start the development server locally or deploy the Hub in your environment. From the Hub’s interface, browse published servers, private servers, published clients, and private clients, then configure or deploy the ones you need. For developers, the Hub offers templates and best practices for building MCP servers and a directory of enterprise-ready connectors that can be customized to your data sources and internal APIs.

How to install

Prerequisites

  • Node.js and npm (or use Node Version Manager, nvm)
  • Git
  • Optional: Docker for containerized deployment

Step-by-step installation

  1. Clone the repository git clone https://github.com/mcp-agents-ai/mcp-agents-hub.git cd mcp-agents-hub

  2. Install Node.js version specified for the project (if using nvm)

    • Install nvm if not installed: https://github.com/nvm-sh/nvm
    • Use the project’s Node.js version (as specified by .nvmrc if present) nvm use

      If the version isn’t installed, install it

      nvm install
  3. Install dependencies npm install

  4. Start the development server npm run dev

  5. Optional: build for production npm run build npm run preview

Notes

  • The project prefers a Node.js-based setup and includes a development script to run the hub locally.
  • If you plan to deploy in production, consider containerizing with Docker and following your organization’s security guidelines.

Additional notes

Tips and common considerations:

  • Ensure your Node.js version matches the project’s .nvmrc to avoid compatibility issues.
  • If running on a different port, set the PORT environment variable before starting the server.
  • When developing MCP servers and clients, leverage the Hub’s templates to adhere to protocol standards and interoperability guidelines.
  • For long-running data processing tasks mentioned in the repository, you can run scripts in the background using nohup and monitor logs as described in the README.
  • If you expose private servers or clients, configure appropriate authentication and access controls to maintain enterprise security.
  • The Hub is designed to be deployed on-premise for governance and security; plan your deployment topology (single node vs. multi-node, with a database) accordingly.

Related MCP Servers

Sponsor this space

Reach thousands of developers